Function at 0x487094
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x120
mov dword [ebp - 0xc], 0x4f7774
mov dword [ebp - 0x90], 0
lea eax, [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
add eax, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xe0]
je 0x4871bc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0xa0], 0
je 0x487133
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], eax
cmp dword [ebp - 0x9c], 0
jne 0x487147
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
jmp 0x4871c3
mov esi, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x58]
movzx eax, word [eax + ecx*2]
cmp eax, 0
je 0x48719f
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x58]
movzx ecx, word [eax + ecx*2]
call fcn.00487004
movzx eax, ax
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
jmp 0x487167
cmp esi, dword [ebp - 0x74]
jne 0x4871af
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
jmp 0x4871c3
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
jmp 0x487107
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
add eax, 0xc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xd4]
je 0x4872d8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x98], 0
je 0x48724f
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x98]
mov dword [ecx], eax
cmp dword [ebp - 0x94], 0
jne 0x487263
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x64], eax
jmp 0x4872df
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x5c]
movzx eax, word [eax + ecx*2]
cmp eax, 0
je 0x4872bb
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x5c]
movzx ecx, word [eax + ecx*2]
call fcn.00487004
movzx eax, ax
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
jmp 0x487283
cmp esi, dword [ebp - 0x78]
jne 0x4872cb
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x64], eax
jmp 0x4872df
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
jmp 0x487223
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x40]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jne 0x48730f
mov dword [ebp - 0x70], 0
jmp 0x487436
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10c]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x54]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x54]
cmp eax, dword [ecx + 0x18]
jae 0x48742f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x3c]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x2c]
movsx eax, byte [eax + ecx]
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x2c]
movsx ecx, byte [ecx + edx]
cmp eax, ecx
jne 0x4873d9
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x2c]
movsx eax, byte [eax + ecx]
cmp eax, 0
je 0x4873c8
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x2c]
movsx eax, byte [eax + ecx]
cmp eax, 0
jne 0x4873ce
mov byte [ebp - 0x11], 1
jmp 0x4873dd
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x487386
mov byte [ebp - 0x11], 0
test byte [ebp - 0x11], 1
jne 0x4873e5
jmp 0x487421
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x54]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x54]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0xfc]
mov esi, dword [ebp - 0x3c]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x70], eax
jmp 0x487436
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
jmp 0x487343
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x4874a9
mov ecx, dword [ebp - 0xc4]
call fcn.00487044
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x34]
cmp eax, dword [ecx]
je 0x4874a7
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x34]
cmp eax, dword [ecx + 4]
je 0x4874a7
xor eax, eax
mov dword [esp], 0
call dword [ebp - 0x88]
sub esp, 4
jmp 0x487799
jmp 0x4874a9
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
call dword [sym.imp.kernel32.dll_VirtualAlloc]
sub esp, 0x10
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 4]
cmp eax, ecx
jae 0x487531
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + ecx]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x10]
mov dword [ecx + edx], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
jmp 0x487501
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x487555
mov dword [ebp - 0x6c], 0
jmp 0x48767c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xf4]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x50]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x50]
cmp eax, dword [ecx + 0x18]
jae 0x487675
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0x38]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x30]
movsx eax, byte [eax + ecx]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0x30]
movsx ecx, byte [ecx + edx]
cmp eax, ecx
jne 0x48761f
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x30]
movsx eax, byte [eax + ecx]
cmp eax, 0
je 0x48760e
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x30]
movsx eax, byte [eax + ecx]
cmp eax, 0
jne 0x487614
mov byte [ebp - 0x12], 1
jmp 0x487623
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
jmp 0x4875cc
mov byte [ebp - 0x12], 0
test byte [ebp - 0x12], 1
jne 0x48762b
jmp 0x487667
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x50]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x50]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xe4]
mov esi, dword [ebp - 0x38]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x6c], eax
jmp 0x48767c
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
jmp 0x487589
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x48768d
jmp 0x487787
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x2c]
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x7c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
call eax
sub esp, 0x10
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x1c]
add eax, ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x2c]
cmp eax, ecx
jae 0x487718
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + ecx]
add eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ecx + edx], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
jmp 0x4876e5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x24]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x2c]
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x7c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
call eax
sub esp, 0x10
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x28]
add eax, ecx
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x18]
mov dword [esp], ecx
call eax
xor eax, eax
mov dword [esp], 0
call dword [ebp - 0x88]
sub esp, 4
add esp, 0x120
pop esi
pop edi
pop ebp
ret