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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3aa8
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x1c]
sub esp, 0x60
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x470158
mov dword [eax], edi
mov eax, dword [esp + 0x90]
cmp eax, edi
je 0x470165
mov dword [eax], edi
lea ecx, [esp + 0x60]
call fcn.00470a60
mov eax, dword [esp + 0x80]
mov dword [esp + 0x78], edi
mov dword [esp + 0x68], edi
mov ecx, dword [eax + 8]
cmp ecx, edi
jne 0x470188
xor eax, eax
jmp 0x47018a
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.00470e90
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
mov esi, eax
mov dword [esp + 0x3c], eax
neg esi
sbb esi, esi
xor eax, eax
and esi, ecx
xor ecx, ecx
mov dword [esp + 0x14], esi
mov ebx, dword [esi + 0x3c]
add ebx, esi
mov dword [esp + 0x1c], ebx
mov cx, word [ebx + 0x14]
mov ax, word [ebx + 6]
mov dword [esp + 0x38], eax
lea ebp, [ecx + ebx + 0x18]
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x50], ebp
jle 0x4701f7
mov edx, dword [ebp + 0x24]
and edx, 0x20000020
cmp edx, 0x20000020
je 0x4701ef
inc ecx
add ebp, 0x28
cmp ecx, eax
jl 0x4701d4
jmp 0x4701f7
cmp ebp, edi
mov dword [esp + 0x54], ebp
jne 0x47021e
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xffffffff
call fcn.00470c60
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [ecx]
cmp eax, ecx
jb 0x470230
mov eax, ecx
push 4
push eax
call fcn.00470100
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ebp + 8]
mov dword [esp + 0x54], eax
add edi, eax
mov eax, dword [esp + 0x2c]
add edx, ecx
add esp, 8
mov dword [ebp + 8], edx
mov edx, dword [eax]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], edi
sub edx, eax
cmp edx, ecx
jl 0x4702b2
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x47028c
mov eax, dword [esp + 0x80]
mov edx, dword [eax + 8]
test edx, edx
jne 0x470284
xor eax, eax
jmp 0x470286
mov eax, dword [eax]
sub eax, esi
add eax, ebp
mov dword [ecx], eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xffffffff
call fcn.00470c60
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret
test byte [ebx + 0x17], 0x20
jne 0x4702df
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xffffffff
call fcn.00470c60
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret
lea eax, [edx + edi]
sub ecx, edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x3c]
push eax
push ecx
call fcn.00470100
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x38]
mov esi, eax
push ecx
mov eax, dword [edx]
mov dword [esp + 0x90], esi
push eax
call fcn.00470100
mov edx, dword [esp + 0x34]
mov ecx, dword [ebx + 0x38]
mov edi, eax
push ecx
mov eax, dword [edx]
add eax, esi
push eax
call fcn.00470100
mov ebp, dword [ebp + 0xc]
sub eax, edi
mov esi, eax
mov eax, dword [ebx + 0x74]
add esp, 0x18
add ebp, edi
lea ecx, [ebx + 0x78]
mov dword [esp + 0x18], esi
test eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], 0
jle 0x470604
mov eax, dword [ecx + 4]
test eax, eax
mov dword [esp + 0x58], eax
je 0x4705e5
mov eax, dword [esp + 0x50]
mov edx, dword [ecx]
mov dword [esp + 0x2c], 0
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jb 0x470376
mov edi, dword [eax + 0x10]
add edi, ecx
cmp edx, edi
jb 0x47038f
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
inc ecx
add eax, 0x28
cmp ecx, edi
mov dword [esp + 0x2c], ecx
jl 0x470366
jmp 0x4705e5
mov edi, dword [eax + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
sub edi, ecx
add edi, edx
add edi, eax
je 0x4705e5
mov eax, dword [esp + 0x30]
cmp eax, 0xc
ja case.0x4703ba.5
xor ecx, ecx
mov cl, byte [eax + 0x470998]
jmp dword [ecx*4 + 0x470980]
mov eax, dword [edi + 0x14]
test eax, eax
jbe 0x47054c
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x1c]
push 0
push edx
push eax
call fcn.0046fe50
add esp, 0xc
mov dword [esp + 0x2c], eax
test eax, eax
je 0x47054c
mov eax, dword [edi + 0x14]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x47054c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
push 0
push edx
mov eax, dword [ecx]
push eax
mov dword [esp + 0x54], eax
call fcn.0046fe50
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x47051e
cmp byte [ebx], 0xb8
jne 0x47051e
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
add eax, ecx
lea edx, [ebx + 0xa]
cmp edx, eax
mov dword [esp + 0x58], eax
ja 0x47051e
cmp byte [ebx + 5], 0xe9
jne 0x47051e
mov eax, dword [ebx + 6]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
push 0
lea eax, [eax + ecx + 0xa]
push edx
push eax
mov dword [esp + 0x34], eax
call fcn.0046fe50
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4704e4
mov ecx, dword [esp + 0x58]
lea eax, [esi + 0x1f9]
cmp eax, ecx
ja 0x4704e4
mov eax, dword [esi + 0x1ed]
add esi, 0x1ed
cmp eax, 0xe8
jne 0x4704e4
cmp dword [esi + 4], 0x24048100
jne 0x4704e4
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 8]
lea eax, [ecx + 0x1f2]
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], eax
add edx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], edx
push eax
push ebp
push ecx
call fcn.004709b0
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x4c]
push edx
push ebp
push eax
call fcn.004709b0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
add esp, 0x18
sub ecx, eax
mov dword [esi + 8], ecx
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x28]
push esi
push ebp
push edx
call fcn.004709b0
mov eax, dword [esp + 0x54]
push esi
lea ecx, [esp + 0x5c]
add eax, 5
push ebp
push ecx
mov dword [esp + 0x64], eax
call fcn.004709b0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
sub edx, ecx
add esp, 0x18
sub edx, 5
mov dword [ebx + 6], edx
mov ebx, dword [esp + 0x2c]
push esi
push ebp
push ebx
call fcn.004709b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x14]
add esp, 0xc
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ebx
jl 0x4703fe
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0x18]
test eax, eax
jbe 0x4705a7
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x20]
push 0
push eax
push ecx
call fcn.0046fe50
add esp, 0xc
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4705a7
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x4705a7
mov edx, dword [esp + 0x2c]
push esi
push ebp
push edx
call fcn.004709b0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0x18]
add esp, 0xc
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
jl 0x47057d
push esi
lea eax, [edi + 0xc]
push ebp
push eax
call fcn.004709b0
push esi
lea ecx, [edi + 0x1c]
push ebp
push ecx
call fcn.004709b0
push esi
lea edx, [edi + 0x20]
push ebp
push edx
call fcn.004709b0
push esi
add edi, 0x24
push ebp
push edi
call fcn.004709b0
add esp, 0x30
mov ecx, dword [esp + 0x34]
push esi
push ebp
push ecx
call fcn.004709b0
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 0x74]
inc eax
add ecx, 8
cmp eax, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
jl 0x470349
mov edx, dword [esp + 0x54]
mov eax, 0x66666667
lea edi, [edx + 0x28]
mov edx, dword [esp + 0x50]
mov ecx, edi
sub ecx, edx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x38]
cmp edx, eax
jge 0x470693
add edi, 0x14
sub eax, edx
mov dword [esp + 0x50], eax
push esi
lea ecx, [edi - 8]
push ebp
push ecx
call fcn.004709b0
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x2c]
push edx
push eax
push edi
call fcn.004709b0
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x38]
push ecx
lea eax, [edi + 4]
push edx
push eax
call fcn.004709b0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x44]
push ecx
lea eax, [edi + 8]
push edx
push eax
call fcn.004709b0
mov eax, dword [esp + 0x80]
add esp, 0x30
add edi, 0x28
dec eax
mov dword [esp + 0x50], eax
jne 0x470635
mov edi, dword [esp + 0x84]
mov ecx, dword [esp + 0x20]
push edi
lea edx, [ebx + 0xc]
push ecx
push edx
call fcn.004709b0
push esi
lea eax, [ebx + 0x28]
push ebp
push eax
call fcn.004709b0
push esi
lea ecx, [ebx + 0x2c]
push ebp
push ecx
call fcn.004709b0
push esi
lea edx, [ebx + 0x30]
push ebp
push edx
call fcn.004709b0
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x1c]
add eax, esi
add ecx, edi
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [eax]
add esp, 0x30
add edx, edi
mov dword [eax], edx
mov eax, dword [esp + 0x54]
sub eax, ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x3c]
add eax, edi
push eax
call fcn.00470b50
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x3c]
sub eax, ecx
push eax
lea ecx, [ebx + edi]
push ebx
push ecx
call fcn.004919c0
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 0xc
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x60]
push eax
call fcn.00470da0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x47075b
mov ecx, eax
mov dword [ecx], ebp
mov eax, dword [esp + 0x90]
test eax, eax
je 0x470768
mov dword [eax], esi
mov eax, dword [esp + 0x88]
test eax, eax
je 0x470782
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x14]
add edx, ecx
mov dword [eax], edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xffffffff
call fcn.00470c60
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret
push esi
push ebp
push edi
push edi
call fcn.004709d0
add esp, 0x10
jmp case.0x4703ba.4
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x48], eax
jle case.0x4703ba.4
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
push 0
push eax
push ecx
call fcn.0046fe50
add esp, 0xc
mov dword [esp + 0x58], eax
test eax, eax
je 0x47086a
mov ebx, dword [edi + 4]
lea edx, [edi + 8]
sub ebx, 8
mov dword [esp + 0x2c], edx
shr ebx, 1
test ebx, ebx
mov dword [esp + 0x10], 0
jle 0x47086a
mov eax, dword [esp + 0x2c]
xor esi, esi
mov si, word [eax]
mov eax, esi
shr eax, 0xc
je 0x470852
cmp eax, 3
jne case.0x4703ba.5
mov ecx, dword [esp + 0x58]
and esi, 0xfff
add esi, ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x34]
mov eax, dword [esi]
sub eax, edx
mov dword [esi], eax
mov eax, dword [esp + 0x18]
push eax
push ebp
push esi
call fcn.004709b0
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 0x34]
add eax, edx
mov dword [esi], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
inc eax
add edx, 2
cmp eax, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
jl 0x470804
mov eax, dword [esp + 0x18]
push eax
push ebp
push edi
call fcn.004709b0
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x54]
lea eax, [edi + 4]
mov edx, esi
sub ecx, edx
add esp, 0xc
add edi, esi
mov dword [esp + 0x48], ecx
test ecx, ecx
jg 0x4707cb
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp case.0x4703ba.4
add edi, 0x10
mov eax, dword [edi - 0xc]
test eax, eax
jne 0x4708b7
mov eax, dword [edi - 4]
test eax, eax
je case.0x4703ba.4
mov eax, dword [edi - 0x10]
lea ecx, [edi - 0x10]
test eax, eax
jne 0x4708ca
cmp dword [edi], 0
je case.0x4703ba.4
mov edx, dword [edi - 8]
test edx, edx
je 0x4708da
cmp edx, 0xffffffff
jne case.0x4703ba.5
xor ebx, ebx
xor edx, edx
cmp eax, dword [edi]
mov dword [esp + 0x10], ebx
setne dl
inc edx
test edx, edx
jle 0x470953
test ebx, ebx
je 0x4708f2
mov eax, dword [edi]
test eax, eax
je 0x470936
mov ecx, dword [esp + 0x14]
push 0
push ecx
push eax
call fcn.0046fe50
mov esi, eax
add esp, 0xc
test esi, esi
je 0x470936
mov eax, dword [esi]
test eax, eax
je 0x470936
mov ebx, dword [esp + 0x18]
test eax, 0x80000000
jne 0x470928
push ebx
push ebp
push esi
call fcn.004709b0
add esp, 0xc
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x470916
mov ebx, dword [esp + 0x10]
mov eax, dword [edi - 0x10]
mov esi, dword [edi]
lea ecx, [edi - 0x10]
inc ebx
xor edx, edx
cmp eax, esi
setne dl
inc edx
mov dword [esp + 0x10], ebx
cmp ebx, edx
jl 0x4708ec
mov esi, dword [esp + 0x18]
push esi
push ebp
push ecx
call fcn.004709b0
push esi
lea eax, [edi - 4]
push ebp
push eax
call fcn.004709b0
push esi
push ebp
push edi
call fcn.004709b0
mov ebx, dword [esp + 0x40]
add esp, 0x24
add edi, 0x14
jmp 0x4708a5