Function at 0x447120
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 0x447183
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x34]
mov edx, dword [esp + 0x60]
mov edi, dword [0x10087128]
push 0x40
push 0x2000
push eax
push ecx
push edx
call edi
test eax, eax
push 0x40
je 0x447171
mov ecx, dword [esi + 0x50]
mov edx, dword [esp + 0x64]
push 0x1000
push ecx
push eax
push edx
jmp 0x447181
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 [0x1008721c]
mov edx, dword [esp + 0x14]
mov edi, eax
push edx
push edi
mov dword [esp + 0x24], edi
call fcn.0043e760
mov eax, dword [esi + 0x54]
push eax
push ebx
push edi
call fcn.0043e780
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 0x44728a
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 0x44720d
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 0x447226
add eax, ecx
mov ecx, dword [esp + 0x18]
add eax, esi
cmp eax, ecx
jb 0x447232
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.0043e760
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, ebp
jae 0x447255
mov ebp, eax
mov eax, dword [esp + 0x64]
push ebp
add esi, eax
push esi
push ebx
call fcn.0043e780
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 0x4471e0
mov edi, dword [esp + 0x1c]
mov esi, dword [ebp + 0x80]
add esi, edi
cmp dword [esp + 0x70], 0
mov dword [esp + 0x24], esi
je 0x4473f8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4473f8
lea esp, [esp]
add eax, edi
push eax
mov dword [esp + 0x74], eax
call dword [0x100870d8]
mov ebx, dword [esi + 0x10]
mov ebp, eax
mov eax, dword [esi]
add ebx, edi
test eax, eax
jne 0x4472d0
mov dword [esp + 0x64], ebx
jmp 0x4472d6
add eax, edi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
test eax, eax
je 0x4473e2
jns 0x447313
cmp dword [esp + 0x78], 0
je 0x447301
movzx ecx, ax
push ecx
push ebp
call fcn.00446d20
add esp, 8
mov dword [ebx], eax
jmp 0x4473c6
movzx edx, ax
push edx
push ebp
call dword [0x100870b4]
mov dword [ebx], eax
jmp 0x4473c6
cmp dword [esp + 0x78], 0
lea esi, [eax + edi + 2]
push esi
push ebp
je 0x44732a
call fcn.00446d20
add esp, 8
jmp 0x447330
call dword [0x100870b4]
mov dword [ebx], eax
cmp dword [0x100a4968], 0
je 0x4473c6
push 0x10087e78
push eax
lea ecx, [esp + 0x44]
call fcn.00425a40
push eax
mov eax, dword [esp + 0x78]
push 0x10093460
push esi
push 0x1009345c
push eax
push 0x10093448
lea ecx, [esp + 0x4c]
call fcn.00439e80
mov ecx, eax
call fcn.00438db0
mov ecx, eax
call fcn.00438db0
mov ecx, eax
call fcn.00438db0
mov ecx, eax
call fcn.00438db0
mov ecx, eax
call fcn.00438db0
mov ecx, eax
call fcn.00439f40
mov ecx, eax
call fcn.00438db0
lea ecx, [esp + 0x30]
call fcn.00438c70
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4473c6
push eax
call fcn.0043e950
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 0x4472e4
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
mov dword [esp + 0x24], esi
jne 0x4472b0
mov ebp, dword [esp + 0x10]
cmp dword [esp + 0x74], 0
je 0x44746f
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 0x44746f
test eax, eax
mov esi, ecx
jle 0x44746f
mov eax, dword [esi + 4]
sub eax, 8
shr eax, 1
test eax, eax
lea edx, [esi + 8]
jle 0x447465
mov dword [esp + 0x64], eax
movzx eax, word [edx]
movzx eax, ax
mov ecx, eax
shr ecx, 0xc
cmp ecx, 3
je 0x44744c
cmp ecx, 0xa
jne 0x447457
and eax, 0xfff
add eax, dword [esi]
add eax, edi
add dword [eax], ebx
add edx, 2
sub dword [esp + 0x64], 1
jne 0x447437
mov ecx, dword [esp + 0x70]
mov esi, edx
sub edx, ecx
cmp edx, dword [esp + 0x74]
jl 0x447424
call dword [0x10087220]
mov esi, dword [esp + 0x60]
cmp eax, esi
mov ecx, dword [esp + 0x68]
jne 0x447496
mov ebx, dword [esp + 0x14]
push ebx
push edi
push ecx
call fcn.0043e780
add esp, 0xc
mov dword [esp + 0x28], ebx
jmp 0x4474a9
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push eax
push edi
push ecx
push esi
call dword [0x1008712c]
cmp dword [esp + 0x6c], 0
je 0x4475c9
cmp word [ebp + 6], 0
mov dword [esp + 0x64], 0
jbe 0x4475c9
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 0x447548
or ebp, 0x200
call dword [0x10087220]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jne 0x447594
add ebx, esi
cmp esi, ebx
jae 0x4475a3
lea esp, [esp]
push 0x1c
lea eax, [esp + 0x40]
push eax
push esi
call dword [0x10087218]
mov ecx, dword [esp + 0x48]
mov eax, ebx
sub eax, esi
cmp ecx, eax
jae 0x44757c
mov eax, ecx
lea ecx, [esp + 0x70]
push ecx
push ebp
push eax
push esi
call dword [0x10087154]
add esi, dword [esp + 0x48]
cmp esi, ebx
jb 0x447560
jmp 0x4475a3
lea edx, [esp + 0x70]
push edx
push ebp
push ebx
push esi
push ecx
call dword [0x10087130]
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 0x4474d0
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 [0x10087224]
push 0x8000
push 0
push edi
call dword [0x10087094]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x4c
ret