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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x160]
mov dword [ebp - 0x1c], eax
cmp ebx, dword [esi + 0x90]
jne 0x4fec41
lea edx, [esi + 0x120]
lea ecx, [esi + 0x11c]
mov dword [ebp - 0x18], edx
jmp 0x4fec4d
mov ecx, dword [esi + 0x128]
lea eax, [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0x18]
mov dword [ebp - 8], eax
push eax
mov eax, dword [ebx + 4]
push ebx
call eax
mov edi, eax
add esp, 0x10
mov eax, dword [ebp + 0x14]
cmp edi, 0xfffffffb
je 0x4fec80
cmp edi, 0xfffffffd
je 0x4fec80
mov ecx, dword [ebp - 8]
jmp 0x4fec8a
cmp byte [ebp + 0x20], 0
mov ecx, dword [ebp + 0x18]
cmovne ecx, eax
push dword [ebp + 0x24]
push 0xaf5
push ecx
push eax
push edi
push esi
call fcn.004fdad0
add esp, 0x18
test al, al
je 0x4ff7ae
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov dword [edx], eax
lea eax, [edi + 5]
cmp eax, 0x12
ja case.default.0x4fecba
jmp dword [eax*4 + 0x4ff7c8]
mov eax, dword [ebp - 8]
sub eax, dword [ebx + 0x40]
push eax
mov eax, dword [ebp + 0x14]
add eax, dword [ebx + 0x40]
push eax
mov eax, dword [ebx + 0x2c]
push ebx
call eax
add esp, 0xc
mov byte [ebp + 0x13], al
test al, al
je 0x4fed16
push 1
push 0xb37
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x13]
push eax
push edi
push esi
call fcn.004fdad0
mov eax, dword [esi + 0x3c]
add esp, 0x18
test eax, eax
je case.default.0x4fecba
push 1
lea ecx, [ebp + 0x13]
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4ff50c
mov edx, dword [ebp - 8]
sub edx, dword [ebx + 0x40]
mov eax, dword [ebp + 0x14]
add eax, dword [ebx + 0x40]
mov edi, dword [ebp - 0x1c]
push edx
push eax
add edi, 0x50
push ebx
push edi
call fcn.00503210
add esp, 0x10
test eax, eax
je 0x4ff585
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jne 0x4fed55
push edi
call fcn.005037a0
add esp, 4
test al, al
je 0x4ff585
mov eax, dword [edi + 0xc]
mov byte [eax], 0
mov eax, dword [edi + 0x10]
inc dword [edi + 0xc]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4ff585
push 0
push eax
push dword [ebp - 0x1c]
push esi
call fcn.00502600
mov edi, eax
add esp, 0x10
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x81], 0
mov ecx, dword [eax + 0x60]
mov dword [eax + 0x5c], ecx
je 0x4fedb8
cmp byte [eax + 0x82], 0
jne 0x4fedb8
test edi, edi
jne 0x4fedca
mov eax, dword [esi + 0x78]
test eax, eax
je case.default.0x4fecba
push edi
push dword [ebp - 0x2c]
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4ff50c
test edi, edi
je 0x4ff570
cmp byte [edi + 0x22], 0
je 0x4ff564
cmp byte [edi + 0x20], 0
jne 0x4ff558
cmp dword [edi + 0x1c], 0
jne 0x4ff54c
cmp dword [edi + 4], 0
je 0x4fee22
cmp byte [esi + 0x130], 0
jne 0x4fee09
mov eax, dword [esi + 0x78]
test eax, eax
je case.default.0x4fecba
push 0
push dword [edi]
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4ff50c
push 0
push edi
push esi
call fcn.005039a0
add esp, 0xc
test eax, eax
jne 0x4ff7c1
jmp 0x4ff50c
cmp dword [esi + 0x70], 0
je case.default.0x4fecba
push esi
mov byte [edi + 0x20], 1
call fcn.00501e60
add esp, 4
mov byte [edi + 0x20], 0
test eax, eax
je 0x4ff585
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 0x4ff540
mov eax, dword [esi + 0x1ac]
mov dword [esi + 0x1a8], eax
jmp 0x4ff50c
mov edi, dword [esi + 0x16c]
mov dword [ebp - 0x20], edi
test edi, edi
je 0x4fee8a
mov eax, dword [edi]
mov dword [esi + 0x16c], eax
jmp 0x4feebc
mov eax, dword [esi + 0xc]
push 0x30
call eax
mov edi, eax
mov dword [ebp - 0x20], eax
add esp, 4
test edi, edi
je 0x4ff585
mov ecx, dword [esi + 0xc]
push 0x20
call ecx
add esp, 4
mov dword [edi + 0x24], eax
test eax, eax
je 0x4ff57c
add eax, 0x20
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
lea eax, [edi + 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x168]
mov dword [edi], eax
mov dword [esi + 0x168], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov eax, dword [ebp + 0x14]
add eax, dword [ebx + 0x40]
push eax
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1c]
push ebx
call eax
mov dword [edi + 8], eax
inc dword [esi + 0x134]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
add ecx, eax
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x28]
dec eax
mov dword [ebp - 0x24], ecx
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x38]
push ebx
call eax
mov edx, dword [ebp - 0x10]
add esp, 0x1c
mov ecx, dword [edi + 0x24]
sub edx, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x14], eax
jae 0x4fefac
mov eax, ecx
cmp dword [ebp - 0x28], 1
je 0x4fefac
mov edi, dword [edi + 0x28]
sub edi, eax
add edi, edi
push edi
push eax
mov eax, dword [esi + 0x10]
call eax
mov edx, eax
add esp, 8
test edx, edx
je 0x4ff585
mov eax, dword [ebp - 0x20]
lea ecx, [edx + edi]
mov edi, eax
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [edi + 0x28], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x28]
dec eax
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x38]
push ebx
call eax
mov ecx, dword [edi + 0x24]
add esp, 0x14
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x24]
sub edx, ecx
cmp dword [ebp - 0x14], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, ecx
mov dword [ebp - 0x2c], edx
jb 0x4fef41
push dword [ebp + 0x24]
mov dword [edi + 0x18], edx
add edi, 0xc
push dword [ebp - 0x30]
push edi
mov dword [edi], ecx
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
push dword [ebp + 0x14]
push ebx
push esi
call fcn.005048d0
add esp, 0x18
test eax, eax
jne 0x4ff7c1
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4ff001
push dword [esi + 0x184]
push dword [edi]
push dword [esi + 4]
call eax
add esp, 0xc
lea eax, [esi + 0x19c]
push eax
call fcn.005035a0
add esp, 4
jmp 0x4ff50c
cmp dword [esi + 0x50], 0
je 0x4ff017
push dword [ebp - 8]
push dword [ebp + 0x14]
push ebx
push esi
call fcn.00503f40
add esp, 0x10
lea eax, [esi + 0x19c]
push eax
call fcn.005035a0
add esp, 4
jmp 0x4ff50c
mov edi, dword [ebx + 0x40]
add edi, dword [ebp + 0x14]
mov eax, dword [ebx + 0x1c]
push edi
push ebx
mov dword [ebp - 0x24], 0
mov byte [ebp - 1], 1
call eax
add eax, edi
push eax
push edi
push ebx
lea edi, [esi + 0x19c]
push edi
call fcn.00503210
add esp, 0x18
test eax, eax
je 0x4ff585
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jne 0x4ff078
push edi
call fcn.005037a0
add esp, 4
test al, al
je 0x4ff585
mov eax, dword [edi + 0xc]
mov byte [eax], 0
mov eax, dword [edi + 0x10]
inc dword [edi + 0xc]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4ff585
mov eax, dword [esi + 0x1a8]
push 2
mov dword [esi + 0x1ac], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 0x14]
push ebx
push esi
call fcn.005048d0
add esp, 0x18
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x4ff5ab
mov eax, dword [esi + 0x1a8]
mov ecx, dword [ebp - 0x4c]
mov dword [esi + 0x1ac], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4ff0e9
push dword [esi + 0x184]
push ecx
push dword [esi + 4]
call eax
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
xor al, al
jmp 0x4ff0ec
mov al, byte [ebp - 1]
cmp dword [esi + 0x38], 0
je 0x4ff110
cmp dword [esi + 0x34], 0
je 0x4ff102
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [edx], eax
mov eax, dword [esi + 0x38]
push ecx
push dword [esi + 4]
call eax
add esp, 8
jmp 0x4ff12a
test al, al
je 0x4ff12a
cmp dword [esi + 0x50], 0
je 0x4ff12a
push dword [ebp - 8]
push dword [ebp + 0x14]
push ebx
push esi
call fcn.00503f40
add esp, 0x10
push edi
call fcn.005035a0
mov edi, dword [ebp - 0x24]
add esp, 4
test edi, edi
je 0x4ff179
nop word [eax + eax]
mov ecx, dword [esi + 0x68]
mov edx, edi
mov dword [ebp - 0x30], edx
test ecx, ecx
je 0x4ff15a
mov eax, dword [edi]
push dword [eax]
push dword [esi + 4]
call ecx
add esp, 8
mov edx, edi
mov eax, dword [esi + 0x174]
lea ecx, [edi + 4]
mov edi, dword [ecx]
mov dword [ecx], eax
mov dword [esi + 0x174], edx
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [ecx + 4], eax
test edi, edi
jne 0x4ff140
cmp dword [esi + 0x134], 0
jne 0x4ff50c
mov eax, dword [esi + 0x1dc]
cmp eax, 2
je 0x4ff50c
cmp eax, 3
jne 0x4ff591
mov dword [esi + 0x114], fcn.005019b0
jmp 0x4ff50c
mov eax, dword [ebp + 0xc]
cmp dword [esi + 0x134], eax
je 0x4ff68f
mov edi, dword [esi + 0x168]
mov dword [ebp - 0x2c], edi
mov eax, dword [edi]
mov dword [esi + 0x168], eax
mov eax, dword [esi + 0x16c]
mov dword [edi], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x16c], edi
mov ecx, dword [ebx + 0x40]
lea eax, [eax + ecx*2]
push eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x1c]
push ebx
call eax
add esp, 8
cmp eax, dword [edi + 8]
jne 0x4ff5f4
mov ecx, dword [edi + 4]
sub eax, 4
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
jb 0x4ff21f
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4ff224
mov eax, dword [ebp - 0x14]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x14], eax
jae 0x4ff208
cmp eax, 0xfffffffc
je 0x4ff264
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4ff5f4
cmp dword [ebp - 0x14], 0xfffffffd
je 0x4ff264
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4ff5f4
cmp dword [ebp - 0x14], 0xfffffffe
je 0x4ff264
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4ff5f4
cmp dword [ebp - 0x14], 0xffffffff
je 0x4ff264
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x4ff5f4
dec dword [esi + 0x134]
cmp dword [esi + 0x38], 0
je 0x4ff2df
cmp byte [esi + 0xe8], 0
mov eax, dword [edi + 0x10]
je 0x4ff2cf
test eax, eax
je 0x4ff2cf
mov ecx, dword [edi + 0x1c]
mov dl, byte [eax]
add ecx, dword [edi + 0xc]
test dl, dl
je 0x4ff29c
nop dword [eax]
mov byte [ecx], dl
lea eax, [eax + 1]
mov dl, byte [eax]
inc ecx
test dl, dl
jne 0x4ff290
cmp byte [esi + 0xe9], 0
mov edx, dword [edi + 0x14]
je 0x4ff2cc
test edx, edx
je 0x4ff2cc
mov al, byte [esi + 0x1d4]
mov byte [ecx], al
inc ecx
mov al, byte [edx]
test al, al
je 0x4ff2cc
nop dword [eax + eax]
mov byte [ecx], al
lea edx, [edx + 1]
mov al, byte [edx]
inc ecx
test al, al
jne 0x4ff2c0
mov byte [ecx], 0
push dword [edi + 0xc]
mov eax, dword [esi + 0x38]
push dword [esi + 4]
call eax
add esp, 8
jmp 0x4ff2f5
cmp dword [esi + 0x50], 0
je 0x4ff2f5
push dword [ebp - 8]
push dword [ebp + 0x14]
push ebx
push esi
call fcn.00503f40
add esp, 0x10
mov edx, dword [ebp - 0x2c]
mov edi, dword [edx + 0x2c]
test edi, edi
je 0x4ff179
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x4ff319
mov eax, dword [edi]
push dword [eax]
push dword [esi + 4]
call ecx
mov edx, dword [ebp - 0x2c]
add esp, 8
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 4]
mov dword [edx + 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 [edx + 0x2c]
test edi, edi
jne 0x4ff303
jmp 0x4ff179
push dword [ebp + 0x14]
mov eax, dword [ebx + 0x28]
push ebx
call eax
add esp, 8
test eax, eax
js 0x4ff608
cmp dword [esi + 0x3c], 0
je case.default.0x4fecba
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.0050bc90
push eax
lea eax, [ebp - 0x34]
push eax
push dword [esi + 4]
mov eax, dword [esi + 0x3c]
call eax
add esp, 0x14
jmp 0x4ff50c
mov eax, dword [esi + 0x3c]
test eax, eax
je case.default.0x4fecba
push 1
lea ecx, [ebp - 1]
mov byte [ebp - 1], 0xa
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4ff50c
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4ff3b5
push dword [esi + 4]
call eax
add esp, 4
jmp 0x4ff3cb
cmp dword [esi + 0x50], 0
je 0x4ff3cb
push dword [ebp - 8]
push dword [ebp + 0x14]
push ebx
push esi
call fcn.00503f40
add esp, 0x10
push dword [ebp + 0x24]
mov edi, dword [ebp + 0x1c]
lea eax, [ebp - 8]
push dword [ebp + 0x20]
push edi
push dword [ebp + 0x18]
push eax
push ebx
push esi
call fcn.004fe900
add esp, 0x1c
test eax, eax
jne 0x4ff7c1
cmp dword [ebp - 8], eax
jne 0x4ff50f
pop edi
mov dword [esi + 0x114], 0x4fe7e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x3c]
mov dword [ebp - 0x2c], edx
test edx, edx
je case.default.0x4fecba
cmp byte [ebx + 0x44], 0
jne 0x4ff4ae
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
lea eax, [ebp + 0x14]
push eax
mov eax, dword [ebx + 0x38]
push ebx
call eax
mov ecx, dword [ebp + 0x14]
mov edi, eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x14]
sub ecx, edx
push ecx
push edx
push dword [esi + 4]
call dword [ebp - 0x2c]
add esp, 0x20
test edi, edi
je 0x4ff50c
nop
cmp edi, 1
je 0x4ff50c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
lea eax, [ebp + 0x14]
push eax
mov eax, dword [ebx + 0x38]
push ebx
call eax
mov ecx, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call dword [ebp - 0x2c]
add esp, 0x20
test edi, edi
jne 0x4ff460
jmp 0x4ff50c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call edx
add esp, 0xc
jmp 0x4ff50c
push dword [ebp - 8]
push dword [ebp + 0x14]
push ebx
push esi
call fcn.00503ff0
add esp, 0x10
test eax, eax
je 0x4ff585
jmp 0x4ff50c
push dword [ebp - 8]
push dword [ebp + 0x14]
push ebx
push esi
call fcn.00503e90
add esp, 0x10
test eax, eax
je 0x4ff585
jmp 0x4ff50c
cmp dword [esi + 0x50], 0
je 0x4ff50c
push dword [ebp - 8]
push dword [ebp + 0x14]
push ebx
push esi
call fcn.00503f40
add esp, 0x10
mov edi, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ebp + 0x14], eax
mov dword [ecx], eax
mov eax, dword [esi + 0x1dc]
sub eax, 2
je 0x4ff7a2
sub eax, 1
jne 0x4fec55
mov eax, dword [ebp - 8]
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x15
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xf
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x18
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xb
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
push edi
call eax
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
push edx
push dword [ebp + 0x18]
push dword [ebp - 8]
push esi
call fcn.005019b0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x4ff7c1
mov ecx, dword [esi + 0x68]
mov ebx, edi
test ecx, ecx
je 0x4ff5cb
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 0x4ff5b6
mov eax, dword [ebp - 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
pop edi
pop esi
mov dword [ecx], eax
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xe
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x4ff6c7
mov ecx, dword [ebp + 0x18]
mov dword [edx], ecx
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4ff63e
push 1
lea ecx, [ebp + 0xb]
mov byte [ebp + 0xb], 0xa
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4ff652
cmp dword [esi + 0x50], 0
je 0x4ff655
push ecx
push dword [ebp + 0x14]
push ebx
push esi
call fcn.00503f40
add esp, 0x10
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4ff76f
cmp dword [esi + 0x134], eax
jne 0x4ff68f
mov edx, dword [ebp + 0x1c]
xor eax, eax
pop edi
pop esi
pop ebx
mov dword [edx], ecx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x4ff6c7
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4ff76f
cmp dword [esi + 0x134], eax
je 0x4ff6c7
pop edi
pop esi
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
pop edi
pop esi
mov dword [ecx], eax
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x4ff6c7
pop edi
pop esi
mov eax, 5
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
je 0x4ff6d8
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [edx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x11
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
jne 0x4ff6c7
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x4ff74a
cmp byte [ebx + 0x44], 0
jne 0x4ff734
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x18]
lea eax, [ebp + 0x14]
push eax
mov eax, dword [ebx + 0x38]
push ebx
call eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [ebp + 8]
sub eax, ecx
push eax
mov eax, dword [esi + 0x3c]
push ecx
push dword [esi + 4]
call eax
add esp, 0x20
jmp 0x4ff760
mov ebx, dword [ebp + 0x18]
mov eax, ebx
mov ecx, dword [ebp + 0x14]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call edx
add esp, 0xc
jmp 0x4ff763
cmp dword [esi + 0x50], 0
je 0x4ff760
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push esi
call fcn.00503f40
add esp, 0x10
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4ff77b
mov eax, dword [ebp - 0xc]
mov dword [eax], ebx
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x134], eax
je 0x4ff794
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov dword [eax], ebx
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
xor eax, eax
pop edi
pop esi
mov dword [edx], ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x23
pop ebx
mov esp, ebp
pop ebp
ret
push str._ABORTING_n
push esi
call fcn.004fdde0
add esp, 8
mov eax, 0x2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret