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

Disassembly:
push 0xffffffffffffffff
push 0x58957b
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67d978]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x13c]
xor ebx, ebx
lea esi, [esp + 0x24]
mov dword [esp + 0x1c], ebx
call fcn.004eb960
mov dword [esp + 0x12c], ebx
call fcn.004e9110
mov edx, eax
mov eax, esi
call fcn.004eb6f0
test al, al
je 0x4fb311
mov edi, dword [esp + 0x134]
mov edx, esi
mov eax, edi
call fcn.004f94a0
test al, al
je 0x4fb785
mov edx, dword [esp + 0x138]
mov eax, esi
call fcn.004f94a0
test al, al
je 0x4fb785
call fcn.004fa540
test al, al
je 0x4fb785
mov ecx, dword [esp + 0x144]
cmp ecx, ebx
je 0x4fb2ea
mov eax, dword [ecx]
mov eax, dword [eax]
mov edx, esi
push edx
call eax
test al, al
je 0x4fb785
lea ecx, [esp + 0x24]
push ecx
mov esi, edi
call fcn.004e4e60
lea ecx, [esp + 0x24]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0046ae2f
mov al, 1
jmp 0x4fb79b
call fcn.004fc4d0
mov edi, eax
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x4fb323
xor esi, esi
jmp 0x4fb32a
mov esi, dword [edi + 8]
sub esi, eax
sar esi, 1
cmp eax, ebx
je 0x4fb337
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 1
jne 0x4fb33c
call fcn.00536646
mov edi, dword [edi + 4]
movzx eax, word [edi + esi*2 - 2]
lea esi, [edi + esi*2]
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x28], esi
call fcn.004e4c70
mov ebp, dword [esp + 0x134]
lea edx, [esp + 0x4c]
mov eax, ebp
call fcn.004f94a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b], al
call fcn.0046ae2f
cmp byte [esp + 0x1b], 0
je 0x4fb56b
push ebp
call fcn.004e6500
mov edx, dword [ebp + 0x10]
cmp edx, 1
je 0x4fb3c0
mov eax, ebp
call fcn.004e4e10
test al, al
jne 0x4fb3c0
test edx, edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
je 0x4fb3a4
neg eax
mov dword [esp + 0x1c], eax
push edi
lea eax, [esp + 0x20]
mov ecx, esi
call fcn.004fc8c0
add esp, 4
mov edi, eax
lea esp, [esp]
cmp edi, esi
jae 0x4fb466
movzx edx, word [edi]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.004e4c70
mov eax, dword [esp + 0x140]
mov byte [esp + 0x12c], 1
or ebx, 1
lea ecx, [esp + 0x38]
lea esi, [esp + 0x60]
mov dword [esp + 0x1c], ebx
call fcn.004d7b20
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x12c], 2
or ebx, 2
mov dword [esp + 0x1c], ebx
call fcn.004d7960
test al, al
je 0x4fb457
mov esi, dword [esp + 0x144]
test esi, esi
je 0x4fb462
movzx ecx, word [edi]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.004e4c70
mov dword [esp + 0x12c], 3
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x4c]
push ecx
or ebx, 4
mov ecx, esi
mov dword [esp + 0x20], ebx
call edx
test al, al
jne 0x4fb462
mov esi, dword [esp + 0x20]
mov byte [esp + 0x1b], 1
jmp 0x4fb46b
mov esi, dword [esp + 0x20]
mov byte [esp + 0x1b], 0
test bl, 4
mov dword [esp + 0x12c], 2
je 0x4fb48b
and ebx, 0xfffffffb
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], ebx
call fcn.0046ae2f
test bl, 2
mov dword [esp + 0x12c], 1
je 0x4fb4ab
and ebx, 0xfffffffd
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], ebx
call fcn.0046ae2f
test bl, 1
mov dword [esp + 0x12c], 0
je 0x4fb4c7
lea ecx, [esp + 0x38]
and ebx, 0xfffffffe
call fcn.0046ae2f
cmp byte [esp + 0x1b], 0
je 0x4fb4d6
add edi, 2
jmp 0x4fb3c0
cmp edi, esi
lea ecx, [esp + 0x38]
jae 0x4fb538
movzx eax, word [edi]
push eax
push ecx
call fcn.004e4c70
lea edx, [esp + 0x38]
push edx
mov esi, ebp
mov byte [esp + 0x130], 4
call fcn.004e4e60
lea ecx, [esp + 0x38]
mov byte [esp + 0x12c], 0
call fcn.0046ae2f
mov edx, dword [esp + 0x138]
mov eax, ebp
call fcn.004f94a0
mov bl, al
lea ecx, [esp + 0x24]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0046ae2f
mov al, bl
jmp 0x4fb79b
movzx eax, word [esi - 2]
add eax, 1
push eax
push ecx
call fcn.004e4c70
lea edx, [esp + 0x38]
push edx
mov esi, ebp
mov byte [esp + 0x130], 5
call fcn.004e4e60
lea ecx, [esp + 0x38]
mov byte [esp + 0x12c], 0
call fcn.0046ae2f
mov edi, dword [esp + 0x140]
cmp dword [edi + 8], 0
jbe 0x4fb685
mov eax, dword [edi + 0xc]
mov al, byte [eax]
and al, 1
je 0x4fb685
push 1
lea ecx, [esp + 0x64]
push ecx
call fcn.004e4c70
push 2
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x134], 6
call fcn.004e4c70
push 1
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x134], 7
call fcn.004e4c70
push 1
lea ecx, [esp + 0x78]
push ecx
push edi
mov byte [esp + 0x138], 8
call fcn.004d7860
mov esi, eax
mov ecx, dword [esp + 0x13c]
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x50]
push eax
push edi
push ecx
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x140], 9
call fcn.004fb840
add esp, 0x14
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x138]
push ecx
push esi
push eax
push edx
push ebp
mov byte [esp + 0x140], 0xa
call fcn.004fb230
add esp, 0x14
lea ecx, [esp + 0xb0]
mov bl, al
mov byte [esp + 0x12c], 9
call fcn.0046ae2f
lea ecx, [esp + 0x74]
mov byte [esp + 0x12c], 8
call fcn.0046ae2f
lea ecx, [esp + 0x38]
mov byte [esp + 0x12c], 7
call fcn.0046ae2f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x12c], 6
call fcn.0046ae2f
lea ecx, [esp + 0x60]
mov byte [esp + 0x12c], 0
call fcn.0046ae2f
jmp 0x4fb51d
mov edi, dword [esp + 0x13c]
mov eax, ebp
lea esi, [esp + 0x9c]
call fcn.004d7ac0
mov ecx, eax
mov edi, dword [esp + 0x140]
mov bl, 0xb
mov eax, edi
lea esi, [esp + 0x88]
mov byte [esp + 0x12c], bl
call fcn.004d7b20
push eax
mov eax, ebp
mov byte [esp + 0x130], 0xc
call fcn.004e69f0
mov ecx, esi
mov byte [esp + 0x12c], bl
call fcn.0046ae2f
lea ecx, [esp + 0x9c]
mov byte [esp + 0x12c], 0
call fcn.0046ae2f
mov esi, dword [esp + 0x138]
mov edx, esi
mov eax, ebp
call fcn.004d79b0
test al, al
jne 0x4fb785
push 0
push edi
push esi
push ebp
lea eax, [esp + 0xd4]
push eax
call fcn.004faa00
push ebp
lea ecx, [esp + 0xc8]
push ecx
mov byte [esp + 0x134], 0xd
call fcn.004faaa0
test al, al
je 0x4fb770
mov ecx, dword [esp + 0x144]
test ecx, ecx
je 0x4fb746
mov edx, dword [ecx]
mov eax, dword [edx]
push ebp
call eax
test al, al
je 0x4fb75e
push ebp
call fcn.004fa6b0
add esp, 4
test al, al
je 0x4fb75e
mov esi, ebp
call fcn.004fa540
test al, al
jne 0x4fb7b5
push ebp
lea ecx, [esp + 0xc8]
push ecx
call fcn.004faaa0
test al, al
jne 0x4fb730
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0x130], 0
call fcn.004fb7d0
lea ecx, [esp + 0x24]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0046ae2f
xor al, al
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
lea edx, [esp + 0xc4]
push edx
mov byte [esp + 0x130], 0
call fcn.004fb7d0
jmp 0x4fb2f6