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

Disassembly:
push 0xffffffffffffffff
push 0x54fa29
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a1574]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
xor edi, edi
mov dword [esp + 0x18], edi
mov ebx, ecx
mov ecx, dword [esp + 0x90]
lea ebp, [esi + 4]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], esi
mov byte [ebp], 0
mov edx, dword [ebx + 0x464]
mov dword [esp + 0x80], edi
mov dword [esp + 0x18], 1
cmp edx, 3
ja case.default.0x4f249b
jmp dword [edx*4 + 0x4f2764]
push ecx
push eax
mov ecx, esi
call fcn.004f0940
cmp dword [esi + 0x14], 0
jbe 0x4f24f7
cmp edi, dword [esi + 0x14]
jbe 0x4f24bb
call fcn.005168b1
cmp dword [esi + 0x18], 0x10
jb 0x4f24c6
mov eax, dword [ebp]
jmp 0x4f24c8
mov eax, ebp
movzx eax, byte [eax + edi]
mov bl, byte [eax + ebx + 0x104]
cmp edi, dword [esi + 0x14]
jbe 0x4f24dd
call fcn.005168b1
cmp dword [esi + 0x18], 0x10
jb 0x4f24e8
mov eax, dword [ebp]
jmp 0x4f24ea
mov eax, ebp
mov byte [eax + edi], bl
mov ebx, dword [esp + 0x14]
inc edi
cmp edi, dword [esi + 0x14]
jb 0x4f24bb
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x4f2508
mov edi, dword [ebp]
mov dword [esp + 0x14], edi
jmp 0x4f250e
mov dword [esp + 0x14], ebp
mov edi, ebp
test edi, edi
je 0x4f2537
cmp ecx, 0x10
jb 0x4f251c
mov eax, dword [ebp]
jmp 0x4f251e
mov eax, ebp
cmp eax, edi
ja 0x4f2537
cmp ecx, 0x10
jb 0x4f252c
mov eax, dword [ebp]
jmp 0x4f252e
mov eax, ebp
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp edi, ecx
jbe 0x4f253c
call fcn.005168b1
cmp esi, 0xfffffffc
je 0x4f255c
cmp dword [esi + 0x18], 0x10
jb 0x4f254c
mov eax, dword [ebp]
jmp 0x4f254e
mov eax, ebp
mov edx, dword [esi + 0x14]
add edx, eax
cmp edi, edx
jb 0x4f255c
call fcn.005168b1
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x1c], edx
cmp ecx, 0x10
jb 0x4f2570
mov edi, dword [ebp]
jmp 0x4f2572
mov edi, ebp
test edi, edi
je 0x4f2598
cmp ecx, 0x10
jb 0x4f2580
mov eax, dword [ebp]
jmp 0x4f2582
mov eax, ebp
cmp eax, edi
ja 0x4f2598
cmp ecx, 0x10
jb 0x4f2590
mov eax, dword [ebp]
jmp 0x4f2592
mov eax, ebp
add edx, eax
cmp edi, edx
jbe 0x4f259d
call fcn.005168b1
cmp esi, 0xfffffffc
je 0x4f25b9
cmp dword [esi + 0x18], 0x10
jb 0x4f25ab
mov ebp, dword [ebp]
mov eax, dword [esi + 0x14]
add eax, ebp
cmp edi, eax
jb 0x4f25b9
call fcn.005168b1
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add ecx, edx
push ecx
push edi
lea eax, [esp + 0x64]
push eax
mov ecx, ebx
call fcn.004eee10
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x8c], 1
call fcn.0040292e
cmp dword [esp + 0x74], 0x10
mov byte [esp + 0x80], 0
jb 0x4f26fd
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00514e7a
add esp, 4
jmp 0x4f26fd
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
call fcn.004eee10
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov dword [esp + 0x8c], 2
call fcn.0040292e
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x80], 0
jb 0x4f264d
mov eax, dword [esp + 0x24]
push eax
call fcn.00514e7a
add esp, 4
movsx ecx, byte [ebx + 0x468]
push 0xffffffffffffffff
push ecx
mov ecx, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], 0
call fcn.00403013
jmp case.default.0x4f249b
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call fcn.004eee10
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov dword [esp + 0x8c], 3
call fcn.0040292e
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0x80], 0
jb 0x4f26b4
mov eax, dword [esp + 0x44]
push eax
call fcn.00514e7a
add esp, 4
cmp dword [esi + 0x14], 0
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
jbe 0x4f26f3
cmp edi, dword [esi + 0x14]
jbe 0x4f26d5
call fcn.005168b1
cmp dword [esi + 0x18], 0x10
jb 0x4f26e0
mov eax, dword [ebp]
jmp 0x4f26e2
mov eax, ebp
mov cl, byte [eax + edi]
cmp cl, byte [ebx + 0x468]
je 0x4f26f3
inc edi
cmp edi, dword [esi + 0x14]
jb 0x4f26d5
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00403013
xor edi, edi
cmp dword [esi + 0x14], edi
jne 0x4f274c
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x24], 0
mov dword [esp + 0x34], 1
mov byte [esp + 0x25], 0
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov dword [esp + 0x8c], 4
call fcn.0040292e
cmp dword [esp + 0x38], 0x10
jb 0x4f274c
mov eax, dword [esp + 0x24]
push eax
call fcn.00514e7a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0xc