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

Disassembly:
push 0xffffffffffffffff
push 0x6474db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x268]
push edi
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x10], edi
jne 0x4f8849
xor al, al
jmp 0x4f8d46
mov ebp, dword [esp + 0x270]
cmp ebp, edi
je 0x4f8d44
mov ebx, dword [esp + 0x274]
cmp ebx, edi
je 0x4f8d44
test bl, 1
je 0x4f8874
dec ebx
mov dword [esp + 0x274], ebx
cmp ebx, edi
jne 0x4f887f
xor al, al
jmp 0x4f8d46
call fcn.0056de50
lea ecx, [esp + 0x3c]
mov byte [esp + 0x23], al
mov dword [esp + 0x1c], edi
mov byte [esp + 0x17], 1
call fcn.004dfe70
cmp ebx, edi
mov dword [esp + 0x264], edi
mov dword [esp + 0x18], edi
jbe 0x4f8a95
mov ebx, dword [esp + 0x278]
mov al, byte [esi + 0x81]
test al, al
je 0x4f8945
mov edx, dword [esp + 0x274]
lea eax, [edi + 3]
cmp edx, eax
jb 0x4f8945
cmp byte [edi + ebp], 0xfd
jne 0x4f8945
cmp byte [edi + ebp + 1], 0xef
jne 0x4f8945
add edi, 2
xor eax, eax
mov dword [esp + 0x18], edi
mov al, byte [edi + ebp]
cmp eax, 6
mov dword [esp + 0x28], eax
jae 0x4f8a73
inc edi
mov dword [esp + 0x18], edi
lea ecx, [eax + edi]
cmp edx, ecx
mov dword [esp + 0x24], ecx
jb 0x4f8a73
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4f892b
push ecx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebx
call fcn.004e1260
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], 0
add edi, ebp
push eax
push edi
mov ecx, ebx
call fcn.004e1260
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov edi, edx
jmp 0x4f8a73
mov al, byte [esp + 0x23]
test al, al
je 0x4f8993
mov al, byte [edi + ebp + 1]
test al, al
jne 0x4f8993
mov al, byte [edi + ebp]
cmp al, 0x80
jae 0x4f8993
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x58], al
inc ecx
cmp ecx, 0x200
mov dword [esp + 0x10], ecx
jb 0x4f8986
lea eax, [esp + 0x58]
push ecx
push eax
mov ecx, ebx
call fcn.004e1260
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 1
jmp 0x4f8a6c
mov dword [esp + 0x1c], 0
mov al, byte [edi + ebp + 1]
mov cl, byte [edi + ebp]
add edi, ebp
xor edx, edx
mov byte [esp + 0x22], al
mov dh, al
xor ebp, ebp
mov dl, cl
mov ecx, dword [esp + 0x26c]
mov eax, edx
xor edx, edx
div dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
lea eax, [edx + edx*4]
xor edx, edx
add eax, ecx
mov cl, byte [eax + 1]
mov dh, cl
mov cl, byte [eax]
mov dl, cl
cmp dx, bp
jne 0x4f89fd
mov ecx, dword [esp + 0x26c]
mov al, byte [ecx + 0x24]
test al, al
je 0x4f8ae2
lea edx, [esp + 0x1c]
lea eax, [esp + 0x2c]
push edx
push eax
push edi
call fcn.0056e530
jmp 0x4f8ad8
cmp cl, byte [edi]
jne 0x4f8abf
mov cl, byte [eax + 1]
mov dl, byte [esp + 0x22]
cmp cl, dl
jne 0x4f8abf
mov cl, byte [eax + 2]
mov dword [esp + 0x1c], 2
mov byte [esp + 0x2c], cl
mov cl, byte [eax + 4]
test cl, cl
jne 0x4f8ab2
mov dl, byte [eax + 3]
mov byte [esp + 0x2d], dl
xor ebp, ebp
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4f8a50
lea edx, [esp + 0x58]
push eax
push edx
mov ecx, ebx
call fcn.004e1260
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, ebx
call fcn.004e1260
mov ebp, dword [esp + 0x270]
mov edi, dword [esp + 0x18]
add edi, 2
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x274]
jb 0x4f88b4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f8a95
lea edx, [esp + 0x58]
push eax
push edx
mov ecx, ebx
call fcn.004e1260
lea ecx, [esp + 0x3c]
mov dword [esp + 0x264], 0xffffffff
call fcn.004e0890
mov al, byte [esp + 0x17]
jmp 0x4f8d46
mov dword [esp + 0x1c], 1
jmp 0x4f8a35
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x274]
push edi
call fcn.0056e530
xor ebp, ebp
cmp dword [esp + 0x1c], ebp
jne 0x4f8a37
cmp byte [edi], 0
jne 0x4f8b2f
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x270]
mov cl, byte [edx + eax + 1]
test cl, cl
jne 0x4f8b2f
mov eax, dword [esp + 0x10]
mov byte [esp + eax + 0x58], 0
inc eax
cmp eax, 0x200
mov dword [esp + 0x10], eax
jb 0x4f8a61
mov ecx, eax
lea edx, [esp + 0x58]
push ecx
push edx
mov ecx, ebx
call fcn.004e1260
mov dword [esp + 0x10], 0
jmp 0x4f8a61
mov eax, dword [esi + 8]
mov byte [esi + 0x82], 1
cmp eax, ebp
je 0x4f8d3a
mov cl, byte [esi + 0x81]
test cl, cl
je 0x4f8d10
cmp eax, 1
jne 0x4f8b8f
cmp dword [esi + 0x10], ebp
je 0x4f8d3a
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4f8b76
push eax
lea eax, [esp + 0x5c]
push eax
mov ecx, ebx
call fcn.004e1260
mov dword [esp + 0x10], ebp
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0x14]
push ecx
push edx
mov ecx, ebx
call fcn.004e1260
mov byte [esp + 0x17], 0
jmp 0x4f8a61
cmp eax, 7
jne 0x4f8bf9
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4f8bad
push eax
lea eax, [esp + 0x5c]
push eax
mov ecx, ebx
call fcn.004e1260
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x27c]
mov ecx, dword [esi + 8]
mov ebp, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
push eax
push ebx
push 2
push edi
mov dword [esp + 0x34], ecx
push ebp
push 0x4b0
mov ecx, esi
mov dword [esp + 0x40], edx
mov dword [esi + 8], 0
call fcn.004fb0c0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 8], ecx
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], edx
mov byte [esp + 0x17], 0
jmp 0x4f8a61
cmp eax, 2
jne 0x4f8cdc
lea ecx, [esp + 0x3c]
call fcn.004dd9e0
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x27c]
mov ebp, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x3c]
push edx
push eax
push 2
push edi
mov dword [esp + 0x48], ecx
push ebp
push 0x4b0
mov ecx, esi
mov dword [esp + 0x3c], ebp
mov dword [esi + 8], 0
call fcn.004fb0c0
lea ecx, [esp + 0x3c]
call fcn.005a8750
test eax, eax
je 0x4f8cc1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f8c6e
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, ebx
call fcn.004e1260
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x3c]
call fcn.005a8750
push 0x26
mov ecx, ebx
mov ebp, eax
call fcn.004e0da0
push 0x23
mov ecx, ebx
call fcn.004e0da0
push 0x78
mov ecx, ebx
call fcn.004e0da0
xor edi, edi
test ebp, ebp
jle 0x4f8cb4
push ebx
push 1
push edi
lea ecx, [esp + 0x48]
call fcn.004dda70
push eax
mov ecx, esi
call fcn.004f8120
inc edi
cmp edi, ebp
jl 0x4f8c9a
push 0x3b
mov ecx, ebx
call fcn.004e0da0
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov dword [esi + 8], edx
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], eax
mov byte [esp + 0x17], 0
jmp 0x4f8a61
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4f8cf5
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, ebx
call fcn.004e1260
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x27c]
mov ecx, esi
push edx
push ebx
push edi
call fcn.004f8190
mov byte [esp + 0x17], 0
jmp 0x4f8a61
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4f8d29
push eax
lea eax, [esp + 0x5c]
push eax
mov ecx, ebx
call fcn.004e1260
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x27c]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.004f8190
mov byte [esp + 0x17], 0
jmp 0x4f8a61
mov al, 1
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x258
ret 0x14