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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x17a4
call fcn.0045a8a0
mov eax, dword [0x48b114]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov ebx, dword [esi + 0x3f0]
mov dword [esp + 0x17a8], eax
mov eax, dword [esi + 0x3e0]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x228]
test eax, eax
push edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x90], ebx
jne 0x4252fc
mov edx, dword [ecx + 0x188]
test edx, edx
jne 0x4252f7
xor edx, edx
jmp 0x425302
mov edx, dword [ecx + 0x78]
jmp 0x425302
mov edx, dword [ecx + 0x1c0]
test eax, eax
mov dword [esp + 0x40], edx
jne 0x42531d
mov eax, dword [ecx + 0x188]
test eax, eax
jne 0x425318
xor eax, eax
jmp 0x425323
mov eax, dword [ecx + 0x7c]
jmp 0x425323
mov eax, dword [ecx + 0x1bc]
mov dword [esp + 0x34], eax
call fcn.0043cfe0
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x60], ecx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425340
sub eax, edx
mov dword [esp + 0x30], eax
xor eax, eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0xca8]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x14a8]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x4a8]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x10a8]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esp + 0x8a8]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x554]
mov eax, dword [esi + 0x54c]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], ecx
jge 0x4253c4
lea edx, [eax + ecx]
test edx, edx
jge 0x4253c4
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x34]
add ecx, eax
cmp edx, ecx
jae 0x4253dc
sub edx, eax
cmp ecx, esi
mov dword [esp + 0x18], edx
jge 0x4253dc
mov dword [esp + 0x18], esi
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x4c]
push eax
call fcn.0043c8f0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x550]
shl eax, 1
xor edi, edi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], edi
jle 0x425558
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x14a8]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14]
movsx edx, byte [ecx]
push edx
call fcn.0045bae2
add esp, 4
test eax, eax
je 0x425474
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 2
push eax
push ecx
call fcn.0045af60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
add esp, 0xc
lea edx, [esp + 0x74]
push edx
push 2
push eax
push ecx
call dword [0x47e040]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ecx
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x42549f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push 1
push edx
push eax
call fcn.0045af60
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
add esp, 0xc
lea ecx, [esp + 0x74]
push ecx
push 1
push edx
push eax
call dword [0x47e040]
mov eax, dword [esp + 0x74]
shl eax, 1
xor ecx, ecx
cmp esi, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
mov dword [esp + edi*4 + 0xca8], eax
mov dword [esp + edi*4 + 0x4a8], ecx
mov dword [esp + edi*4 + 0xa8], eax
jge 0x4254e4
lea edx, [eax + esi]
test edx, edx
mov dword [esp + edi*4 + 0x4a8], esi
jge 0x4254e4
mov dword [esp + edi*4 + 0x4a8], ecx
mov dword [esp + edi*4 + 0xa8], ecx
mov ecx, dword [esp + 0x40]
lea edx, [eax + esi]
cmp ecx, edx
jae 0x425510
sub eax, ecx
add eax, esi
cmp ecx, esi
mov dword [esp + edi*4 + 0xa8], eax
jae 0x425510
xor eax, eax
mov dword [esp + edi*4 + 0x4a8], eax
mov dword [esp + edi*4 + 0xa8], eax
jmp 0x425512
xor eax, eax
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov dword [esp + edi*4 + 0x10a8], eax
mov eax, dword [esp + 0x18]
add edx, 3
add esi, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + edi*4 + 0x8a8], eax
mov eax, dword [esp + 0x10]
inc edi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x14]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x425421
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x4c]
mov esi, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.0043c930
mov ecx, esi
call fcn.0043c970
mov ecx, dword [esp + 0x3c]
add ecx, 0x194
mov dword [esp + 0x68], eax
mov dword [esp + 0x84], ecx
call fcn.0043c970
mov edi, dword [esp + 0x3c]
mov edx, dword [edi + 0x53c]
mov ecx, dword [edi + 0x540]
mov esi, eax
mov eax, 1
mov dword [esp + 0x58], edx
mov edx, dword [edi + 0x544]
mov dword [edi + 0x53c], eax
mov dword [edi + 0x540], eax
mov dword [edi + 0x544], eax
mov eax, dword [edi + 0x554]
mov dword [esp + 0x5c], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x44], edx
mov edx, dword [edi + 0x550]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x80], eax
lea ecx, [eax + eax]
lea eax, [edx + edx]
test eax, eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], edx
mov dword [esp + 0x30], 0
jge 0x425608
xor eax, eax
test ecx, ecx
jge 0x42560e
xor ecx, ecx
mov dword [edi + 0x550], eax
mov eax, dword [edi + 0x3dc]
push 0x47f3a2
mov dword [edi + 0x554], ecx
push eax
mov ecx, edi
call fcn.004227f0
mov eax, dword [edi + 0x54c]
imul eax, dword [esp + 0x40]
add eax, dword [edi + 0x548]
mov ecx, dword [esp + 0x58]
imul ecx, ecx, 0x1f
mov dword [esp + 0x8c], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x5c]
imul edx, edx, 0x3f
mov dword [esp + 0x2c], edx
mov eax, 0x80808081
imul edx
add edx, dword [esp + 0x2c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x44]
imul edx, edx, 0x1f
shl ecx, 6
or ecx, eax
mov dword [esp + 0x2c], edx
mov eax, 0x80808081
imul edx
add edx, dword [esp + 0x2c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
shl ecx, 5
or ecx, eax
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x14], 0
jle 0x425c5a
lea ecx, [esp + 0x14a8]
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov edx, dword [esp + 0x88]
test edx, edx
jle 0x42576b
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0xca8]
mov edi, dword [esp + 0x70]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
sub edi, ebx
dec edx
mov eax, 0x88888889
mul edx
shr edx, 0xa
inc edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edx
jmp 0x425720
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edi, edi
mov edx, dword [esp + 0x10]
add edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add ecx, 0x780
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
jne 0x425716
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x425772
sub eax, ecx
mov ecx, dword [edi + 0x3dc]
push eax
mov eax, dword [esp + 0x1c]
push eax
push 8
push 8
push ecx
call dword [0x47e03c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + edx*4 + 0x4a8]
mov edx, dword [esp + edx*4 + 0xa8]
mov dword [esp + 0x64], ecx
sub ecx, edx
add ecx, 0x140
lea ecx, [ecx + ecx*2]
shl ecx, 1
mov dword [esp + 0x50], ecx
mov ecx, edx
mov dword [esp + 0xa4], edx
sub ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
shl ecx, 1
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + edx*4 + 0x8a8]
mov edx, dword [esp + edx*4 + 0x10a8]
sub ecx, edx
shl ecx, 1
test ecx, ecx
mov eax, 0x3c18
jle 0x4258f3
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], ecx
jmp 0x425800
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x4258d0
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x70]
mov dword [esp + 0xc], edx
mov edx, edi
sub edx, ebx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
lea ecx, [eax + ebx]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
nop
mov edx, dword [esp + 0x24]
cmp byte [ecx + edx], 0
jne 0x42589b
movzx edx, byte [eax + edi - 3]
movzx ecx, byte [eax + edi - 0x780]
add ecx, edx
movzx edx, byte [eax + edi + 0x780]
add ecx, edx
movzx edx, byte [eax + edi + 3]
add ecx, edx
je 0x425867
mov ecx, dword [esp + 0xc]
mov word [ecx], 0x7bef
jmp 0x4258a7
mov edx, dword [esp + 0xc]
mov word [edx], 0
movzx edx, byte [eax + edi - 6]
movzx ecx, byte [eax + edi - 0xf00]
add ecx, edx
movzx edx, byte [eax + edi + 0xf00]
add ecx, edx
movzx edx, byte [eax + edi + 6]
add ecx, edx
mov ecx, dword [esp + 0x10]
setne dl
mov byte [ecx], dl
jmp 0x4258ae
mov cx, word [esp + 0x7c]
mov edx, dword [esp + 0xc]
mov word [edx], cx
mov ecx, dword [esp + 0x10]
mov byte [ecx], 1
add dword [esp + 0xc], 2
mov edx, dword [esp + 0x20]
add ecx, 3
add eax, 3
dec edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
jne 0x425830
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x38]
add edx, 0x500
dec ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], ecx
jne 0x425800
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x8c]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0xca8]
neg eax
add ecx, eax
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + eax*4 + 0x8a8]
mov eax, dword [esp + eax*4 + 0x10a8]
cmp eax, ecx
mov edx, 0x3c18
mov dword [esp + 0x20], edx
jge 0x425c29
lea ecx, [eax + eax*4]
shl ecx, 7
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + ecx*4 + 0x8a8]
sub ecx, eax
mov dword [esp + 0x2c], ecx
lea esp, [esp]
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0xa4]
mov dword [esp + 0x38], eax
jge 0x425bf1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0xa8]
mov dword [esp + 0x94], ecx
jmp 0x4259a0
movzx edi, byte [ebx + edx + 0x783]
movzx eax, byte [ebx + edx - 0x783]
movzx ecx, byte [ebx + edx - 3]
and eax, edi
movzx edi, byte [ebx + edx + 3]
and edi, ecx
movzx ecx, byte [ebx + edx + 0x77d]
or eax, edi
mov edi, ecx
movzx ecx, byte [ebx + edx - 0x77d]
and edi, ecx
movzx ecx, byte [ebx + edx - 0x780]
or eax, edi
mov edi, ecx
movzx ecx, byte [ebx + edx + 0x780]
and edi, ecx
or eax, edi
movzx edi, byte [ebx + edx]
and eax, edi
movzx edi, byte [ebx + edx - 0x780]
add eax, edi
movzx edi, byte [ebx + edx]
add eax, edi
movzx edi, byte [ebx + edx + 3]
add eax, edi
movzx edi, byte [ebx + edx - 3]
add eax, edi
movzx edi, byte [ebx + edx + 0x77d]
add eax, edi
movzx edi, byte [ebx + edx - 0x77d]
add eax, edi
add eax, ecx
je 0x425bc5
imul eax, eax, 0xff
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
sar eax, 3
add ecx, edx
mov ebx, eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
movzx edx, byte [eax + edx]
mov edi, 0xff
sub edi, ebx
imul edi, edx
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov edi, edx
shl ecx, 1
shr edi, 0x1f
add edi, edx
movzx edx, word [esi + ecx*2 + 0x502]
lea eax, [edi + ebx]
mov dword [esp + 0x10], eax
movzx eax, word [esi + ecx*2 + 0x500]
mov dword [esp + 0x24], eax
movzx eax, word [esi + ecx*2 + 2]
mov dword [esp + 0x28], eax
movzx eax, word [esi + ecx*2]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0xc]
movzx esi, word [ecx + esi*2]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x54], eax
and eax, 0xf800
mov dword [esp + 0x6c], edx
and ecx, 0xf800
add eax, ecx
mov ecx, dword [esp + 0x24]
and edx, 0xf800
and ecx, 0xf800
add eax, ecx
add eax, edx
sar eax, 0xd
and eax, 0x1f
shl eax, 3
imul eax, ebx
mov edx, esi
shr edx, 8
and edx, 0xf8
imul edx, edi
add eax, edx
xor edx, edx
div dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
and ecx, 0x7e0
and edx, 0x7e0
shr eax, 3
shl eax, 6
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
and eax, 0x7e0
add eax, ecx
mov ecx, dword [esp + 0x6c]
add eax, edx
and ecx, 0x7e0
add eax, ecx
sar eax, 7
and eax, 0x3f
shl eax, 2
mov edx, esi
imul eax, ebx
shr edx, 3
and edx, 0xfc
imul edx, edi
add eax, edx
xor edx, edx
div dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
shr eax, 2
or ecx, eax
mov eax, dword [esp + 0x54]
shl ecx, 5
and eax, 0x1f
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x28]
and ecx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x24]
and ecx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x6c]
and ecx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x10]
shl eax, 1
and esi, 0x1f
and eax, 0xf8
imul eax, ebx
shl esi, 3
imul esi, edi
add eax, esi
xor edx, edx
div ecx
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x90]
shr eax, 3
or edx, eax
mov eax, dword [esp + 0xc]
mov word [esi + eax*2], dx
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0xa0]
mov byte [eax + edx], cl
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
inc ecx
add edx, 6
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x94]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
jl 0x4259a0
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xc]
add ecx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x2c]
add ecx, 0x280
dec eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
jne 0x425970
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0xca8]
mov edx, dword [esp + 0x30]
add edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
inc eax
add edx, 3
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jl 0x4256d0
mov eax, dword [edi + 0x42c]
test eax, eax
je 0x425c8d
mov edx, dword [edi + 0x3dc]
push eax
push edx
call dword [0x47e06c]
mov eax, dword [edi + 0x428]
push eax
call dword [0x47e058]
xor eax, eax
mov dword [edi + 0x428], eax
mov dword [edi + 0x42c], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
mov dword [edi + 0x53c], ecx
mov ecx, dword [esp + 0x9c]
mov dword [edi + 0x540], edx
mov edx, dword [esp + 0x80]
mov dword [edi + 0x550], ecx
mov ecx, dword [esp + 0x84]
mov dword [edi + 0x544], eax
mov dword [edi + 0x554], edx
call fcn.0043c9e0
mov ecx, dword [ebp + 8]
call fcn.0043c9e0
mov ecx, dword [esp + 0x17ac]
mov al, 1
call fcn.0045a5f9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8