Function at 0x1012b050
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
fld dword [0x101f69a8]
push ebx
mov ebx, dword [ebp + 8]
fstp dword [esp + 4]
mov eax, dword [ebx + 0x314]
and eax, 0xf0
push esi
push edi
cmp eax, 0x70
ja case.0x1012b084.1
movzx eax, byte [eax + 0x1012b4dc]
jmp dword [eax*4 + 0x1012b4d0]
mov eax, dword [ecx + 0xc]
test eax, eax
je case.0x1012b084.1
mov edx, dword [eax + 4]
test edx, edx
je case.0x1012b084.1
mov edi, dword [edx + 4]
test edi, edi
je case.0x1012b084.1
lea esp, [esp]
mov eax, dword [edi + 0x18]
movzx eax, word [eax + 6]
mov esi, 0x1603
cmp ax, si
je 0x1012b0fe
mov esi, 0x1403
cmp ax, si
je 0x1012b0fe
mov esi, 0x141d
cmp ax, si
je 0x1012b0fe
test edx, edx
je case.0x1012b084.1
mov eax, dword [edx + 8]
test eax, eax
je case.0x1012b084.1
mov edi, dword [eax + 4]
mov edx, eax
test edi, edi
jne 0x1012b0b0
fld dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ecx + 0x18]
test esi, esi
je 0x1012b2cd
lea ecx, [esp + 0x24]
push ecx
push 0x1e8
push 3
mov ecx, esi
call fcn.10061fa0
test eax, eax
je 0x1012b2cd
lea edx, [esp + 0x10]
push edx
push 0x1e8
push 3
mov ecx, esi
call fcn.10061fa0
mov eax, dword [esp + 0x10]
and eax, 0xfffff800
push eax
push 0x1e8
push 3
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.10061ed0
lea eax, [esp + 0x10]
push eax
push 0x1e8
push 3
mov ecx, esi
call fcn.10061fa0
mov eax, dword [esp + 0x10]
and eax, 0xffffff31
or eax, 0x31
push eax
push 0x1e8
push 3
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.10061ed0
lea ecx, [esp + 0x10]
push ecx
push 0x1ec
push 3
mov ecx, esi
call fcn.10061fa0
mov edx, dword [esp + 0x10]
shr edx, 5
and edx, 0xff
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0x1e8
fmul qword [0x101f6ec8]
push 3
mov ecx, esi
fstp dword [esp + 0x24]
call fcn.10061fa0
mov eax, dword [esp + 0x10]
and eax, 0xffffff30
or eax, 0x30
push eax
push 0x1e8
push 3
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.10061ed0
lea ecx, [esp + 0x10]
push ecx
push 0x1ec
push 3
mov ecx, esi
call fcn.10061fa0
movzx edx, byte [esp + 0x10]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edx
push eax
push 0x1e8
fild dword [esp + 0x1c]
push 3
mov ecx, esi
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
call fcn.10061ed0
cmp dword [ebx + 0x49c], 0
jne 0x1012b27e
push 0x16c
call fcn.1003ddbb
add esp, 4
test eax, eax
je 0x1012b24b
push 2
mov ecx, eax
call fcn.100550e0
mov esi, eax
jmp 0x1012b24d
xor esi, esi
push 0x101e9464
lea ecx, [esi + 4]
push 0x100
push ecx
call fcn.1013b440
fldz
add esp, 0xc
fstp dword [esi + 0x168]
push esi
mov dword [ebx + 0x49c], esi
call fcn.1013c470
mov ecx, eax
call fcn.10002110
mov esi, dword [ebx + 0x49c]
test esi, esi
je 0x1012b2cd
fld dword [esp + 0x18]
push 1
fnstcw word [esp + 0x10]
push ecx
movzx eax, word [esp + 0x14]
fld st(0)
or eax, 0xc00
mov dword [esp + 0x20], eax
mov ecx, esi
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x14c], edx
fldcw word [esp + 0x14]
fstp dword [esp]
call fcn.10054a50
fld dword [esi + 0x158]
fstp dword [esp + 0xc]
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [edi + 8]
test ecx, ecx
je case.0x1012b084.1
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x10]
push edx
movzx edx, byte [edi + 0x16]
push 0xa4
push edx
movzx edx, byte [edi + 0x15]
push edx
movzx edx, byte [edi + 0x14]
push edx
call eax
test eax, eax
je case.0x1012b084.1
cmp dword [ebx + 0x498], 0
jne 0x1012b36c
push 0x16c
call fcn.1003ddbb
add esp, 4
test eax, eax
je 0x1012b32f
push 1
mov ecx, eax
call fcn.100550e0
mov esi, eax
jmp 0x1012b331
xor esi, esi
push 0x101e946c
lea ecx, [esi + 4]
push 0x100
push ecx
call fcn.1013b440
fldz
fstp dword [esi + 0x168]
add esp, 0xc
mov dword [ebx + 0x498], esi
or dword [esi + 0x144], 0x1802000
push esi
call fcn.1013c470
mov ecx, eax
call fcn.10002110
mov esi, dword [ebx + 0x498]
test esi, esi
je case.0x1012b084.1
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1012b3a9
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x10]
push eax
movzx eax, byte [edi + 0x16]
push 0xa4
push eax
movzx eax, byte [edi + 0x15]
push eax
movzx eax, byte [edi + 0x14]
push eax
call edx
mov eax, dword [esp + 0x10]
shr eax, 0x15
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov dword [esi + 0x14c], eax
push 1
test eax, eax
jge 0x1012b3ca
fadd dword [0x101f69c0]
fmul qword [0x101f6ec8]
fadd dword [esi + 0x168]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
jmp 0x1012b4ae
call fcn.1013c470
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x10]
push ecx
push 0xd8200ca4
push 0
push SysReAllocString
mov ecx, eax
call fcn.100198b8
test eax, eax
je case.0x1012b084.1
cmp dword [ebx + 0x498], 0
jne 0x1012b46f
push 0x16c
call fcn.1003ddbb
add esp, 4
test eax, eax
je 0x1012b432
push 1
mov ecx, eax
call fcn.100550e0
mov esi, eax
jmp 0x1012b434
xor esi, esi
push 0x101e9474
lea edx, [esi + 4]
push 0x100
push edx
call fcn.1013b440
fldz
fstp dword [esi + 0x168]
add esp, 0xc
mov dword [ebx + 0x498], esi
or dword [esi + 0x144], 0x1802000
push esi
call fcn.1013c470
mov ecx, eax
call fcn.10002110
mov esi, dword [ebx + 0x498]
test esi, esi
je case.0x1012b084.1
mov eax, dword [esp + 0x10]
shr eax, 0x15
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov dword [esi + 0x14c], eax
push 1
test eax, eax
jge 0x1012b49a
fadd dword [0x101f69c0]
fmul qword [0x101f6ec8]
fadd dword [esi + 0x168]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.10054a50
fld dword [esi + 0x158]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4