Function at 0x4eccc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
mov esi, dword [esp + 0x54]
push edi
mov eax, dword [esi + 0x160]
mov dword [esp + 0x28], eax
cmp ebp, dword [esi + 0x90]
jne 0x4eccf3
lea ecx, [esi + 0x120]
lea ebx, [esi + 0x11c]
mov dword [esp + 0x20], ecx
jmp 0x4ecd00
mov ebx, dword [esi + 0x128]
lea eax, [ebx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], ebx
mov dword [ebx], eax
nop word [eax + eax]
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [ebp + 4]
push ebp
call eax
mov edi, eax
add esp, 0x10
mov eax, dword [esp + 0x64]
cmp edi, 0xfffffffb
je 0x4ecd41
cmp edi, 0xfffffffd
je 0x4ecd41
mov ecx, dword [esp + 0x14]
jmp 0x4ecd4d
cmp byte [esp + 0x70], 0
mov ecx, dword [esp + 0x68]
cmovne ecx, eax
push dword [esp + 0x74]
push 0xac0
push ecx
push eax
push edi
push esi
call fcn.004ebca0
add esp, 0x18
test al, al
je 0x4ed942
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov dword [edx], eax
lea eax, [edi + 5]
cmp eax, 0x12
ja case.default.0x4ecd7c
jmp dword [eax*4 + 0x4ed960]
mov eax, dword [esp + 0x14]
sub eax, dword [ebp + 0x40]
push eax
mov eax, dword [esp + 0x68]
add eax, dword [ebp + 0x40]
push eax
mov eax, dword [ebp + 0x2c]
push ebp
call eax
add esp, 0xc
mov byte [esp + 0x60], al
test al, al
je 0x4ecdfb
push 1
push 0xb02
lea eax, [esp + 0x69]
push eax
lea eax, [esp + 0x6c]
push eax
push edi
push esi
call fcn.004ebca0
mov eax, dword [esi + 0x3c]
add esp, 0x18
test eax, eax
je case.default.0x4ecd7c
push 1
lea ecx, [esp + 0x64]
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4ece98
cmp dword [esi + 0x50], 0
je 0x4ece98
push dword [esp + 0x14]
push dword [esp + 0x68]
push ebp
push esi
call fcn.004f2230
add esp, 0x10
jmp 0x4ece98
mov edx, dword [esp + 0x14]
sub edx, dword [ebp + 0x40]
mov eax, dword [esp + 0x64]
add eax, dword [ebp + 0x40]
mov edi, dword [esp + 0x28]
push edx
push eax
add edi, 0x50
push ebp
push edi
call fcn.004f1550
add esp, 0x10
test eax, eax
je 0x4ed6ef
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jne 0x4ece3d
push edi
call fcn.004f1ae0
add esp, 4
test al, al
je 0x4ed6ef
mov eax, dword [edi + 0xc]
mov byte [eax], 0
inc dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x4ed6ef
push 0
push ebx
push dword [esp + 0x30]
push esi
call fcn.004f0a40
mov edi, eax
add esp, 0x10
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x81], 0
mov ecx, dword [eax + 0x60]
mov dword [eax + 0x5c], ecx
je 0x4ecee8
cmp byte [eax + 0x82], 0
jne 0x4ecee8
test edi, edi
jne 0x4ecefa
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4ecece
push edi
push ebx
push dword [esi + 4]
call eax
add esp, 0xc
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov dword [ebx], eax
mov eax, dword [esi + 0x1dc]
sub eax, 2
je 0x4ed935
sub eax, 1
jne 0x4ecd10
mov eax, dword [esp + 0x14]
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
cmp dword [esi + 0x50], 0
je 0x4ece94
push dword [esp + 0x14]
push dword [esp + 0x68]
push ebp
push esi
call fcn.004f2230
add esp, 0x10
jmp 0x4ece94
test edi, edi
je 0x4ed6d9
cmp byte [edi + 0x22], 0
je 0x4ed6cc
cmp byte [edi + 0x20], 0
jne 0x4ed6bf
cmp dword [edi + 0x1c], 0
jne 0x4ed6b2
cmp dword [edi + 4], 0
je 0x4ecf46
cmp byte [esi + 0x130], 0
jne 0x4ecf2d
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4ecece
push 0
push dword [edi]
jmp 0x4ece8c
push 0
push edi
push esi
call fcn.004f1ca0
add esp, 0xc
test eax, eax
jne 0x4ed955
jmp 0x4ece94
cmp dword [esi + 0x70], 0
je 0x4ecece
push esi
mov byte [edi + 0x20], 1
call fcn.004f0200
add esp, 4
mov byte [edi + 0x20], 0
test eax, eax
je 0x4ed6ef
push dword [edi + 0x18]
push dword [edi + 0x10]
push dword [edi + 0x14]
push eax
push dword [esi + 0x74]
mov eax, dword [esi + 0x70]
call eax
add esp, 0x14
test eax, eax
je 0x4ed6a5
mov eax, dword [esi + 0x1ac]
mov dword [esi + 0x1a8], eax
jmp 0x4ece94
mov ebx, dword [esi + 0x16c]
test ebx, ebx
je 0x4ecfa7
mov eax, dword [ebx]
mov dword [esi + 0x16c], eax
jmp 0x4ecfd6
mov eax, dword [esi + 0xc]
push 0x30
call eax
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4ed6ef
mov ecx, dword [esi + 0xc]
push 0x20
call ecx
add esp, 4
mov dword [ebx + 0x24], eax
test eax, eax
je 0x4ed6e6
add eax, 0x20
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0
lea eax, [ebx + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x168]
mov dword [ebx], eax
mov dword [esi + 0x168], ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [esp + 0x64]
add eax, dword [ebp + 0x40]
push eax
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x1c]
push ebp
call eax
mov dword [ebx + 8], eax
inc dword [esi + 0x134]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
add ecx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x28]
dec eax
mov dword [esp + 0x34], ecx
push eax
lea eax, [esp + 0x28]
push eax
push ecx
lea eax, [esp + 0x38]
push eax
mov eax, dword [ebp + 0x38]
push ebp
call eax
mov edi, dword [esp + 0x38]
mov edx, eax
mov ecx, dword [ebx + 0x24]
add esp, 0x1c
mov eax, dword [esp + 0x2c]
sub edi, ecx
mov dword [esp + 0x30], edi
cmp dword [esp + 0x24], eax
jae 0x4ed0cf
mov eax, ecx
cmp edx, 1
je 0x4ed0cf
mov edi, dword [ebx + 0x28]
sub edi, eax
add edi, edi
push edi
push eax
mov eax, dword [esi + 0x10]
call eax
add esp, 8
test eax, eax
je 0x4ed6ef
mov dword [ebx + 0x24], eax
lea ecx, [eax + edi]
add eax, dword [esp + 0x30]
mov dword [ebx + 0x28], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x28]
dec eax
push eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebp + 0x38]
push ebp
call eax
mov ecx, dword [ebx + 0x24]
add esp, 0x14
mov edi, dword [esp + 0x1c]
mov edx, eax
mov esi, dword [esp + 0x2c]
sub edi, ecx
cmp dword [esp + 0x24], esi
mov eax, ecx
mov esi, dword [esp + 0x58]
mov dword [esp + 0x30], edi
jb 0x4ed065
push dword [esp + 0x74]
mov dword [ebx + 0x18], edi
add ebx, 0xc
push dword [esp + 0x38]
push ebx
mov dword [ebx], ecx
mov eax, dword [esp + 0x28]
mov byte [eax], 0
push dword [esp + 0x70]
push ebp
push esi
call fcn.004f2be0
add esp, 0x18
test eax, eax
jne 0x4ed955
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4ed116
push dword [esi + 0x184]
push dword [ebx]
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4ed12e
cmp dword [esi + 0x50], 0
je 0x4ed12e
push dword [esp + 0x14]
push dword [esp + 0x68]
push ebp
push esi
call fcn.004f2230
add esp, 0x10
cmp dword [esi + 0x1a0], 0
mov edx, dword [esi + 0x19c]
jne 0x4ed145
mov dword [esi + 0x1a0], edx
jmp 0x4ed166
test edx, edx
je 0x4ed166
nop dword [eax]
mov ecx, dword [edx]
mov eax, dword [esi + 0x1a0]
mov dword [edx], eax
mov dword [esi + 0x1a0], edx
mov edx, ecx
test ecx, ecx
jne 0x4ed150
mov dword [esi + 0x19c], 0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1a4], 0
jmp 0x4ece94
mov edi, dword [ebp + 0x40]
add edi, dword [esp + 0x64]
mov eax, dword [ebp + 0x1c]
push edi
push ebp
mov dword [esp + 0x34], 0
mov byte [esp + 0x1b], 1
call eax
add eax, edi
lea ebx, [esi + 0x19c]
push eax
push edi
push ebp
push ebx
call fcn.004f1550
add esp, 0x18
test eax, eax
je 0x4ed6ef
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x4ed1e3
push ebx
call fcn.004f1ae0
add esp, 4
test al, al
je 0x4ed6ef
mov eax, dword [ebx + 0xc]
mov byte [eax], 0
mov eax, dword [ebx + 0x10]
inc dword [ebx + 0xc]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4ed6ef
mov eax, dword [esi + 0x1a8]
push 2
mov dword [esi + 0x1ac], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x70]
push ebp
push esi
call fcn.004f2be0
add esp, 0x18
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4ed71a
mov eax, dword [esi + 0x1a8]
mov edi, dword [esp + 0x3c]
mov dword [esi + 0x1ac], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4ed257
push dword [esi + 0x184]
push edi
push dword [esi + 4]
call eax
add esp, 0xc
xor cl, cl
jmp 0x4ed25b
mov cl, byte [esp + 0x13]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4ed282
cmp dword [esi + 0x34], 0
je 0x4ed277
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esi + 0x38]
push edi
push dword [esi + 4]
call eax
add esp, 8
jmp 0x4ed29e
test cl, cl
je 0x4ed29e
cmp dword [esi + 0x50], 0
je 0x4ed29e
push dword [esp + 0x14]
push dword [esp + 0x68]
push ebp
push esi
call fcn.004f2230
add esp, 0x10
cmp dword [ebx + 4], 0
mov edx, dword [ebx]
jne 0x4ed2ab
mov dword [ebx + 4], edx
jmp 0x4ed2c0
test edx, edx
je 0x4ed2c0
nop
mov ecx, dword [edx]
mov eax, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], edx
mov edx, ecx
test ecx, ecx
jne 0x4ed2b0
mov edi, dword [esp + 0x2c]
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
test edi, edi
je 0x4ed317
mov ecx, dword [esi + 0x68]
mov ebx, edi
test ecx, ecx
je 0x4ed2f8
mov eax, dword [edi]
push dword [eax]
push dword [esi + 4]
call ecx
add esp, 8
mov eax, dword [esi + 0x174]
lea ecx, [edi + 4]
mov edi, dword [ecx]
mov dword [ecx], eax
mov dword [esi + 0x174], ebx
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov dword [ecx + 4], eax
test edi, edi
jne 0x4ed2e3
cmp dword [esi + 0x134], 0
jne 0x4ece94
mov eax, dword [esi + 0x1dc]
cmp eax, 2
je 0x4ece94
cmp eax, 3
jne 0x4ed6fc
mov dword [esi + 0x114], fcn.004efd50
jmp 0x4ece94
mov eax, dword [esp + 0x5c]
cmp dword [esi + 0x134], eax
je 0x4ed810
mov ebx, dword [esi + 0x168]
mov eax, dword [ebx]
mov dword [esi + 0x168], eax
mov eax, dword [esi + 0x16c]
mov dword [ebx], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x16c], ebx
mov ecx, dword [ebp + 0x40]
lea eax, [eax + ecx*2]
push eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x1c]
push ebp
call eax
mov edi, eax
add esp, 8
cmp edi, dword [ebx + 8]
jne 0x4ed766
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x30]
sub edi, 4
jb 0x4ed3b7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4ed3bc
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4ed3a6
cmp edi, 0xfffffffc
je 0x4ed3f9
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4ed766
cmp edi, 0xfffffffd
je 0x4ed3f9
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4ed766
cmp edi, 0xfffffffe
je 0x4ed3f9
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4ed766
cmp edi, 0xffffffff
je 0x4ed3f9
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x4ed766
dec dword [esi + 0x134]
cmp dword [esi + 0x38], 0
je 0x4ed46f
cmp byte [esi + 0xe8], 0
mov eax, dword [ebx + 0x10]
je 0x4ed45f
test eax, eax
je 0x4ed45f
mov ecx, dword [ebx + 0x1c]
mov dl, byte [eax]
add ecx, dword [ebx + 0xc]
test dl, dl
je 0x4ed42d
mov byte [ecx], dl
lea eax, [eax + 1]
mov dl, byte [eax]
inc ecx
test dl, dl
jne 0x4ed421
cmp byte [esi + 0xe9], 0
mov edx, dword [ebx + 0x14]
je 0x4ed45c
test edx, edx
je 0x4ed45c
mov al, byte [esi + 0x1d4]
mov byte [ecx], al
inc ecx
mov al, byte [edx]
test al, al
je 0x4ed45c
nop dword [eax]
mov byte [ecx], al
lea edx, [edx + 1]
mov al, byte [edx]
inc ecx
test al, al
jne 0x4ed450
mov byte [ecx], 0
push dword [ebx + 0xc]
mov eax, dword [esi + 0x38]
push dword [esi + 4]
call eax
add esp, 8
jmp 0x4ed487
cmp dword [esi + 0x50], 0
je 0x4ed487
push dword [esp + 0x14]
push dword [esp + 0x68]
push ebp
push esi
call fcn.004f2230
add esp, 0x10
mov edi, dword [ebx + 0x2c]
test edi, edi
je 0x4ed317
mov ecx, dword [esi + 0x68]
mov eax, edi
test ecx, ecx
je 0x4ed4aa
mov eax, dword [edi]
push dword [eax]
push dword [esi + 4]
call ecx
mov eax, dword [ebx + 0x2c]
add esp, 8
mov eax, dword [eax + 4]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x174]
mov dword [edi + 4], eax
mov dword [esi + 0x174], edi
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov edi, dword [ebx + 0x2c]
test edi, edi
jne 0x4ed492
jmp 0x4ed317
push dword [esp + 0x64]
mov eax, dword [ebp + 0x28]
push ebp
call eax
add esp, 8
test eax, eax
js 0x4ed77d
cmp dword [esi + 0x3c], 0
je case.default.0x4ecd7c
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.004f9d60
push eax
lea eax, [esp + 0x44]
push eax
push dword [esi + 4]
mov eax, dword [esi + 0x3c]
call eax
add esp, 0x14
jmp 0x4ece98
mov eax, dword [esi + 0x3c]
test eax, eax
je case.default.0x4ecd7c
push 1
lea ecx, [esp + 0x17]
mov byte [esp + 0x17], 0xa
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4ece98
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4ed548
push dword [esi + 4]
call eax
add esp, 4
jmp 0x4ed560
cmp dword [esi + 0x50], 0
je 0x4ed560
push dword [esp + 0x14]
push dword [esp + 0x68]
push ebp
push esi
call fcn.004f2230
add esp, 0x10
push dword [esp + 0x74]
mov edi, dword [esp + 0x70]
lea eax, [esp + 0x18]
push dword [esp + 0x74]
push edi
push dword [esp + 0x74]
push eax
push ebp
push esi
call fcn.004ec990
add esp, 0x1c
test eax, eax
jne 0x4ed955
cmp dword [esp + 0x14], eax
jne 0x4ece9c
pop edi
mov dword [esi + 0x114], 0x4ec880
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x4ecece
cmp byte [ebp + 0x44], 0
jne 0x4ed659
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x70]
push eax
mov eax, dword [ebp + 0x38]
push ebp
call eax
mov ecx, dword [esp + 0x78]
mov edi, eax
mov eax, dword [esp + 0x34]
mov dword [eax], ecx
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x38]
sub ecx, edx
push ecx
push edx
push dword [esi + 4]
call ebx
add esp, 0x20
test edi, edi
je 0x4ece94
nop
cmp edi, 1
je 0x4ece94
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x64]
mov dword [ecx], eax
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x70]
push eax
mov eax, dword [ebp + 0x38]
push ebp
call eax
mov ecx, dword [esp + 0x34]
mov edi, eax
mov eax, dword [esp + 0x78]
mov dword [ecx], eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0x38]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call ebx
add esp, 0x20
test edi, edi
jne 0x4ed600
jmp 0x4ece94
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call ebx
jmp 0x4ece91
push dword [esp + 0x14]
push dword [esp + 0x68]
push ebp
push esi
call fcn.004f22f0
add esp, 0x10
test eax, eax
je 0x4ed6ef
jmp 0x4ece98
push dword [esp + 0x14]
push dword [esp + 0x68]
push ebp
push esi
call fcn.004f2180
add esp, 0x10
test eax, eax
je 0x4ed6ef
jmp 0x4ece98
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 0x44
ret
pop edi
pop esi
pop ebp
mov eax, 0xf
pop ebx
add esp, 0x44
ret
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x44
ret
pop edi
pop esi
pop ebp
mov eax, 0x18
pop ebx
add esp, 0x44
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x44
ret
mov eax, dword [esi + 0x14]
push ebx
call eax
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret
mov edx, dword [esp + 0x6c]
push edx
push dword [esp + 0x6c]
push dword [esp + 0x1c]
push esi
call fcn.004efd50
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x4ed955
mov ecx, dword [esi + 0x68]
mov ebx, edi
test ecx, ecx
je 0x4ed73b
mov eax, dword [edi]
push dword [eax]
push dword [esi + 4]
call ecx
add esp, 8
mov eax, dword [esi + 0x174]
lea ecx, [edi + 4]
mov edi, dword [ecx]
mov dword [ecx], eax
mov dword [esi + 0x174], ebx
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov dword [ecx + 4], eax
test edi, edi
jne 0x4ed726
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, 7
pop ebx
add esp, 0x44
ret
pop edi
pop esi
pop ebp
mov eax, 0xe
pop ebx
add esp, 0x44
ret
cmp byte [esp + 0x70], 0
jne 0x4ed84b
mov ecx, dword [esp + 0x68]
mov dword [edx], ecx
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4ed7b8
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5c], 0xa
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4ed7cd
cmp dword [esi + 0x50], 0
je 0x4ed7d1
push ecx
push dword [esp + 0x68]
push ebp
push esi
call fcn.004f2230
add esp, 0x10
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4ed901
cmp dword [esi + 0x134], eax
jne 0x4ed810
mov edx, dword [esp + 0x6c]
xor eax, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
add esp, 0x44
ret
cmp byte [esp + 0x70], 0
jne 0x4ed84b
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x4ed901
cmp dword [esi + 0x134], eax
je 0x4ed84b
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
add esp, 0x44
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [ebx], eax
mov eax, 4
pop ebp
pop ebx
add esp, 0x44
ret
cmp byte [esp + 0x70], 0
jne 0x4ed84b
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x44
ret
cmp byte [esp + 0x70], 0
je 0x4ed85f
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword [edx], eax
xor eax, eax
pop ebx
add esp, 0x44
ret
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x44
ret
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
add esp, 0x44
ret
cmp byte [esp + 0x70], 0
jne 0x4ed84b
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x4ed8db
cmp byte [ebp + 0x44], 0
jne 0x4ed8c3
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x70]
push eax
mov eax, dword [ebp + 0x38]
push ebp
call eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0x6c]
sub eax, ecx
push eax
mov eax, dword [esi + 0x3c]
push ecx
push dword [esi + 4]
call eax
add esp, 0x20
jmp 0x4ed8f3
mov ebp, dword [esp + 0x68]
mov eax, ebp
mov ecx, dword [esp + 0x64]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call edx
add esp, 0xc
jmp 0x4ed8f7
cmp dword [esi + 0x50], 0
je 0x4ed8f3
push dword [esp + 0x68]
push dword [esp + 0x68]
push ebp
push esi
call fcn.004f2230
add esp, 0x10
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x4ed90e
mov dword [ebx], ebp
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x44
ret
cmp dword [esi + 0x134], eax
je 0x4ed925
pop edi
pop esi
mov dword [ebx], ebp
mov eax, 0xd
pop ebp
pop ebx
add esp, 0x44
ret
mov edx, dword [esp + 0x6c]
xor eax, eax
pop edi
pop esi
mov dword [edx], ebp
pop ebp
pop ebx
add esp, 0x44
ret
pop edi
pop esi
pop ebp
mov eax, 0x23
pop ebx
add esp, 0x44
ret
push str._ABORTING_n
push esi
call fcn.004ebfd0
add esp, 8
mov eax, 0x2b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret