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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x179c
call fcn.0047ad40
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x3e0]
mov ecx, dword [ebp + 8]
mov ebx, dword [esi + 0x3f0]
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 0x4358f2
mov edx, dword [ecx + 0x78]
jmp 0x4358f8
mov edx, dword [ecx + 0x1c0]
test eax, eax
mov dword [esp + 0x40], edx
jne 0x435909
mov eax, dword [ecx + 0x7c]
mov dword [esp + 0x34], eax
jmp 0x435913
mov edx, dword [ecx + 0x1bc]
mov dword [esp + 0x34], edx
call fcn.004608c0
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435925
sub eax, edx
mov dword [esp + 0x30], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x8a8]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x10a8]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x4a8]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x13a8]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xca8]
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 0x4359a9
lea edx, [eax + ecx]
test edx, edx
jge 0x4359a9
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x34]
add ecx, eax
cmp edx, ecx
jae 0x4359c1
sub edx, eax
cmp ecx, esi
mov dword [esp + 0x18], edx
jge 0x4359c1
mov dword [esp + 0x18], esi
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x4c]
push eax
call fcn.0044a510
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 0x435b3d
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x10a8]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14]
movsx edx, byte [ecx]
push edx
call fcn.0047b292
add esp, 4
test eax, eax
je 0x435a59
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 2
push eax
push ecx
call fcn.0047a710
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 [0x49e02c]
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 0x435a84
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push 1
push edx
push eax
call fcn.0047a710
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 [0x49e02c]
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 + 0x8a8], eax
mov dword [esp + edi*4 + 0x4a8], ecx
mov dword [esp + edi*4 + 0xa8], eax
jge 0x435ac9
lea edx, [eax + esi]
test edx, edx
mov dword [esp + edi*4 + 0x4a8], esi
jge 0x435ac9
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 0x435af5
sub eax, ecx
add eax, esi
cmp ecx, esi
mov dword [esp + edi*4 + 0xa8], eax
jae 0x435af5
xor eax, eax
mov dword [esp + edi*4 + 0x4a8], eax
mov dword [esp + edi*4 + 0xa8], eax
jmp 0x435af7
xor eax, eax
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov dword [esp + edi*4 + 0x13a8], eax
mov eax, dword [esp + 0x18]
add edx, 3
add esi, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + edi*4 + 0xca8], 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 0x435a06
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x4c]
mov esi, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.0044a550
mov ecx, esi
call fcn.0044a870
mov ecx, dword [esp + 0x3c]
add ecx, 0x194
mov dword [esp + 0x68], eax
mov dword [esp + 0x84], ecx
call fcn.0044a870
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 + 0x98], esi
mov dword [esp + 0x9c], edx
mov dword [esp + 0x30], 0
jge 0x435bed
xor eax, eax
test ecx, ecx
jge 0x435bf3
xor ecx, ecx
mov dword [edi + 0x550], eax
mov eax, dword [edi + 0x3dc]
push 0x49f285
mov dword [edi + 0x554], ecx
push eax
mov ecx, edi
call fcn.00430530
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 0x43624a
lea ecx, [esp + 0x10a8]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x88]
test edx, edx
jle 0x435d4b
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x8a8]
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 0x435d00
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
nop
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 0x435cf7
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435d52
sub eax, edx
cmp dword [edi + 0x538], 0xa8c
mov edx, dword [edi + 0x3dc]
mov ecx, 8
jne 0x435d7b
mov ecx, dword [edi + 0x554]
add ecx, 8
push eax
mov eax, dword [esp + 0x1c]
push eax
push 8
push ecx
push edx
call dword [0x49e04c]
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 + 0xa0], 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 + 0xca8]
mov edx, dword [esp + edx*4 + 0x13a8]
sub ecx, edx
shl ecx, 1
test ecx, ecx
mov eax, 0x3c18
jle 0x435ee3
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x435ec0
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 0x435e8b
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 0x435e57
mov ecx, dword [esp + 0xc]
mov word [ecx], 0x7bef
jmp 0x435e97
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 0x435e9e
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 0x435e20
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 0x435df0
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 + 0x8a8]
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 + 0xa4], ecx
mov ecx, dword [esp + eax*4 + 0xca8]
mov eax, dword [esp + eax*4 + 0x13a8]
cmp eax, ecx
mov edx, 0x3c18
mov dword [esp + 0x20], edx
jge 0x436219
lea ecx, [eax + eax*4]
shl ecx, 7
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + ecx*4 + 0xca8]
sub ecx, eax
mov dword [esp + 0x2c], ecx
lea esp, [esp]
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0xa0]
mov dword [esp + 0x38], eax
jge 0x4361e1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0xa8]
mov dword [esp + 0x94], ecx
jmp 0x435f90
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 0x4361b5
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 + 0x98]
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 0x435f90
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0xa4]
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 0x435f60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x8a8]
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 0x435cb1
mov eax, dword [edi + 0x42c]
test eax, eax
je 0x43627d
mov edx, dword [edi + 0x3dc]
push eax
push edx
call dword [0x49e064]
mov eax, dword [edi + 0x428]
push eax
call dword [0x49e058]
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.0044a8e0
mov ecx, dword [ebp + 8]
call fcn.0044a8e0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8