Function at 0x5374f0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x48
cmp eax, 1
jae 0x537506
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
add esp, 0x48
ret
mov edx, dword [esp + 0x50]
push ebx
mov ebx, dword [0x97b1f4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x64]
lea ecx, [edi + eax]
lea eax, [eax + eax*2]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx]
mov edx, dword [0x992088]
shl eax, 5
xor esi, esi
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], edx
call fcn.0040eca0
add esp, 4
push 0xb50
mov ebp, eax
call dword [0x794410]
push 0xde1
call dword [0x794420]
push 0xbe2
call dword [0x794420]
push 0x2100
push 0x2200
push 0x2300
call dword [0x794414]
push 0x303
push 0x302
call dword [0x7943a8]
push 0x8074
call dword [0x7943d8]
push ebp
push 0x18
push 0x1406
push 3
call dword [0x7943dc]
push 0x8076
call dword [0x7943d8]
lea ecx, [ebp + 0x14]
push ecx
push 0x18
push 0x1401
push 4
call dword [0x7943e4]
push 0x8078
call dword [0x7943d8]
lea edx, [ebp + 0xc]
push edx
push 0x18
push 0x1406
push 2
call dword [0x7943e0]
cmp edi, dword [esp + 0x3c]
mov al, byte [edi]
mov byte [esp + 0x68], al
jae 0x537c49
jmp 0x537600
mov ecx, dword [esp + 0x1c]
movsx edi, byte [esp + 0x68]
mov dl, byte [ecx + 1]
push edi
mov byte [esp + 0x17], dl
call fcn.007511d3
add esp, 4
test eax, eax
mov al, byte [esp + 0x68]
je 0x5378ef
mov cl, byte [esp + 0x13]
push 1
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x1c], al
lea eax, [esp + 0x1c]
push 2
push eax
mov byte [0x97b1f4], 0xff
mov byte [0x97b1f5], 0xff
mov byte [0x97b1f6], 0xff
mov byte [0x97b1f7], 0xff
mov byte [esp + 0x25], cl
call fcn.0067b520
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x6c]
add esp, 0x10
push ecx
mov ecx, edi
call fcn.00538ba0
test eax, eax
jl 0x53767f
cmp eax, dword [edi + 0x40018]
jl 0x537681
xor eax, eax
lea edx, [eax + eax*2]
mov eax, dword [edi + 0x40020]
lea edi, [eax + edx*8]
test edi, edi
je 0x537ca3
mov ecx, dword [edi]
push ecx
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x48]
push edx
call fcn.00538bf0
cmp byte [0x992082], 0
mov dword [esp + 0x68], eax
je 0x5376be
push 0x1ab9950
call dword [0x794290]
cmp byte [0x992082], 0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
je 0x5376dc
push 0x1ab9950
call dword [0x79428c]
lea ecx, [esp + 0x44]
call fcn.004350c0
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x68], eax
je 0x537717
test esi, esi
je 0x53770f
mov edx, dword [eax + 0x14]
push edx
push 0xde1
call dword [0x7943d0]
push esi
push 0
push 7
call dword [0x7942f4]
xor esi, esi
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
cmp word [edi + 8], 0
je 0x5378d7
cmp word [edi + 0xa], 0
je 0x5378d7
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0x14]
movsx ecx, word [edi + 0xe]
movsx edx, word [edi + 0xc]
add dword [esp + 0x50], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x60]
add eax, dword [ecx + 4]
test edx, edx
movzx ecx, word [edi + 4]
mov dword [esp + 0x68], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], ecx
fild dword [esp + 0x68]
jge 0x53776e
fadd dword [0x7bb540]
fstp dword [esp + 0x68]
movzx edx, word [edi + 8]
fild dword [esp + 0x38]
add edx, ecx
fld dword [esp + 0x68]
mov dword [esp + 0x68], edx
fld st(0)
mov edx, dword [esp + 0x18]
fdivp st(2)
mov edx, dword [edx + 0x24]
test edx, edx
movzx ecx, word [edi + 6]
mov dword [esp + 0x38], ecx
fxch st(1)
fstp dword [esp + 0x34]
fidivr dword [esp + 0x68]
mov dword [esp + 0x68], edx
fstp dword [esp + 0x28]
fild dword [esp + 0x68]
jge 0x5377b7
fadd dword [0x7bb540]
fstp dword [esp + 0x68]
movzx edx, word [edi + 0xa]
fild dword [esp + 0x38]
add edx, ecx
fld dword [esp + 0x68]
mov dword [esp + 0x68], edx
fld st(0)
movzx edx, word [edi + 8]
fdivp st(2)
mov ecx, dword [esp + 0x50]
add edx, ecx
fxch st(1)
fstp dword [esp + 0x20]
fidivr dword [esp + 0x68]
mov dword [esp + 0x68], edx
movzx edx, word [edi + 0xa]
add edx, eax
lea eax, [esi + esi*2]
lea eax, [ebp + eax*8]
mov dword [eax + 0x14], ebx
add esi, 1
fstp dword [esp + 0x30]
fild dword [esp + 0x50]
fstp dword [esp + 0x38]
fild dword [esp + 0x68]
mov dword [esp + 0x68], edx
lea edx, [esi + esi*2]
add esi, 1
fstp dword [esp + 0x2c]
fild dword [esp + 0x54]
fstp dword [esp + 0x24]
fild dword [esp + 0x68]
fstp dword [esp + 0x68]
fld dword [esp + 0x38]
fst dword [eax]
fld dword [esp + 0x68]
fst dword [eax + 4]
fldz
fst dword [eax + 8]
fld dword [esp + 0x34]
fst dword [eax + 0xc]
fld dword [esp + 0x30]
fst dword [eax + 0x10]
fld dword [esp + 0x2c]
lea eax, [ebp + edx*8]
fst dword [eax]
mov dword [eax + 0x14], ebx
fxch st(4)
fstp dword [eax + 4]
fxch st(2)
fst dword [eax + 8]
fld dword [esp + 0x28]
fst dword [eax + 0xc]
fxch st(3)
fstp dword [eax + 0x10]
lea eax, [esi + esi*2]
fxch st(3)
fstp dword [ebp + eax*8]
lea eax, [ebp + eax*8]
fld dword [esp + 0x24]
mov dword [eax + 0x14], ebx
fst dword [eax + 4]
add esi, 1
fxch st(3)
lea edx, [esi + esi*2]
fst dword [eax + 8]
add esi, 1
fxch st(2)
fstp dword [eax + 0xc]
fld dword [esp + 0x20]
fst dword [eax + 0x10]
lea eax, [ebp + edx*8]
fxch st(4)
fstp dword [eax]
mov dword [eax + 0x14], ebx
fxch st(2)
fstp dword [eax + 4]
fstp dword [eax + 8]
fstp dword [eax + 0xc]
fstp dword [eax + 0x10]
movsx eax, word [edi + 0x10]
movsx edx, word [edi + 0xc]
sub eax, edx
add ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x1c]
add ecx, 1
mov dword [esp + 0x1c], ecx
jmp 0x537c0b
movsx eax, word [edi + 0x10]
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x50], eax
add ecx, 1
mov dword [esp + 0x1c], ecx
jmp 0x537c0b
cmp al, 2
jl 0x5378f7
cmp al, 8
jle 0x537903
cmp al, 0xb
jl 0x5378ff
cmp al, 0xc
jle 0x537903
cmp al, 0xe
jne 0x53792f
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x537c0b
movzx eax, byte [edi + 0x97b220]
cmp eax, dword [esp + 0x70]
ja 0x537c0b
mov eax, dword [ecx + eax*4]
mov dword [0x97b1f4], eax
mov ebx, eax
jmp 0x537c0b
cmp al, 0xf
jne 0x537944
mov ebx, dword [0x97b1f8]
mov dword [0x97b1f4], ebx
jmp 0x537c0b
cmp al, 0x10
jne 0x537959
mov edx, dword [0x97b1f4]
mov dword [0x97b1fc], edx
jmp 0x537c0b
cmp al, 0x11
jne 0x53796e
mov ebx, dword [0x97b1fc]
mov dword [0x97b1f4], ebx
jmp 0x537c0b
mov ecx, dword [esp + 0x5c]
movsx di, al
push edi
call fcn.00538b80
test al, al
jne 0x5379c8
mov al, byte [esp + 0x68]
cmp al, 9
jne 0x5379a7
mov ecx, dword [esp + 0x5c]
push 0x20
call fcn.00538fc0
movsx eax, word [eax + 0x10]
mov ecx, dword [esp + 0x50]
lea edx, [ecx + eax*4]
mov dword [esp + 0x50], edx
jmp 0x537c0b
cmp al, 0xa
jne 0x537c0b
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
add dword [eax + 4], ecx
mov dword [esp + 0x50], edx
jmp 0x537c0b
mov ecx, dword [esp + 0x5c]
push edi
call fcn.00538fc0
mov edi, eax
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x64]
call fcn.00538bf0
mov ecx, eax
call fcn.00435130
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], eax
call fcn.004350c0
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x68], eax
je 0x537a2b
test esi, esi
je 0x537a23
mov edx, dword [eax + 0x14]
push edx
push 0xde1
call dword [0x7943d0]
push esi
push 0
push 7
call dword [0x7942f4]
xor esi, esi
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
cmp word [edi + 8], 0
je 0x537c03
cmp word [edi + 0xa], 0
je 0x537c03
movsx ecx, word [edi + 0xe]
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0x14]
movsx edx, word [edi + 0xc]
add dword [esp + 0x50], edx
movzx edx, word [edi + 4]
sub eax, ecx
mov ecx, dword [esp + 0x60]
add eax, dword [ecx + 4]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], edx
fild dword [esp + 0x68]
jge 0x537a82
fadd dword [0x7bb540]
fstp dword [esp + 0x68]
movzx ecx, word [edi + 8]
fild dword [esp + 0x38]
add ecx, edx
fld dword [esp + 0x68]
mov dword [esp + 0x68], ecx
fld st(0)
mov ecx, dword [esp + 0x18]
fdivp st(2)
mov ecx, dword [ecx + 0x24]
test ecx, ecx
movzx edx, word [edi + 6]
mov dword [esp + 0x38], edx
fxch st(1)
fstp dword [esp + 0x30]
fidivr dword [esp + 0x68]
mov dword [esp + 0x68], ecx
fstp dword [esp + 0x24]
fild dword [esp + 0x68]
jge 0x537acb
fadd dword [0x7bb540]
fstp dword [esp + 0x68]
movzx ecx, word [edi + 0xa]
fild dword [esp + 0x38]
add ecx, edx
fld dword [esp + 0x68]
mov dword [esp + 0x68], ecx
fld st(0)
movzx ecx, word [edi + 8]
fdivp st(2)
mov edx, dword [esp + 0x50]
add ecx, edx
mov dword [esp + 0x34], ecx
movzx ecx, word [edi + 0xa]
add ecx, eax
mov dword [esp + 0x20], ecx
push ebx
sub esp, 0x10
lea eax, [esi + esi*2]
lea ecx, [ebp + eax*8]
add esi, 1
fxch st(1)
fstp dword [esp + 0x40]
fidivr dword [esp + 0x7c]
fstp dword [esp + 0x7c]
fild dword [esp + 0x64]
fstp dword [esp + 0x4c]
fild dword [esp + 0x48]
fstp dword [esp + 0x3c]
fild dword [esp + 0x68]
fstp dword [esp + 0x48]
fild dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x7c]
fstp dword [esp + 0xc]
fld dword [esp + 0x44]
fstp dword [esp + 8]
fld dword [esp + 0x34]
fstp dword [esp + 4]
fld dword [esp + 0x4c]
fstp dword [esp]
call fcn.00534e60
fld dword [esp + 0x68]
push ebx
sub esp, 0x10
fstp dword [esp + 0xc]
lea ecx, [esi + esi*2]
fld dword [esp + 0x38]
lea ecx, [ebp + ecx*8]
fstp dword [esp + 8]
add esi, 1
fld dword [esp + 0x34]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fstp dword [esp]
call fcn.00534e60
fld dword [esp + 0x2c]
push ebx
sub esp, 0x10
fstp dword [esp + 0xc]
lea edx, [esi + esi*2]
fld dword [esp + 0x38]
lea ecx, [ebp + edx*8]
fstp dword [esp + 8]
add esi, 1
fld dword [esp + 0x48]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fstp dword [esp]
call fcn.00534e60
fld dword [esp + 0x2c]
lea eax, [esi + esi*2]
push ebx
add esi, 1
sub esp, 0x10
fstp dword [esp + 0xc]
lea ecx, [ebp + eax*8]
fld dword [esp + 0x44]
fstp dword [esp + 8]
fld dword [esp + 0x48]
fstp dword [esp + 4]
fld dword [esp + 0x4c]
fstp dword [esp]
call fcn.00534e60
movsx ecx, word [edi + 0x10]
movsx edx, word [edi + 0xc]
sub ecx, edx
add dword [esp + 0x50], ecx
jmp 0x537c0b
movsx eax, word [edi + 0x10]
add dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + 1]
add eax, 1
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x68], cl
jb 0x537600
test esi, esi
je 0x537c49
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x14]
push eax
push 0xde1
call dword [0x7943d0]
push esi
push 0
push 7
call dword [0x7942f4]
mov esi, dword [0x7943f0]
push 0x8074
call esi
push 0x8076
call esi
push 0x8078
call esi
mov esi, dword [0x794410]
push 0xbe2
call esi
push 0xde1
call esi
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0040ecd0
mov edx, dword [esp + 0x64]
mov ecx, dword [edx]
add esp, 4
cmp dword [esp + 0x50], ecx
jge 0x537c95
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x50]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 0x48
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret