Function at 0x49d030
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 8]
mov dword [esp + 0x58], 0
test eax, eax
mov dword [esp + 0x5c], 0
je 0x49d073
mov eax, dword [eax + 8]
fld qword [eax + 8]
fmul qword [ebx + 0x10]
fstp qword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], edx
jmp 0x49d081
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x54]
mov edx, dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x24], esi
mov esi, dword [eax + 0x24]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x2c]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x14], eax
mov al, byte [ebx + 6]
lea ecx, [esp + 0x10]
test al, 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x10], edx
push ecx
je 0x49d0ff
fld qword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub esp, 8
fchs
fstp qword [esp]
push edx
push eax
jmp 0x49d113
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.0049e5d0
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x38]
lea esi, [ebx + 0x30]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x3c]
add esp, 0x14
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push edi
push ecx
push edx
push eax
call fcn.0049e8f0
add esp, 0x34
cmp eax, 1
jne 0x49d1aa
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x54]
mov dword [ebx + 0x38], eax
mov dword [esi + 4], edx
mov dword [ebx + 0x3c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x10]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edi
push edx
push eax
push ecx
mov ecx, 6
sub esp, 0x18
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0049e640
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x7c]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x7c]
push eax
push ecx
push edx
call fcn.0049e8f0
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
add esp, 0x68
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x38], edx
pop edi
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x3c], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret