Function at 0x48fe60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x15c
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x154], eax
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
mov word [esi + 0x136], ax
movzx eax, byte [esi + 0x12f]
xor ecx, ecx
xor edx, edx
push edi
mov word [esi + 0x138], cx
mov word [esi + 0x13a], dx
cmp eax, 3
ja case.default.0x48fea8
jmp dword [eax*4 + 0x49074c]
movzx eax, byte [esi + 0x134]
cmp eax, 6
jge 0x48fecc
mov ecx, eax
imul ecx, ecx, 0x1aa
movzx ecx, word [ecx + 0x58880e]
jmp 0x48fed3
movzx ecx, word [0x5889ac]
cmp eax, 6
mov dword [esi + 0x178], ecx
jge 0x48feef
mov edx, eax
imul edx, edx, 0x1aa
movzx ecx, word [edx + 0x588810]
jmp 0x48fef6
movzx ecx, word [0x5889ae]
cmp eax, 6
mov dword [esi + 0x180], ecx
jge 0x48ff13
imul eax, eax, 0x1aa
movzx eax, word [eax + 0x588812]
jmp 0x490068
movzx eax, word [0x5889b0]
jmp 0x490068
movzx edi, byte [esi + 0x134]
cmp edi, 6
jge 0x48ff40
mov eax, edi
imul eax, eax, 0x1aa
movzx ecx, word [eax + 0x58880e]
mov dword [esp + 0x10], ecx
jmp 0x48ff4b
movzx edx, word [0x5889ac]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fld qword [0x574098]
fmul st(1), st(0)
fxch st(1)
call fcn.005250c0
cmp edi, 6
mov dword [esi + 0x178], eax
jge 0x48ff7e
mov eax, edi
imul eax, eax, 0x1aa
movzx ecx, word [eax + 0x588810]
mov dword [esp + 0x10], ecx
jmp 0x48ff89
movzx edx, word [0x5889ae]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul st(1)
call fcn.005250c0
cmp edi, 6
mov dword [esi + 0x180], eax
jge 0x48ffb1
imul edi, edi, 0x1aa
movzx eax, word [edi + 0x588812]
jmp 0x49005b
movzx ecx, word [0x5889b0]
mov dword [esp + 0x10], ecx
jmp 0x49005f
movzx edi, byte [esi + 0x134]
cmp edi, 6
jge 0x48ffe2
mov edx, edi
imul edx, edx, 0x1aa
movzx eax, word [edx + 0x58880e]
mov dword [esp + 0x10], eax
jmp 0x48ffed
movzx ecx, word [0x5889ac]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld qword [0x574090]
fmul st(1), st(0)
fxch st(1)
call fcn.005250c0
cmp edi, 6
mov dword [esi + 0x178], eax
jge 0x490020
mov edx, edi
imul edx, edx, 0x1aa
movzx eax, word [edx + 0x588810]
mov dword [esp + 0x10], eax
jmp 0x49002b
movzx ecx, word [0x5889ae]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul st(1)
call fcn.005250c0
cmp edi, 6
mov dword [esi + 0x180], eax
jge 0x490054
imul edi, edi, 0x1aa
movzx edx, word [edi + 0x588812]
mov dword [esp + 0x10], edx
jmp 0x49005f
movzx eax, word [0x5889b0]
mov dword [esp + 0x10], eax
fimul dword [esp + 0x10]
call fcn.005250c0
mov dword [esi + 0x17c], eax
mov al, byte [esi + 0x134]
movzx ecx, al
mov ebx, 5
mov edi, 0xa
cmp ecx, ebx
ja case.default.0x490089
jmp dword [ecx*4 + 0x49075c]
mov ecx, 0xe
mov edx, 9
mov word [esi + 0x16c], cx
mov word [esi + 0x174], dx
mov ecx, 8
mov edx, 7
mov word [esi + 0x170], cx
lea ecx, [edx + 5]
mov word [esi + 0x172], dx
lea edx, [ecx - 1]
jmp 0x4901c7
mov edx, 0xc
mov word [esi + 0x174], dx
mov ecx, edi
mov edx, edi
mov word [esi + 0x16c], cx
mov word [esi + 0x172], dx
jmp 0x4901bb
mov ecx, edi
mov edx, 9
mov word [esi + 0x16c], cx
mov word [esi + 0x174], dx
mov ecx, 7
mov edx, 8
mov word [esi + 0x170], cx
lea ecx, [edx + 7]
mov word [esi + 0x172], dx
lea edx, [ecx - 3]
jmp 0x4901c7
mov ecx, 0xb
mov word [esi + 0x16c], cx
mov edx, edi
mov ecx, 7
mov word [esi + 0x174], dx
mov word [esi + 0x170], cx
mov word [esi + 0x172], dx
mov ecx, edi
mov edx, 0xd
jmp 0x4901c7
mov ecx, 7
mov word [esi + 0x16c], cx
mov edx, 9
mov ecx, 0xf
mov word [esi + 0x174], dx
mov edx, 0xc
mov word [esi + 0x170], cx
mov ecx, 9
mov word [esi + 0x172], dx
mov edx, ecx
jmp 0x4901c7
mov edx, edi
mov word [esi + 0x174], dx
mov ecx, 8
mov edx, 0xe
mov word [esi + 0x16c], cx
mov word [esi + 0x172], dx
mov ecx, 0xc
mov edx, 8
mov word [esi + 0x170], cx
mov ecx, 9
mov word [esi + 0x176], dx
mov word [esi + 0x16e], cx
xor ecx, ecx
mov word [esi + 0x164], cx
mov byte [esi + 0x168], cl
mov byte [esi + 0x169], cl
mov byte [esi + 0x16a], cl
mov word [esi + 0x162], cx
movzx ecx, byte [esi + 0x12e]
xor ebp, ebp
mov edx, 0xc8
mov dword [esi + 0x13c], ebp
mov dword [esi + 0x140], ebp
mov word [esi + 0x166], dx
cmp ecx, 3
ja case.default.0x490221
jmp dword [ecx*4 + 0x490774]
call fcn.0051bd66
cdq
idiv dword [0x587bd0]
shl edx, 4
mov eax, edx
mov dx, word [eax + 0x5858c0]
mov word [esi + 0x160], dx
fld dword [eax + 0x5858c4]
fstp dword [esi + 0xd0]
fld dword [eax + 0x5858c8]
fstp dword [esi + 0xd4]
fld dword [eax + 0x5858cc]
fstp dword [esi + 0xd8]
mov al, byte [esi + 0x134]
add dword [esi + 0x180], edi
add word [esi + 0x176], 4
test al, al
je 0x49028b
cmp al, 1
je 0x49028b
cmp al, 5
jne 0x490298
cmp byte [esi + 0x12d], 0
je case.default.0x490221
push ebp
push 9
mov ecx, esi
call fcn.004ec760
jmp 0x490730
call fcn.0051bd66
cdq
idiv dword [0x587bd4]
shl edx, 4
mov eax, edx
mov cx, word [eax + 0x585cc0]
mov word [esi + 0x160], cx
fld dword [eax + 0x585cc4]
fstp dword [esi + 0xd0]
fld dword [eax + 0x585cc8]
fstp dword [esi + 0xd4]
fld dword [eax + 0x585ccc]
fstp dword [esi + 0xd8]
mov al, byte [esi + 0x134]
add dword [esi + 0x17c], edi
add word [esi + 0x16e], 4
cmp al, 2
je 0x49028b
cmp al, 3
je 0x49028b
cmp al, 4
je 0x49028b
push ebp
push 9
mov ecx, esi
call fcn.004ec760
jmp 0x490730
call fcn.0051bd66
cdq
idiv dword [0x587bd8]
mov ecx, 2
shl edx, 4
mov eax, edx
mov dx, word [eax + 0x5860c0]
mov word [esi + 0x160], dx
fld dword [eax + 0x5860c4]
fstp dword [esi + 0xd0]
fld dword [eax + 0x5860c8]
fstp dword [esi + 0xd4]
fld dword [eax + 0x5860cc]
fstp dword [esi + 0xd8]
mov al, byte [esi + 0x134]
add dword [esi + 0x180], ebx
add dword [esi + 0x17c], ebx
add word [esi + 0x170], cx
add word [esi + 0x172], cx
cmp al, cl
je 0x490391
cmp al, 4
je 0x490391
cmp al, 5
jne 0x490298
cmp byte [esi + 0x12d], 1
jmp 0x490292
call fcn.0051bd66
cdq
idiv dword [0x587bdc]
shl edx, 4
mov eax, edx
mov cx, word [eax + 0x5864c0]
mov word [esi + 0x160], cx
fld dword [eax + 0x5864c4]
fstp dword [esi + 0xd0]
mov ecx, 2
fld dword [eax + 0x5864c8]
fstp dword [esi + 0xd4]
fld dword [eax + 0x5864cc]
fstp dword [esi + 0xd8]
mov al, byte [esi + 0x134]
add dword [esi + 0x178], edi
add word [esi + 0x174], cx
add word [esi + 0x16c], cx
test al, al
je 0x490391
cmp al, 1
je 0x490391
cmp al, 3
je 0x490391
push ebp
push 9
mov ecx, esi
call fcn.004ec760
jmp 0x490730
movzx ecx, word [esi + 0x174]
fld dword [esi + 0xd0]
movzx edi, word [esi + 0x16e]
fstp dword [esp + 0x38]
fld dword [esi + 0xd4]
fstp dword [esp + 0x3c]
movzx ebp, word [esi + 0x172]
fld dword [esi + 0xd8]
fstp dword [esp + 0x40]
movzx edx, cx
lea edx, [edx + edx*4]
add dword [esi + 0x178], edx
movzx edx, di
lea edx, [edx + edx*4]
add dword [esi + 0x180], edx
movzx edx, bp
lea edx, [edx + edx*4]
add dword [esi + 0x17c], edx
mov edx, dword [esi + 0x17c]
mov dword [esi + 0x1238], edx
mov edx, dword [esi + 0x180]
mov dword [esi + 0x123c], edx
mov edx, 0x404
mov word [esp + 0x28], dx
mov edx, dword [esi + 0x582c]
mov dword [esp + 0x2a], edx
movzx edx, byte [esi + 0x12c]
mov byte [esp + 0x2e], dl
movzx edx, byte [esi + 0x12f]
mov byte [esp + 0x30], dl
movzx edx, byte [esi + 0x131]
mov ebx, dword [esi + 0x178]
mov byte [esp + 0x31], dl
movzx edx, byte [esi + 0x132]
mov byte [esp + 0x32], dl
movzx edx, byte [esi + 0x133]
mov byte [esp + 0x33], dl
movzx edx, byte [esi + 0x135]
mov byte [esp + 0x35], dl
movzx edx, word [esi + 0x160]
mov word [esp + 0x36], dx
mov dword [esi + 0x1234], ebx
movzx edx, word [esi + 0x1234]
mov word [esp + 0x44], dx
movzx edx, word [esi + 0x1238]
mov word [esp + 0x46], dx
movzx edx, word [esi + 0x123c]
mov word [esp + 0x48], dx
movzx edx, word [esi + 0x164]
mov bl, byte [esi + 0x12e]
mov word [esp + 0x4a], dx
movzx edx, word [esi + 0x166]
mov word [esp + 0x4c], dx
movzx edx, byte [esi + 0x168]
mov byte [esp + 0x4e], dl
movzx edx, byte [esi + 0x169]
mov byte [esp + 0x4f], dl
movzx edx, byte [esi + 0x16a]
mov byte [esp + 0x50], dl
movzx edx, word [esi + 0x16c]
mov word [esp + 0x59], cx
mov cx, word [esi + 0x176]
mov word [esp + 0x51], dx
movzx edx, word [esi + 0x170]
mov word [esp + 0x5b], cx
add esi, 0x184
lea ecx, [esp + 0x5d]
mov byte [esp + 0x2f], bl
mov byte [esp + 0x34], al
mov word [esp + 0x53], di
mov word [esp + 0x55], dx
mov word [esp + 0x57], bp
sub ecx, esi
mov dl, byte [esi]
mov byte [ecx + esi], dl
inc esi
test dl, dl
jne 0x4905a1
movzx ecx, al
movzx eax, bl
mov byte [esp + 0x72], dl
cmp eax, 3
ja 0x490714
cmp ecx, 5
ja 0x490714
lea edx, [eax + eax*2]
lea edi, [ecx + edx*2]
imul edi, edi, 0x7c
cmp byte [edi + 0x587c68], 0
lea edi, [edi + 0x587c68]
mov dword [esp + 0x14], edi
jbe 0x490714
test edi, edi
je 0x490714
cmp byte [edi], 0
mov dword [esp + 0x10], 0
jbe 0x490714
lea esi, [esp + 0x7d]
add edi, 6
push 0x5828e8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x5828e0]
jb 0x490640
add eax, 0x7d0
mov dword [0x5828e0], eax
mov eax, dword [0x5828dc]
mov dword [0x5828d8], eax
call fcn.004e1a50
mov dword [0x5828e4], eax
jmp 0x490645
mov eax, dword [0x5828e4]
mov ecx, dword [0x5828d8]
inc ecx
xor edx, edx
mov dword [0x5828d8], ecx
shl ecx, 0x10
or eax, edx
xor ebp, ebp
push 0x5828e8
or ebp, ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, byte [0x5827c8]
movzx ecx, byte [edi]
cdq
add eax, ebp
adc edx, ebx
mov dword [esi - 4], edx
movzx edx, byte [edi + 1]
mov dword [esi - 8], eax
mov eax, dword [edi + 2]
mov byte [esi + 4], cl
movzx ecx, byte [edi + 6]
mov byte [esi + 5], dl
mov dword [esi], eax
mov ax, word [edi + 8]
lea edx, [esp + 0x18]
push edx
mov word [esi + 6], ax
mov byte [esi + 8], cl
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x18]
movzx ecx, word [esp + 0x1a]
movzx edx, word [esp + 0x1e]
sub eax, 0x10
shl eax, 4
add eax, ecx
movzx ecx, word [esp + 0x20]
shl eax, 5
add eax, edx
movzx edx, word [esp + 0x22]
shl eax, 5
add eax, ecx
movzx ecx, word [esp + 0x24]
shl eax, 6
add eax, edx
movzx edx, byte [edi - 2]
shl eax, 6
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 9], eax
mov al, byte [edi - 1]
mov byte [esi - 9], al
mov eax, dword [esp + 0x10]
mov byte [esi - 0xa], dl
movzx edx, byte [ecx]
inc byte [esp + 0x72]
inc eax
add edi, 0xc
add esi, 0x17
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x490607
movzx eax, byte [esp + 0x72]
imul eax, eax, 0x17
add eax, 0x4b
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [0x58796c]
call fcn.004ed2d0
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051a8be
add esp, 0x15c
ret