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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1794
call fcn.0047ad40
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, edi
mov dword [esp + 0x30], ebx
call fcn.004608c0
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x3e0]
mov esi, dword [ebx + 0x3f0]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x228]
test eax, eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], esi
jne 0x436cf1
mov edx, dword [edi + 0x78]
mov dword [esp + 0x34], edx
jmp 0x436cfb
mov ecx, dword [edi + 0x1c0]
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x436d04
mov edx, dword [edi + 0x7c]
jmp 0x436d0a
mov edx, dword [edi + 0x1bc]
mov eax, dword [ebp + 0xc]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436d10
sub eax, edi
mov dword [esp + 0x2c], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x8a0]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x10a0]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x4a0]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xa0]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x13a0]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xca0]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x54c]
mov ecx, dword [ebx + 0x554]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x18], ecx
jge 0x436d94
lea ebx, [eax + ecx]
test ebx, ebx
jge 0x436d94
mov dword [esp + 0x18], edi
add ecx, eax
cmp edx, ecx
jae 0x436da8
sub edx, eax
cmp ecx, edi
mov dword [esp + 0x18], edx
jge 0x436da8
mov dword [esp + 0x18], edi
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x58]
push edx
call fcn.0044a510
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x550]
shl eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
xor edi, edi
xor ebx, ebx
test eax, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0xc], ebx
jle 0x436f27
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x10a0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
nop
mov eax, dword [esp + 0x10]
movsx ecx, byte [eax]
push ecx
call fcn.0047b292
add esp, 4
test eax, eax
je 0x436e43
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 2
push edx
push eax
call fcn.0047a710
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
add esp, 0xc
lea ecx, [esp + 0x70]
push ecx
push 2
push edx
push eax
call dword [0x49e02c]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
inc ecx
inc eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
jmp 0x436e6e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 1
push ecx
push edx
call fcn.0047a710
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
add esp, 0xc
lea eax, [esp + 0x70]
push eax
push 1
push ecx
push edx
call dword [0x49e02c]
mov eax, dword [esp + 0x70]
shl eax, 1
xor ecx, ecx
cmp ebx, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
mov dword [esp + edi*4 + 0x8a0], eax
mov dword [esp + edi*4 + 0x4a0], ecx
mov dword [esp + edi*4 + 0xa0], eax
jge 0x436eb3
lea edx, [eax + ebx]
test edx, edx
mov dword [esp + edi*4 + 0x4a0], ebx
jge 0x436eb3
mov dword [esp + edi*4 + 0x4a0], ecx
mov dword [esp + edi*4 + 0xa0], ecx
mov ecx, dword [esp + 0x34]
lea edx, [eax + ebx]
cmp ecx, edx
jae 0x436edf
sub eax, ecx
add eax, ebx
cmp ecx, ebx
mov dword [esp + edi*4 + 0xa0], eax
jae 0x436edf
xor eax, eax
mov dword [esp + edi*4 + 0x4a0], eax
mov dword [esp + edi*4 + 0xa0], eax
jmp 0x436ee1
xor eax, eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov dword [esp + edi*4 + 0x13a0], eax
mov eax, dword [esp + 0x18]
add edx, 3
add ebx, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + edi*4 + 0xca0], eax
mov eax, dword [esp + 0xc]
inc edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
jl 0x436df0
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x58]
mov edi, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.0044a550
mov ecx, edi
call fcn.0044a870
mov ecx, dword [esp + 0x30]
add ecx, 0x194
mov dword [esp + 0x54], eax
mov dword [esp + 0x7c], ecx
call fcn.0044a870
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x53c]
mov ecx, dword [edi + 0x540]
mov ebx, eax
mov eax, 1
mov dword [esp + 0x64], 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 + 0x60], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x44], edx
mov edx, dword [edi + 0x550]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], eax
lea ecx, [eax + eax]
lea eax, [edx + edx]
test eax, eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x94], edx
mov dword [esp + 0x2c], 0
jge 0x436fd4
xor eax, eax
test ecx, ecx
jge 0x436fda
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 + 0x34]
add eax, dword [edi + 0x548]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x4c]
test eax, eax
mov dword [esp + 0x10], 0
jle 0x4375d5
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x44]
shl eax, 8
or eax, ecx
lea ecx, [esp + 0x10a0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x48], ecx
lea ecx, [ecx]
mov edx, dword [esp + 0x9c]
test edx, edx
jle 0x4370eb
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x8a0]
mov edi, dword [esp + 0x6c]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
sub edi, esi
dec edx
mov eax, 0x88888889
mul edx
shr edx, 0xa
inc edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edx
jmp 0x4370a0
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edi, edi
mov edx, dword [esp + 0xc]
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 + 0x24]
mov edi, dword [esp + 0xc]
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 + 0xc]
mov eax, dword [esp + 0x20]
add ecx, 0x780
dec eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], eax
jne 0x437096
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4370f2
sub eax, edx
cmp dword [edi + 0x538], 0xa8c
mov edx, dword [edi + 0x3dc]
mov ecx, 8
jne 0x43711b
mov ecx, dword [edi + 0x554]
add ecx, 8
push eax
mov eax, dword [esp + 0x4c]
push eax
push 8
push ecx
push edx
call dword [0x49e04c]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + edi*4 + 0xa0]
mov ecx, dword [esp + edi*4 + 0x4a0]
mov dword [esp + 0x68], ecx
sub ecx, edx
add ecx, 0x140
lea ecx, [ecx + ecx*2]
shl ecx, 1
mov dword [esp + 0x90], edx
mov dword [esp + 0x50], ecx
mov ecx, edx
sub ecx, dword [esp + 0x68]
mov edx, dword [esp + edi*4 + 0xca0]
mov edi, dword [esp + edi*4 + 0x13a0]
sub edx, edi
shl ecx, 1
shl edx, 1
test edx, edx
mov eax, 0x3c18
mov dword [esp + 0x3c], ecx
jle 0x437283
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], edx
lea esp, [esp]
test ecx, ecx
jle 0x437260
mov edi, dword [esp + 0x6c]
lea edx, [eax + esi]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], edx
mov edx, edi
sub edx, esi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], edx
jmp 0x4371c1
mov edx, dword [esp + 0x28]
cmp byte [ecx + edx], 0
jne 0x43722a
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 0x4371f5
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0xaaaaaa
jmp 0x437237
mov edx, dword [esp + 0x18]
mov dword [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 + 0x14]
setne dl
mov byte [ecx], dl
jmp 0x43723e
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov byte [ecx], 1
add dword [esp + 0x18], 4
mov edx, dword [esp + 0x24]
add ecx, 3
add eax, 3
dec edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edx
jne 0x4371bd
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0xc]
add eax, edx
mov edx, dword [esp + 0x20]
add edi, 0xa00
dec edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], edx
jne 0x437190
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x2c]
lea edi, [eax + edx]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x8a0]
mov edx, dword [esp + 0x34]
neg eax
add edx, eax
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], edx
mov edx, dword [esp + eax*4 + 0xca0]
mov eax, dword [esp + eax*4 + 0x13a0]
cmp eax, edx
mov ecx, 0x3c18
mov dword [esp + 0x20], ecx
jge 0x4375a0
lea edx, [eax + eax*4]
shl edx, 7
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x10]
mov edx, dword [esp + edx*4 + 0xca0]
sub edx, eax
mov dword [esp + 0x3c], edx
jmp 0x437300
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
jge 0x437573
mov eax, dword [esp + 0x10]
mov edx, dword [esp + eax*4 + 0xa0]
mov dword [esp + 0x8c], edx
jmp 0x437330
movzx eax, byte [esi + ecx + 0x780]
movzx edx, byte [esi + ecx - 0x780]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + ecx - 0x783]
movzx esi, byte [esi + ecx + 0x783]
and eax, esi
and edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
or eax, edx
movzx edx, byte [esi + ecx + 3]
mov dword [esp + 0x1c], edx
movzx edx, byte [esi + ecx - 3]
mov esi, dword [esp + 0x1c]
and esi, edx
or eax, esi
mov esi, dword [esp + 0x40]
movzx edx, byte [esi + ecx + 0x77d]
mov dword [esp + 0x1c], edx
movzx edx, byte [esi + ecx - 0x77d]
mov esi, dword [esp + 0x1c]
and esi, edx
or eax, esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x38], edx
movzx edx, byte [esi + ecx]
and eax, edx
mov dword [esp + 0x1c], edx
movzx edx, byte [esi + ecx - 0x780]
add eax, edx
add eax, dword [esp + 0x1c]
movzx edx, byte [esi + ecx + 3]
add eax, edx
movzx edx, byte [esi + ecx - 3]
add eax, edx
movzx edx, byte [esi + ecx + 0x77d]
add eax, edx
add eax, dword [esp + 0x38]
movzx edx, byte [esi + ecx + 0x780]
add eax, edx
je 0x437553
imul eax, eax, 0xff
mov edx, dword [esp + 0x5c]
sar eax, 3
mov ecx, eax
movzx eax, byte [edi + edx]
mov esi, 0xff
sub esi, ecx
imul esi, eax
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov esi, edx
mov eax, dword [esp + 0x14]
shr esi, 0x1f
add esi, edx
lea edx, [esi + ecx]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x24]
add eax, edx
shl eax, 1
mov edx, dword [ebx + eax*4 + 0xa04]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + eax*4 + 0xa00]
mov dword [esp + 0x28], edx
mov edx, dword [ebx + eax*4 + 4]
mov eax, dword [ebx + eax*4]
mov dword [esp + 0x1c], edx
and edx, 0xff0000
mov dword [esp + 0x38], eax
and eax, 0xff0000
add eax, edx
mov edx, dword [esp + 0x28]
and edx, 0xff0000
add eax, edx
mov edx, dword [esp + 0x18]
and edx, 0xff0000
add eax, edx
mov edx, dword [esp + 0x54]
movzx edx, byte [edx + edi*4 + 2]
shr eax, 0x12
imul edx, esi
and eax, 0xff
imul eax, ecx
add eax, edx
xor edx, edx
div dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
and edx, 0xff00
mov ebx, eax
mov eax, dword [esp + 0x38]
and eax, 0xff00
add eax, edx
mov edx, dword [esp + 0x28]
and edx, 0xff00
add eax, edx
mov edx, dword [esp + 0x18]
and edx, 0xff00
add eax, edx
mov edx, dword [esp + 0x54]
movzx edx, byte [edx + edi*4 + 1]
shr eax, 0xa
imul edx, esi
and eax, 0xff
imul eax, ecx
add eax, edx
xor edx, edx
div dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
shl ebx, 8
and edx, 0xff
or ebx, eax
mov eax, dword [esp + 0x38]
and eax, 0xff
add eax, edx
mov edx, dword [esp + 0x28]
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x18]
shl ebx, 8
and edx, 0xff
add eax, edx
shr eax, 2
and eax, 0xff
imul eax, ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + edi*4]
and edx, 0xff
imul edx, esi
add eax, edx
xor edx, edx
div dword [esp + 0xc]
mov esi, dword [esp + 0x40]
or ebx, eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + edi*4], ebx
mov cl, byte [esp + 0xc]
mov ebx, dword [esp + 0x88]
mov byte [edi + eax], cl
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x8c]
add ecx, 6
inc edi
inc eax
cmp eax, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
jl 0x437330
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x50]
add edi, edx
mov edx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x3c]
add edx, 0x280
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], eax
jne 0x437300
mov eax, dword [esp + 0x10]
mov edx, dword [esp + eax*4 + 0x8a0]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
add ecx, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x4c]
inc eax
add edx, 3
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], edx
jl 0x437050
mov eax, dword [edi + 0x42c]
test eax, eax
je 0x437608
push eax
mov eax, dword [edi + 0x3dc]
push eax
call dword [0x49e064]
mov ecx, dword [edi + 0x428]
push ecx
call dword [0x49e058]
xor eax, eax
mov dword [edi + 0x428], eax
mov dword [edi + 0x42c], eax
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
mov dword [edi + 0x53c], edx
mov edx, dword [esp + 0x94]
mov dword [edi + 0x540], eax
mov eax, dword [esp + 0x98]
mov dword [edi + 0x544], ecx
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x550], edx
mov dword [edi + 0x554], eax
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