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

Disassembly:
sub esp, 0x2c
mov edx, dword [esp + 0x30]
push ebx
push ebp
push esi
mov esi, dword [edx + 8]
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x2c], esi
mov ecx, dword [edi]
mov dword [esp + 0x18], ecx
mov al, byte [ecx]
cmp al, 0x35
je 0x4f72fa
cmp al, 0x2d
je 0x4f72fa
cmp al, 0x32
jne 0x4f6d09
mov ebx, dword [esp + 0x54]
push ebx
push 0
push 0x4a
push esi
call fcn.00560d50
add esp, 0x10
jmp 0x4f72c2
mov ecx, dword [esp + 0x48]
xor ebp, ebp
mov ebx, dword [esp + 0x4c]
xor edi, edi
mov dword [esp + 0x20], 5
mov dword [esp + 0x24], ebp
mov ecx, dword [ecx + 0x4c]
mov dword [esp + 0x14], ecx
test dword [ecx + 0x2c], 0x400
jne 0x4f6d50
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4f6d50
mov eax, dword [eax + 0x1c]
cmp byte [ebx + eax], 0
je 0x4f6d50
xor edx, edx
cmp dword [esp + 0x50], edx
sete dl
mov dword [esp + 0x1c], edx
jmp 0x4f6d58
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
xor eax, eax
test ebx, ebx
jle 0x4f6d81
mov edx, dword [ecx + 0x38]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x4f6d78
mov esi, dword [esp + 0x18]
cmp dword [ecx], esi
mov esi, dword [esp + 0x2c]
je 0x4f6e1b
inc eax
cmp eax, ebx
jl 0x4f6d61
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx + 0x30]
cmp ebx, edx
jge 0x4f6da6
mov eax, dword [ecx + 0x38]
sub edx, ebx
mov esi, dword [esp + 0x18]
lea ecx, [eax + ebx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
jne 0x4f6d9c
inc edi
add ecx, 4
dec edx
jne 0x4f6d95
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
test dword [ecx + 4], 0x800
je 0x4f6eae
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x4f6eae
mov edx, dword [esp + 0x40]
push ecx
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
push eax
push ebx
push edx
call fcn.00525c90
mov ecx, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x30], eax
cmp byte [ecx + 0x57], 0
jne 0x4f6e90
mov edx, dword [esp + 0x40]
lea eax, [edi*4]
push 0
push eax
mov ecx, dword [edx]
test ecx, ecx
je 0x4f6e38
push ecx
call fcn.00537860
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x24], ebp
jmp 0x4f6e46
mov eax, dword [esp + 0x44]
push eax
push dword [esp + 0x4c]
call fcn.004fbb50
mov eax, dword [esp + 0x5c]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
call fcn.0054e110
add esp, 8
mov dword [esp + 0x24], eax
mov ebp, eax
test ebp, ebp
je 0x4f6e5d
lea eax, [edi*4]
push eax
push 0
push ebp
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ebp
push 0
push 4
push dword [esp + 0x40]
push dword [esp + 0x54]
call fcn.0053f450
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x4f6e9e
push eax
push ecx
call fcn.0053d5f0
add esp, 8
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
jmp 0x4f6eca
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 4
push ecx
push dword [esp + 0x54]
call fcn.0053f450
add esp, 0x18
mov dword [esp + 0x20], eax
cmp eax, 4
jne 0x4f6ede
xor eax, eax
cmp dword [esp + 0x1c], eax
sete al
mov dword [esp + 0x1c], eax
jmp 0x4f6ee2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x74]
xor edx, edx
test eax, eax
sete dl
lea edx, [edx*4 + 0x22]
cmp dword [esi + 0x78], ecx
jg 0x4f6f0c
push 0
push 0
push dword [esp + 0x18]
push edx
push esi
call fcn.00515850
add esp, 0x14
jmp 0x4f6f47
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
or dword [ecx + 0x2c], 0x800
cmp dword [edx + 0x44], 0
jne 0x4f6f69
mov eax, dword [esp + 0x40]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [edx + 0x10], eax
test ebx, ebx
jle 0x4f6f7f
mov eax, dword [ecx + 0x2c]
test eax, 0x100000
jne 0x4f6f7f
or eax, 0x40000
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x48]
mov dword [esp + 0x30], eax
add eax, edi
mov dword [edx + 0x44], eax
mov edx, dword [esp + 0x40]
push 0
lea eax, [eax + eax*4]
mov dword [esp + 0x3c], ecx
shl eax, 2
mov edx, dword [edx]
push eax
push ecx
push edx
mov dword [esp + 0x44], edx
call fcn.005379f0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4f6fca
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4f6fca
push eax
push dword [esp + 0x38]
call fcn.00537780
add esp, 8
mov edx, dword [esp + 0x48]
mov dword [edx + 0x48], edi
test edi, edi
je 0x4f7203
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea edi, [edi + eax*4]
movzx eax, word [ecx + 0x30]
cmp ebx, eax
jge 0x4f71ad
mov edx, dword [esp + 0x54]
lea eax, [ebx*4]
mov dword [esp + 0x30], eax
sub edx, ebx
mov eax, dword [esp + 0x4c]
add edi, 4
mov ebx, dword [esp + 0x54]
sub eax, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
lea ecx, [ecx]
mov eax, dword [ecx + 0x38]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + eax]
mov ecx, dword [esp + 0x18]
cmp dword [eax], ecx
jne 0x4f7180
cmp dword [esp + 0x20], 1
jne 0x4f708a
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4f7061
push 0
push ebx
push dword [esp + 0x18]
push 0x86
push esi
call fcn.00515850
add esp, 0x14
mov edx, eax
jmp 0x4f70ef
mov ebp, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x4f70e3
test ebp, ebp
je 0x4f709d
mov eax, dword [esp + 0x34]
mov ebp, dword [eax]
add eax, 4
mov dword [esp + 0x34], eax
jmp 0x4f709f
xor ebp, ebp
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4f70bc
push ebx
push ebp
push dword [esp + 0x18]
push 0x5d
push esi
call fcn.00515850
add esp, 0x14
mov edx, eax
jmp 0x4f70eb
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ebp, dword [esp + 0x24]
mov dword [edi], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4f710b
push 0
push 0
push ebx
push 0x32
push esi
call fcn.00515850
add esp, 0x14
jmp 0x4f713a
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
add ecx, ebx
cmp ecx, edx
jne 0x4f7175
cmp dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
mov dword [edi - 4], eax
sete al
add al, 4
test edx, edx
mov edx, dword [esp + 0x28]
mov byte [edi + 0xc], al
jle 0x4f716c
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
jmp 0x4f717d
mov dword [edi + 8], 0
jmp 0x4f717d
mov edx, dword [esp + 0x28]
mov byte [edi + 0xc], 0xb6
add edi, 0x14
mov eax, dword [esp + 0x14]
inc ebx
mov ecx, dword [esp + 0x38]
dec edx
add dword [esp + 0x30], 4
add ecx, ebx
mov dword [esp + 0x28], edx
movzx eax, word [eax + 0x30]
cmp ecx, eax
mov ecx, dword [esp + 0x14]
jl 0x4f7020
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
test ebx, ebx
jle 0x4f720a
test dword [ecx + 0x2c], 0x100400
jne 0x4f720a
mov ecx, dword [esi + 0x74]
mov edx, dword [edx + 8]
cmp dword [esi + 0x78], ecx
jg 0x4f71d6
push ebx
push 0
push edx
push 0x7c
push esi
call fcn.00515850
add esp, 0x14
jmp 0x4f720a
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x7c
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4f720a
mov dword [edx + 0x44], 0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
test ebp, ebp
je 0x4f72ba
test ecx, ecx
je 0x4f726e
cmp dword [ecx + 0x210], 0
je 0x4f7234
push ebp
push ecx
call fcn.0051b990
add esp, 8
jmp 0x4f72ba
cmp ebp, dword [ecx + 0x164]
jae 0x4f726e
cmp ebp, dword [ecx + 0x15c]
jb 0x4f7255
mov eax, dword [ecx + 0x158]
mov dword [ebp], eax
mov dword [ecx + 0x158], ebp
jmp 0x4f72ba
cmp ebp, dword [ecx + 0x160]
jb 0x4f726e
mov eax, dword [ecx + 0x150]
mov dword [ebp], eax
mov dword [ecx + 0x150], ebp
jmp 0x4f72ba
cmp dword [0x8f4e38], 0
je 0x4f72f1
mov eax, dword [0x973bc0]
test eax, eax
je 0x4f728a
push eax
call dword [0x8f4e88]
add esp, 4
push ebp
call dword [0x8f4e64]
sub dword [0x973b48], eax
dec dword [0x973b6c]
push ebp
call dword [0x8f4e5c]
mov eax, dword [0x973bc0]
add esp, 8
test eax, eax
je 0x4f72ba
push eax
call dword [0x8f4e90]
add esp, 4
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x4c]
test dword [ecx + 0x2c], 0x200000
je 0x4f72dd
mov ecx, 0x800
test word [edi + 0xc], cx
jne 0x4f72e7
push edi
push eax
call fcn.004fbb50
add esp, 8
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x2c
ret
push ebp
call dword [0x8f4e5c]
jmp 0x4f72b7
push dword [esp + 0x54]
push dword [ecx + 0x10]
push edx
call fcn.0053bf70
add esp, 0xc
mov ebx, eax
jmp 0x4f72c2