Function at 0xfb5770
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x21c
mov eax, dword [esp + 0x220]
push ebx
mov ebx, dword [eax + 0x3c]
push ebp
push esi
add ebx, eax
push edi
lea eax, [esp + 0x240]
push eax
push 0x10083bc8
lea ecx, [esp + 0x23c]
push ecx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x34], ebx
lea ebp, [ebx + 0x80]
call fcn.00fb40f0
add esp, 0xc
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00fb4050
mov eax, dword [esp + 0x78]
add esp, 0xc
test eax, eax
je 0xfb57d1
push eax
call fcn.00fac7d0
add esp, 4
lea ecx, [esp + 0x1ec]
push 0x40
push ecx
call fcn.00fac5e0
lea edx, [esp + 0xfc]
push 0xf8
push edx
mov word [esp + 0x1fc], 0x5a4d
mov dword [esp + 0x238], 0x40
call fcn.00fac5e0
mov eax, 0x1000
mov edi, 0x200
mov dword [esp + 0x104], 0x4550
mov word [esp + 0x11a], 0x210e
mov word [esp + 0x108], 0x14c
mov dword [esp + 0x134], 0x2000
mov word [esp + 0x10a], 3
mov word [esp + 0x118], 0xe0
mov word [esp + 0x11c], 0x10b
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x140], edi
mov dword [esp + 0x138], 0x10000000
mov dword [esp + 0x13c], eax
mov dword [esp + 0x120], edi
mov dword [esp + 0x158], edi
mov dword [esp + 0x170], eax
mov dword [esp + 0x16c], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0x164], eax
mov ax, word [ebx + 0x5c]
push edi
mov word [esp + 0x164], ax
mov dword [esp + 0x17c], 0x10
call fcn.00fac680
mov esi, eax
mov byte [esi], 0xb8
mov dword [esi + 1], 1
lea eax, [esi + 1]
add eax, 4
mov byte [eax], 0xc2
add eax, 1
mov word [eax], 0xc
sub eax, esi
add eax, 2
mov dword [esp + 0x6c], eax
xor eax, eax
add esp, 0x14
cmp ebp, eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
je 0xfb5913
mov ecx, dword [ebp + 4]
mov dword [esp + 0x18], ecx
jmp 0xfb591b
mov dword [esp + 0x18], 0
xor eax, eax
xor edi, edi
cmp dword [esp + 0x18], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
jbe 0xfb594a
mov edx, dword [esp + 0x18]
push edx
call fcn.00fac680
mov edi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edi
xor eax, eax
cmp ebp, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
jne 0xfb59c2
cmp edi, eax
je 0xfb5973
push edi
call fcn.00fac7d0
add esp, 4
push esi
call fcn.00fac7d0
mov eax, dword [esp + 0x64]
add esp, 4
test eax, eax
je 0xfb598d
push eax
call fcn.00fac7d0
add esp, 4
mov eax, dword [esp + 0x234]
test eax, eax
je 0xfb59a1
push eax
call fcn.00fac7d0
add esp, 4
mov eax, dword [esp + 0x240]
test eax, eax
je 0xfb59b5
push eax
call fcn.00fac7d0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x21c
ret
mov eax, dword [ebp]
push eax
push ebx
call fcn.00fb3ce0
add esp, 8
test eax, eax
je 0xfb59ea
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp]
sub edx, ecx
cmp edx, dword [eax + 0x10]
jae 0xfb59ea
mov eax, dword [eax + 0x14]
sub eax, ecx
add eax, dword [ebp]
jne 0xfb5a46
test edi, edi
je 0xfb59f7
push edi
call fcn.00fac7d0
add esp, 4
push esi
call fcn.00fac7d0
mov eax, dword [esp + 0x64]
add esp, 4
test eax, eax
je 0xfb5a11
push eax
call fcn.00fac7d0
add esp, 4
mov eax, dword [esp + 0x234]
test eax, eax
je 0xfb5a25
push eax
call fcn.00fac7d0
add esp, 4
mov eax, dword [esp + 0x240]
test eax, eax
je 0xfb59b5
push eax
call fcn.00fac7d0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x21c
ret
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x230]
push ecx
add eax, edx
push eax
push edi
call fcn.00fac600
mov eax, 0xfffffff8
add esp, 0xc
sub eax, edi
mov dword [esp + 0x18], 0
lea ebp, [edi + 8]
mov dword [esp + 0x3c], eax
cmp dword [ebp - 8], 0
jne 0xfb5a95
cmp dword [ebp + 8], 0
jne 0xfb5a95
cmp dword [ebp], 0
jne 0xfb5a95
cmp dword [ebp + 4], 0
jne 0xfb5a95
cmp dword [ebp - 4], 0
je 0xfb5d07
add eax, ebp
cmp eax, dword [ebx + 0x84]
jae 0xfb5d07
mov esi, dword [ebp + 4]
push esi
push ebx
call fcn.00fb3ce0
add esp, 8
test eax, eax
jne 0xfb5ab8
xor ebx, ebx
jmp 0xfb5acf
mov ecx, dword [eax + 0xc]
mov edx, esi
sub edx, ecx
cmp edx, dword [eax + 0x10]
jb 0xfb5ac8
xor ebx, ebx
jmp 0xfb5acf
mov ebx, dword [eax + 0x14]
sub ebx, ecx
add ebx, esi
test ebx, ebx
mov dword [esp + 0x20], ebx
je 0xfb5c00
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00fb41c0
mov edi, dword [ebp - 8]
mov edx, dword [esp + 0x24]
push edi
push edx
call fcn.00fb3ce0
add esp, 8
test eax, eax
jne 0xfb5b07
xor esi, esi
jmp 0xfb5b1e
mov ecx, dword [eax + 0xc]
mov edx, edi
sub edx, ecx
cmp edx, dword [eax + 0x10]
jb 0xfb5b17
xor esi, esi
jmp 0xfb5b1e
mov esi, dword [eax + 0x14]
sub esi, ecx
add esi, edi
mov ecx, dword [esp + 0x54]
add dword [esp + 0x38], 8
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], esi
call fcn.00fb41c0
mov edx, dword [esp + 0x230]
mov esi, dword [esi + edx]
test esi, esi
js 0xfb5bb4
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.00fb3ce0
add esp, 8
test eax, eax
jne 0xfb5b5e
xor edi, edi
jmp 0xfb5b75
mov ecx, dword [eax + 0xc]
mov edx, esi
sub edx, ecx
cmp edx, dword [eax + 0x10]
jb 0xfb5b6e
xor edi, edi
jmp 0xfb5b75
mov edi, dword [eax + 0x14]
sub edi, ecx
add edi, esi
test edi, edi
mov dword [esp + 0x20], edi
je 0xfb5ca2
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00fb41c0
mov edx, dword [esp + 0x230]
lea eax, [edi + edx + 2]
push eax
call dword [0x100780e0]
mov ecx, dword [esp + 0x40]
lea edx, [ecx + eax + 3]
mov dword [esp + 0x40], edx
jmp 0xfb5bcf
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], 0
call fcn.00fb41c0
mov edx, dword [esp + 0x230]
add ebx, edx
push ebx
call dword [0x100780e0]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
lea edx, [ecx + eax + 1]
mov eax, dword [esp + 0x3c]
add ebp, 0x14
add dword [esp + 0x18], 1
mov dword [esp + 0x44], edx
jmp 0xfb5a73
mov eax, dword [esp + 0x50]
test eax, eax
je 0xfb5c22
jmp 0xfb5c10
mov esi, dword [eax + 4]
push eax
call fcn.00f93630
add esp, 4
test esi, esi
mov eax, esi
jne 0xfb5c10
mov eax, dword [esp + 0x30]
test eax, eax
je 0xfb5c42
lea ebx, [ebx]
mov esi, dword [eax + 4]
push eax
call fcn.00f93630
add esp, 4
test esi, esi
mov eax, esi
jne 0xfb5c30
mov eax, dword [esp + 0x28]
test eax, eax
je 0xfb5c62
lea ebx, [ebx]
mov esi, dword [eax + 4]
push eax
call fcn.00f93630
add esp, 4
test esi, esi
mov eax, esi
jne 0xfb5c50
lea ecx, [esp + 0x48]
call fcn.00f95300
lea ecx, [esp + 0x6c]
call fcn.00f95300
lea ecx, [esp + 0x60]
call fcn.00f955e0
lea ecx, [esp + 0x234]
call fcn.00f955e0
lea ecx, [esp + 0x240]
call fcn.00f955e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x21c
ret
mov eax, dword [esp + 0x50]
test eax, eax
je 0xfb5cc2
lea ebx, [ebx]
mov esi, dword [eax + 4]
push eax
call fcn.00f93630
add esp, 4
test esi, esi
mov eax, esi
jne 0xfb5cb0
mov eax, dword [esp + 0x30]
test eax, eax
je 0xfb5ce2
lea ebx, [ebx]
mov esi, dword [eax + 4]
push eax
call fcn.00f93630
add esp, 4
test esi, esi
mov eax, esi
jne 0xfb5cd0
mov eax, dword [esp + 0x28]
test eax, eax
je 0xfb5c62
mov edi, edi
mov esi, dword [eax + 4]
push eax
call fcn.00f93630
add esp, 4
test esi, esi
mov eax, esi
jne 0xfb5cf0
jmp 0xfb5c62
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*4 + 5]
add eax, eax
add eax, eax
lea ecx, [eax + 0x2000]
mov dword [esp + 0x1c], eax
mov eax, ecx
shr eax, 0xc
shl eax, 0xc
cmp eax, ecx
mov dword [esp + 0x18], eax
jae 0xfb5d36
add eax, 0x1000
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x44]
mov eax, ecx
shr eax, 2
add eax, eax
add eax, eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jae 0xfb5d52
add eax, 4
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x40]
mov eax, ecx
shr eax, 2
add eax, eax
add eax, eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jae 0xfb5d6e
add eax, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ecx, 0xfffffffc
xor edi, edi
sub ecx, eax
lea esi, [eax + 4]
mov dword [esp + 0x20], ecx
lea ebx, [ebx]
cmp dword [esi - 4], 0
jne 0xfb5dad
cmp dword [esi + 0xc], 0
jne 0xfb5dad
cmp dword [esi + 4], 0
jne 0xfb5dad
cmp dword [esi + 8], 0
jne 0xfb5dad
cmp dword [esi], 0
je 0xfb5ded
lea eax, [esi + ecx]
cmp eax, dword [esp + 0x1c]
jae 0xfb5ded
mov ecx, dword [esp + 0x18]
add ecx, edi
add ecx, dword [esp + 0x38]
mov dword [esi - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ecx
mov edx, dword [ebp + 8]
add edx, dword [esp + 0x230]
push edx
call dword [0x100780e0]
mov ebp, dword [ebp + 4]
mov ecx, dword [esp + 0x20]
add ebx, 8
lea edi, [edi + eax + 1]
add esi, 0x14
jmp 0xfb5d90
lea eax, [esp + 0x7c]
push 0x28
push eax
call fcn.00fac5e0
add esp, 8
push 0x10083bc0
lea ecx, [esp + 0x80]
push ecx
call dword [0x10078124]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
mov ebx, ebp
shr ebx, 9
mov eax, 0x200
shl ebx, 9
cmp ebx, ebp
mov dword [esp + 0x88], 0x1000
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0xa0], 0xe0000060
jae 0xfb5e55
add ebx, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
lea esi, [eax + ecx]
add esi, dword [esp + 0x38]
mov edi, esi
shr edi, 9
shl edi, 9
cmp edi, esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x20], edi
jae 0xfb5e82
add edi, 0x200
mov dword [esp + 0x20], edi
lea edx, [esp + 0xa4]
push 0x28
push edx
call fcn.00fac5e0
add esp, 8
push 0x10083bb8
lea eax, [esp + 0xa8]
push eax
call dword [0x10078124]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
lea eax, [esp + 0xcc]
add edx, ecx
push 0x28
push eax
mov dword [esp + 0xb8], 0x2000
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xd0], 0x40000040
call fcn.00fac5e0
add esp, 8
push 0x10083bb0
lea ecx, [esp + 0xd0]
push ecx
call dword [0x10078124]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
push 0
push 0x80
push 2
push 0
mov dword [esp + 0xe8], ecx
add edx, eax
add ecx, esi
cmp dword [esp + 0x25c], 0
push 1
mov dword [esp + 0xf0], edi
mov dword [esp + 0xf4], edx
mov dword [esp + 0xe8], esi
mov dword [esp + 0x104], 0xc0000040
mov dword [esp + 0x18c], ebp
mov dword [esp + 0x188], 0x2000
mov dword [esp + 0x158], ecx
mov dword [esp + 0x128], eax
push 0x40000000
je 0xfb5f8c
mov eax, dword [esp + 0x78]
push eax
call fcn.00fa51c0
jmp 0xfb5f97
mov ecx, dword [esp + 0x78]
push ecx
call dword [0x100781c0]
mov esi, eax
cmp esi, 0xffffffff
jne 0xfb5ff7
mov eax, dword [esp + 0x50]
test eax, eax
je 0xfb5fb8
mov esi, dword [eax + 4]
push eax
call fcn.00f93630
add esp, 4
test esi, esi
mov eax, esi
jne 0xfb5fa6
mov eax, dword [esp + 0x30]
test eax, eax
je 0xfb5fd2
mov esi, dword [eax + 4]
push eax
call fcn.00f93630
add esp, 4
test esi, esi
mov eax, esi
jne 0xfb5fc0
mov eax, dword [esp + 0x28]
test eax, eax
je 0xfb5c62
mov edi, edi
mov esi, dword [eax + 4]
push eax
call fcn.00f93630
add esp, 4
test esi, esi
mov eax, esi
jne 0xfb5fe0
jmp 0xfb5c62
mov edi, dword [0x10078094]
push 0
lea edx, [esp + 0x18]
push edx
push 0x40
lea eax, [esp + 0x1f8]
push eax
push esi
call edi
push 0
lea ecx, [esp + 0x18]
push ecx
push 0xf8
lea edx, [esp + 0x100]
push edx
push esi
call edi
push 0
lea eax, [esp + 0x18]
push eax
push 0x28
lea ecx, [esp + 0x88]
push ecx
push esi
call edi
push 0
lea edx, [esp + 0x18]
push edx
push 0x28
lea eax, [esp + 0xb0]
push eax
push esi
call edi
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x28
lea edx, [esp + 0xd8]
push edx
push esi
call edi
mov byte [esp + 0x13], 0
mov dword [esp + 0x1c], 0x50
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
push ecx
push esi
call edi
sub dword [esp + 0x1c], 1
jne 0xfb6071
mov eax, dword [esp + 0x6c]
push 0
lea edx, [esp + 0x18]
push edx
push 0x200
push eax
push esi
call edi
mov edx, dword [esp + 0x48]
push 0
lea ecx, [esp + 0x18]
push ecx
push ebp
push edx
push esi
call edi
cmp ebp, ebx
jae 0xfb60c9
sub ebx, ebp
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
push ecx
push esi
call edi
sub ebx, 1
jne 0xfb60b3
lea edx, [esp + 0x78]
push 4
push edx
call fcn.00fac5e0
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x38]
add esp, 8
xor ebp, ebp
mov ecx, eax
mov edx, dword [ecx + 8]
add edx, dword [esp + 0x230]
push 4
mov dword [esp + 0x20], eax
push edx
lea eax, [esp + 0x64]
push eax
call fcn.00fac600
mov eax, dword [ebx + 8]
add esp, 0xc
test eax, eax
je 0xfb6133
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
add ecx, edx
add ecx, ebp
add ecx, dword [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x230]
lea edx, [eax + ecx + 2]
push edx
call dword [0x100780e0]
lea ebp, [eax + ebp + 3]
mov ebx, dword [ebx + 4]
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x68]
push ecx
push esi
call edi
push 0
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x84]
push eax
push esi
call edi
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x1c], ecx
je 0xfb6171
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
jmp 0xfb60e2
mov ebp, dword [esp + 0x28]
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x230]
add ebx, ecx
push ebx
call dword [0x100780e0]
push 0
lea edx, [esp + 0x18]
push edx
add eax, 1
push eax
push ebx
push esi
call edi
mov eax, ebp
cmp eax, dword [esp + 0x2c]
je 0xfb61cc
nop
mov ebp, dword [ebp + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x230]
lea ebx, [eax + ecx]
push ebx
call dword [0x100780e0]
push 0
lea edx, [esp + 0x18]
push edx
add eax, 1
push eax
push ebx
push esi
call edi
cmp ebp, dword [esp + 0x2c]
jne 0xfb61a0
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
cmp eax, ebx
jae 0xfb61f6
sub ebx, eax
lea ebx, [ebx]
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
push ecx
push esi
call edi
sub ebx, 1
jne 0xfb61e0
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x230]
mov ebx, dword [eax + 8]
test ebx, ebx
mov dword [esp + 0x1c], eax
je 0xfb622c
lea edx, [ebx + ebp + 2]
push edx
call dword [0x100780e0]
push 0
lea ecx, [esp + 0x18]
push ecx
add eax, 3
push eax
add ebx, ebp
push ebx
push esi
call edi
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x34]
je 0xfb6237
mov eax, dword [eax + 4]
jmp 0xfb6201
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
cmp eax, ebx
jae 0xfb625b
sub ebx, eax
push 0
lea edx, [esp + 0x18]
push edx
push 1
lea eax, [esp + 0x1f]
push eax
push esi
call edi
sub ebx, 1
jne 0xfb6245
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x20]
cmp eax, ebx
jae 0xfb6286
sub ebx, eax
lea esp, [esp]
push 0
lea ecx, [esp + 0x18]
push ecx
push 1
lea edx, [esp + 0x1f]
push edx
push esi
call edi
sub ebx, 1
jne 0xfb6270
push esi
call dword [0x1007810c]
mov eax, dword [esp + 0x50]
test eax, eax
je 0xfb62a7
mov esi, dword [eax + 4]
push eax
call fcn.00f93630
add esp, 4
test esi, esi
mov eax, esi
jne 0xfb6295
mov eax, dword [esp + 0x30]
test eax, eax
je 0xfb62c2
nop
mov esi, dword [eax + 4]
push eax
call fcn.00f93630
add esp, 4
test esi, esi
mov eax, esi
jne 0xfb62b0
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 4]
push eax
call fcn.00f93630
add esp, 4
test esi, esi
mov eax, esi
jne 0xfb62c6
mov eax, dword [esp + 0x48]
test eax, eax
je 0xfb62e9
push eax
call fcn.00fac7d0
add esp, 4
mov eax, dword [esp + 0x6c]
push eax
call fcn.00fac7d0
mov eax, dword [esp + 0x64]
add esp, 4
test eax, eax
je 0xfb6307
push eax
call fcn.00fac7d0
add esp, 4
mov eax, dword [esp + 0x234]
test eax, eax
je 0xfb631b
push eax
call fcn.00fac7d0
add esp, 4
mov eax, dword [esp + 0x240]
test eax, eax
je 0xfb632f
push eax
call fcn.00fac7d0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x21c
ret