Function at 0x526110
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa0]
mov eax, dword [edi + 0x58]
mov ebx, dword [edi + 0xc]
xor esi, esi
or ecx, 0xffffffff
cmp eax, esi
mov dword [esp + 0x18], esi
je 0x526139
mov cx, word [eax]
jmp 0x52614b
mov eax, dword [edi + 0x54]
cmp eax, 0xffffffff
je 0x52614b
shl eax, 4
mov cx, word [eax + 0x674840]
fld dword [0x75c154]
fmul dword [0x61221c]
fsubr dword [0x61221c]
fcom dword [0x612220]
fnstsw ax
test ah, 5
jp 0x526174
fstp st(0)
fld dword [0x612220]
jmp 0x526189
fcom dword [0x612224]
fnstsw ax
test ah, 0x41
jne 0x526189
fstp st(0)
fld dword [0x612224]
fadd st(0), st(0)
fsub dword [0x612224]
fstp dword [esp + 0x5c]
fld dword [0x75c158]
fmul dword [0x61221c]
fsubr dword [0x61221c]
fcom dword [0x612220]
fnstsw ax
test ah, 5
jp 0x5261be
fstp st(0)
fld dword [0x612220]
jmp 0x5261d3
fcom dword [0x612224]
fnstsw ax
test ah, 0x41
jne 0x5261d3
fstp st(0)
fld dword [0x612224]
fadd st(0), st(0)
fsub dword [0x612224]
fstp dword [esp + 0x60]
fld dword [0x75c15c]
fmul dword [0x61221c]
fsubr dword [0x61221c]
fcom dword [0x612220]
fnstsw ax
test ah, 5
jp 0x526208
fstp st(0)
fld dword [0x612220]
jmp 0x52621d
fcom dword [0x612224]
fnstsw ax
test ah, 0x41
jne 0x52621d
fstp st(0)
fld dword [0x612224]
mov eax, dword [ebx + 0x90]
fadd st(0), st(0)
mov edx, dword [ebx + 0x94]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x98]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0xa0]
mov dword [esp + 0x70], edx
mov edx, dword [ebx + 0x8c]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0xa8]
mov dword [esp + 0x78], edx
mov edx, dword [ebx + 0xa4]
fsub dword [0x612224]
mov dword [esp + 0x84], eax
mov ax, word [edi + 0x14]
mov dword [esp + 0x80], edx
fstp dword [esp + 0x64]
mov edx, dword [ebx + 0x9c]
mov ebp, 1
cmp ax, bp
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x88], edx
jne 0x5262aa
fld dword [0x612224]
fsub dword [edi + 0x18]
fstp dword [esp + 0x8c]
jmp 0x5262b5
mov dword [esp + 0x8c], 0x3f800000
cmp ax, bp
jne 0x5262cc
fld dword [0x612224]
fsub dword [edi + 0x18]
fstp dword [esp + 0x90]
jmp 0x5262d7
mov dword [esp + 0x90], 0x3f800000
cmp ax, bp
jne 0x5262ee
fld dword [0x612224]
fsub dword [edi + 0x18]
fstp dword [esp + 0x94]
jmp 0x5262f9
mov dword [esp + 0x94], 0x3f800000
cmp ax, bp
jne 0x526310
fld dword [0x612224]
fsub dword [edi + 0x18]
fstp dword [esp + 0x98]
jmp 0x52631b
mov dword [esp + 0x98], 0x3f800000
cmp word [esp + 0xa4], si
jne 0x52633b
test byte [ebx + 0x28], 8
jne 0x526334
cmp dword [ebx + 0xcc], 0xffffffff
jne 0x52633b
mov dword [esp + 0xa4], ebp
movsx eax, cx
mov dword [esp + 0x58], eax
sub eax, esi
je 0x526356
sub eax, 2
je 0x526356
sub eax, 2
jne 0x52635a
mov dword [esp + 0x10], ebp
jmp 0x52635a
mov dword [esp + 0x10], esi
movsx eax, word [esp + 0xa4]
sub eax, esi
mov dword [esp + 0x14], 0x639168
je 0x5263ba
dec eax
je 0x526386
dec eax
jne 0x5263c2
mov dword [esp + 0x14], 0x639188
mov dword [esp + 0x18], 0x36
jmp 0x5263c2
cmp dword [0x75c0ac], 0xffff0101
mov dword [esp + 0x14], 0x639178
mov dword [esp + 0x18], 0x34
jb 0x5263c2
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 3
lea edx, [esp + 0x60]
push edx
push esi
push eax
call dword [ecx + 0x1b4]
jmp 0x5263c2
mov dword [esp + 0x18], 0x32
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x526a2d
cmp dword [eax], esi
je 0x526a2d
mov eax, dword [0x75c0ac]
movsx edx, word [0x75c174]
movsx ecx, word [0x75c17a]
cmp eax, 0xffff0101
movsx eax, word [0x75c176]
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
push 3
jae 0x5265fd
sub ecx, eax
movsx eax, word [0x75c178]
mov dword [esp + 0x14], ecx
sub eax, edx
lea edx, [esp + 0x24]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [0x6b8344]
push edx
fmul qword [0x612448]
push 0xa
mov dword [esp + 0x2c], 0x3f800000
mov dword [esp + 0x30], 0x3f800000
fstp dword [esp + 0x3c]
mov dword [esp + 0x34], 0
fild dword [esp + 0x1c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0x3f800000
fmul qword [0x612448]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
push eax
fstp dword [esp + 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x178]
mov ecx, dword [0x6b8334]
xor eax, eax
mov ax, word [edi + 0x10]
push eax
mov eax, dword [ecx + 0xf8]
push ebp
push esi
push esi
call fcn.0051c210
mov eax, dword [0x6b8344]
mov edx, dword [eax]
add esp, 0x10
push esi
push eax
call dword [edx + 0x1ac]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 5
push 0x13
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 0x14
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push esi
push 0xf
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 0x3c7f7f7f
push 0x3c
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 7
push ebp
push esi
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 2
push esi
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 3
push 3
push esi
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 4
push esi
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 5
push esi
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 4
push ebp
push ebp
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push ebp
push 2
push ebp
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 0x20
push 3
push ebp
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 4
push ebp
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push ebp
push 5
push ebp
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push ebp
push ebp
push 2
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push ebp
push 4
push 2
push eax
call dword [edx + 0x10c]
push esi
jmp 0x526a23
fld dword [edi + 0x3c]
sub ecx, eax
fmul dword [ebx + 0xbc]
movsx eax, word [0x75c178]
mov dword [esp + 0x20], ecx
sub eax, edx
fstp dword [esp + 0x24]
lea edx, [esp + 0x24]
fld dword [edi + 0x40]
push edx
fmul dword [ebx + 0xbc]
push 0xa
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
fstp dword [esp + 0x30]
mov dword [esp + 0x50], 0x3f800000
fild dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [0x6b8344]
mov dword [esp + 0x58], 0
fmul qword [0x612448]
push eax
fstp dword [esp + 0x38]
fild dword [esp + 0x2c]
fmul qword [0x612448]
fstp dword [esp + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x178]
mov al, byte [0x6249e9]
test al, al
mov ecx, dword [ebx + 0xcc]
mov ebp, dword [0x816d04]
je 0x5266c1
cmp ecx, 0xffffffff
je 0x5266c1
mov eax, ecx
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + ebp + 0x14]
mov esi, dword [eax + 0x60]
test esi, esi
jle 0x5266c1
movsx eax, word [edi + 0x10]
cdq
idiv esi
mov eax, ecx
call fcn.0043f260
mov esi, eax
cmp word [esi + 0xa], 0
je 0x5266f2
mov eax, dword [0x6b8334]
mov eax, dword [eax + 0xb8]
cmp eax, 0xffffffff
je 0x526712
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + ebp + 0x14]
test eax, eax
je 0x526712
cmp dword [eax + 0x60], 3
jle 0x526712
mov esi, dword [eax + 0x64]
add esi, 0x90
je 0x526712
push 0
call fcn.0051c0e0
mov cx, word [esi + 4]
mov word [0x6746d4], cx
mov dx, word [esi + 6]
add esp, 4
mov word [0x6746d6], dx
mov eax, dword [0x6b8334]
mov eax, dword [eax + 0x1c]
push 0
push 1
call fcn.0051c120
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
add esp, 8
push 3
push 1
push 1
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 3
push 2
push 1
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 3
push 3
push 1
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 5
push 1
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 1
push 6
push 1
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 1
push 7
push 1
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8334]
mov eax, dword [eax + 0x1c]
push 0
push 2
call fcn.0051c120
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
add esp, 8
push 3
push 1
push 2
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 3
push 2
push 2
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 3
push 3
push 2
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 5
push 2
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 1
push 6
push 2
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 1
push 7
push 2
push eax
call dword [edx + 0x114]
cmp word [esp + 0xa4], 2
jne 0x5268b9
mov edx, dword [0x638a58]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push edx
push 3
push eax
call dword [ecx + 0x104]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 3
push 1
push 3
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 3
push 2
push 3
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 5
push 3
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 6
push 3
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 1
push 7
push 3
push eax
call dword [ecx + 0x114]
jmp 0x52694c
mov eax, dword [ebx + 0xb8]
xor edx, edx
mov dx, word [edi + 0x10]
push edx
push 0
push 2
push 3
call fcn.0051c210
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
add esp, 0x10
push 3
push 1
push 3
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 3
push 2
push 3
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 3
push 3
push 3
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 5
push 3
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 6
push 3
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 7
push 3
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 5
push 0x13
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 0x14
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 0
push 0xf
push eax
call dword [ecx + 0xe4]
mov ecx, dword [esp + 0x58]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
lea ecx, [ecx + ecx*2]
mov ecx, dword [ecx*4 + 0x67c988]
push ecx
push eax
call dword [edx + 0x15c]
movsx ecx, word [esp + 0x10]
movsx esi, word [esp + 0x18]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
add ecx, esi
mov ecx, dword [ecx*8 + 0x639258]
push ecx
push eax
call dword [edx + 0x170]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x84]
mov ecx, dword [ecx + 0x80]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1ac]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 1
push 1
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 1
push 4
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 4
lea ecx, [esp + 0x60]
push ecx
push 0
push eax
call dword [edx + 0x1b4]
push 0
mov ecx, edi
call fcn.005366c0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret