Function at 0x466dc0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x58]
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
test eax, eax
mov ebp, esi
push edi
mov dword [esp + 0x10], ebp
jne 0x466e23
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x34]
mov edx, dword [esp + 0x60]
mov edi, dword [0x1008812c]
push 0x40
push 0x2000
push eax
push ecx
push edx
call edi
test eax, eax
push 0x40
je 0x466e11
mov ecx, dword [esi + 0x50]
mov edx, dword [esp + 0x64]
push 0x1000
push ecx
push eax
push edx
jmp 0x466e21
mov eax, dword [esi + 0x50]
mov ecx, dword [esp + 0x64]
push 0x101000
push eax
push 0
push ecx
call edi
push 4
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x50]
push 0x1000
push eax
push 0
mov dword [esp + 0x24], eax
call dword [0x10088220]
mov edx, dword [esp + 0x14]
mov edi, eax
push edx
push edi
mov dword [esp + 0x24], edi
call fcn.0045e3d0
mov eax, dword [esi + 0x54]
push eax
push ebx
push edi
call fcn.0045e3f0
movzx ecx, word [esi + 0x14]
add esp, 0x14
cmp word [ebp + 6], 0
lea esi, [esi + ecx + 0x18]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], 0
jbe 0x466f2a
lea edi, [esi + 0x10]
nop
mov ebx, dword [ebp + 0x3c]
mov edx, dword [edi - 8]
mov ecx, dword [edi + 4]
mov ebp, dword [edi]
mov dword [esp + 0x20], edx
xor edx, edx
lea eax, [ecx + ebp]
div ebx
mov esi, ecx
shr esi, 9
shl esi, 9
imul eax, ebx
test edx, edx
mov dword [esp + 0x18], eax
je 0x466ead
add dword [esp + 0x18], ebx
sub ecx, esi
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x38]
xor edx, edx
div ecx
imul eax, ecx
test edx, edx
je 0x466ec6
add eax, ecx
mov ecx, dword [esp + 0x18]
add eax, esi
cmp eax, ecx
jb 0x466ed2
mov eax, ecx
mov ebx, dword [edi - 4]
mov edx, dword [esp + 0x20]
add ebx, dword [esp + 0x1c]
push edx
sub eax, esi
push ebx
mov ebp, eax
call fcn.0045e3d0
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, ebp
jae 0x466ef5
mov ebp, eax
mov eax, dword [esp + 0x64]
push ebp
add esi, eax
push esi
push ebx
call fcn.0045e3f0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
movzx edx, word [ecx + 6]
add eax, 1
add esp, 0xc
add edi, 0x28
cmp eax, edx
mov dword [esp + 0x24], eax
mov ebp, ecx
jl 0x466e80
mov edi, dword [esp + 0x1c]
mov esi, dword [ebp + 0x80]
add esi, edi
cmp dword [esp + 0x70], 0
mov dword [esp + 0x24], esi
je 0x467098
mov eax, dword [esi + 0xc]
test eax, eax
je 0x467098
lea esp, [esp]
add eax, edi
push eax
mov dword [esp + 0x74], eax
call dword [0x100880dc]
mov ebx, dword [esi + 0x10]
mov ebp, eax
mov eax, dword [esi]
add ebx, edi
test eax, eax
jne 0x466f70
mov dword [esp + 0x64], ebx
jmp 0x466f76
add eax, edi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
test eax, eax
je 0x467082
jns 0x466fb3
cmp dword [esp + 0x78], 0
je 0x466fa1
movzx ecx, ax
push ecx
push ebp
call fcn.004669b0
add esp, 8
mov dword [ebx], eax
jmp 0x467066
movzx edx, ax
push edx
push ebp
call dword [0x100880b8]
mov dword [ebx], eax
jmp 0x467066
cmp dword [esp + 0x78], 0
lea esi, [eax + edi + 2]
push esi
push ebp
je 0x466fca
call fcn.004669b0
add esp, 8
jmp 0x466fd0
call dword [0x100880b8]
mov dword [ebx], eax
cmp dword [0x100a5964], 0
je 0x467066
push 0x10088e80
push eax
lea ecx, [esp + 0x44]
call fcn.00444c00
push eax
mov eax, dword [esp + 0x78]
push 0x100944c8
push esi
push 0x100944c4
push eax
push 0x100944b0
lea ecx, [esp + 0x4c]
call fcn.004596b0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.004585e0
mov ecx, eax
call fcn.00459770
mov ecx, eax
call fcn.004585e0
lea ecx, [esp + 0x30]
call fcn.004584a0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x467066
push eax
call fcn.0045e5b0
add esp, 4
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x64]
add eax, 4
mov dword [esp + 0x64], eax
mov eax, dword [eax]
add ebx, 4
test eax, eax
jne 0x466f84
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
mov dword [esp + 0x24], esi
jne 0x466f50
mov ebp, dword [esp + 0x10]
cmp dword [esp + 0x74], 0
je 0x46710f
mov ebx, dword [esp + 0x68]
mov ecx, dword [ebp + 0xa0]
sub ebx, dword [ebp + 0x34]
mov eax, dword [ebp + 0xa4]
add ecx, edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
je 0x46710f
test eax, eax
mov esi, ecx
jle 0x46710f
mov eax, dword [esi + 4]
sub eax, 8
shr eax, 1
test eax, eax
lea edx, [esi + 8]
jle 0x467105
mov dword [esp + 0x64], eax
movzx eax, word [edx]
movzx eax, ax
mov ecx, eax
shr ecx, 0xc
cmp ecx, 3
je 0x4670ec
cmp ecx, 0xa
jne 0x4670f7
and eax, 0xfff
add eax, dword [esi]
add eax, edi
add dword [eax], ebx
add edx, 2
sub dword [esp + 0x64], 1
jne 0x4670d7
mov ecx, dword [esp + 0x70]
mov esi, edx
sub edx, ecx
cmp edx, dword [esp + 0x74]
jl 0x4670c4
call dword [0x10088224]
mov esi, dword [esp + 0x60]
cmp eax, esi
mov ecx, dword [esp + 0x68]
jne 0x467136
mov ebx, dword [esp + 0x14]
push ebx
push edi
push ecx
call fcn.0045e3f0
add esp, 0xc
mov dword [esp + 0x28], ebx
jmp 0x467149
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push eax
push edi
push ecx
push esi
call dword [0x10088130]
cmp dword [esp + 0x6c], 0
je 0x467269
cmp word [ebp + 6], 0
mov dword [esp + 0x64], 0
jbe 0x467269
mov edi, dword [esp + 0x2c]
add edi, 0x24
mov edi, edi
mov eax, dword [edi]
mov esi, dword [edi - 0x18]
add esi, dword [esp + 0x68]
mov ebx, dword [edi - 0x1c]
mov edx, eax
shr edx, 0x1d
mov ecx, eax
shr ecx, 0x1e
and ecx, 1
and edx, 1
lea edx, [ecx + edx*2]
mov ecx, eax
shr ecx, 0x1f
test eax, 0x4000000
lea edx, [ecx + edx*2]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 8
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], 4
mov dword [esp + 0x4c], 0x10
mov dword [esp + 0x50], 0x80
mov dword [esp + 0x54], 0x20
mov dword [esp + 0x58], 0x40
mov ebp, dword [esp + edx*4 + 0x3c]
je 0x4671e8
or ebp, 0x200
call dword [0x10088224]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jne 0x467234
add ebx, esi
cmp esi, ebx
jae 0x467243
lea esp, [esp]
push 0x1c
lea eax, [esp + 0x40]
push eax
push esi
call dword [0x1008821c]
mov ecx, dword [esp + 0x48]
mov eax, ebx
sub eax, esi
cmp ecx, eax
jae 0x46721c
mov eax, ecx
lea ecx, [esp + 0x70]
push ecx
push ebp
push eax
push esi
call dword [0x10088078]
add esi, dword [esp + 0x48]
cmp esi, ebx
jb 0x467200
jmp 0x467243
lea edx, [esp + 0x70]
push edx
push ebp
push ebx
push esi
push ecx
call dword [0x10088134]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
movzx edx, word [ecx + 6]
add eax, 1
add edi, 0x28
cmp eax, edx
mov dword [esp + 0x64], eax
jl 0x467170
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x68]
push eax
push ebx
push esi
call dword [0x10088228]
push 0x8000
push 0
push edi
call dword [0x10088098]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x4c
ret