Function at 0x5e0cd0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x30], esi
mov eax, dword [esi + 0x10]
xor ebp, ebp
mov byte [esp + 0x12], 1
mov dword [esp + 0x28], ebp
mov dl, 1
test eax, eax
jg 0x5e0d3b
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5e0d0f
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5e0d0f
mov eax, dword [ecx]
push 1
call dword [eax]
push edi
mov ecx, esi
mov dword [esi + 4], 0
call fcn.005f30f0
pop edi
mov dword [esi + 0xc], 0
mov al, 1
mov dword [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
mov dl, byte [esp + 0x13]
mov ebx, ebp
shl ebx, 6
add ebx, dword [esi + 0x14]
mov dword [esp + 0x14], ebx
mov ecx, dword [ebx]
test ecx, ecx
setg al
dec al
and al, dl
mov edx, dword [ebx + 0x10]
mov byte [esp + 0x13], al
test edx, edx
je 0x5e15d3
mov eax, dword [ebx + 0x3c]
sub dword [ebx + 0xc], eax
mov byte [esp + 0x12], 0
jns 0x5e15d3
lea eax, [ecx - 1]
mov dword [ebx], eax
lea eax, [edx - 1]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x38]
add dword [ebx + 0xc], eax
mov ecx, dword [esi + 4]
push edi
push 0
push ebp
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebx + 0x24]
mov edi, eax
mov dword [esp + 0x24], edi
test esi, esi
je 0x5e1129
mov al, byte [edi + 6]
mov ecx, dword [ebx + 0x34]
mov ebp, dword [ebx + 0x14]
mov edx, dword [ebx + 4]
mov byte [esp + 0x10], al
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x1c]
and al, 2
je 0x5e0f30
mov edi, dword [edi + 8]
test edi, edi
je 0x5e0f2c
mov eax, 1
shl ax, cl
sar ax, 1
movzx eax, ax
mov dword [esp + 0x1c], eax
or eax, 0xffffffff
shl ax, cl
test byte [esp + 0x10], 1
not ax
movzx eax, ax
mov dword [esp + 0x18], eax
jne 0x5e0e43
mov eax, 0xd
sub eax, ecx
mov dword [esp + 0x20], eax
test edx, edx
jle 0x5e1057
mov ebx, dword [esp + 0x1c]
mov ecx, eax
lea esp, [esp]
movzx eax, byte [esi]
lea edi, [edi + 2]
and ax, word [esp + 0x18]
dec edx
sub ax, bx
add esi, ebp
shl ax, cl
mov word [edi - 2], ax
test edx, edx
jg 0x5e0e10
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, dword [ebx + 0x18]
add dword [ebx + 0x24], eax
jmp 0x5e15bd
mov eax, dword [esp + 0x20]
cmp ecx, eax
jge 0x5e0e91
sub eax, ecx
mov dword [esp + 0x20], eax
test edx, edx
jle 0x5e1057
mov ecx, eax
jmp 0x5e0e60
movzx eax, byte [esi]
lea edi, [edi + 2]
and ax, word [esp + 0x18]
dec edx
sub ax, word [esp + 0x1c]
add esi, ebp
shl ax, cl
mov word [edi - 2], ax
test edx, edx
jg 0x5e0e60
mov eax, dword [ebx + 0x18]
add dword [ebx + 0x24], eax
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x5e15bd
jle 0x5e0ef0
sub ecx, eax
mov eax, 1
shl eax, cl
sar eax, 1
sub dword [esp + 0x1c], eax
test edx, edx
jle 0x5e1057
mov eax, dword [esp + 0x18]
movsx ebx, ax
mov eax, dword [esp + 0x1c]
cwde
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi]
lea edi, [edi + 2]
and eax, dword [esp + 0x20]
dec edx
sub eax, dword [esp + 0x1c]
add esi, ebp
sar eax, cl
mov word [edi - 2], ax
test edx, edx
jg 0x5e0ec2
mov eax, dword [ebx + 0x18]
add dword [ebx + 0x24], eax
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x5e15bd
test edx, edx
jle 0x5e1057
mov ecx, dword [esp + 0x1c]
lea esp, [esp]
movzx eax, byte [esi]
lea edi, [edi + 2]
and ax, word [esp + 0x18]
dec edx
sub ax, cx
add esi, ebp
mov word [edi - 2], ax
test edx, edx
jg 0x5e0f00
mov eax, dword [ebx + 0x18]
add dword [ebx + 0x24], eax
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x5e15bd
mov edi, dword [esp + 0x24]
test al, al
je 0x5e0f38
xor edi, edi
jmp 0x5e0f3b
mov edi, dword [edi + 8]
mov eax, 1
shl eax, cl
mov dword [esp + 0x2c], eax
sar eax, 1
mov dword [esp + 0x1c], eax
or eax, 0xffffffff
shl eax, cl
test byte [esp + 0x10], 1
not eax
mov dword [esp + 0x18], eax
jne 0x5e106a
mov ecx, dword [esp + 0x1c]
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld1
fdivrp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
cmp edx, 4
jl 0x5e102a
lea eax, [edx - 4]
shr eax, 2
inc eax
mov dword [esp + 0x2c], eax
neg eax
mov ebx, dword [esp + 0x2c]
lea edx, [edx + eax*4]
movzx eax, byte [esi]
fld st(0)
and eax, dword [esp + 0x18]
add esi, ebp
sub eax, ecx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi]
movzx eax, byte [esi]
add esi, ebp
and eax, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi + 4]
movzx eax, byte [esi]
add esi, ebp
and eax, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi + 8]
movzx eax, byte [esi]
add esi, ebp
and eax, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fmul dword [esp + 0x2c]
fstp dword [edi + 0xc]
add edi, 0x10
sub ebx, 1
jne 0x5e0f9b
mov ebx, dword [esp + 0x14]
test edx, edx
jle 0x5e1055
movzx eax, byte [esi]
dec edx
and eax, dword [esp + 0x18]
add esi, ebp
sub eax, ecx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi]
add edi, 4
test edx, edx
jg 0x5e102e
fstp st(0)
mov eax, dword [ebx + 0x18]
add dword [ebx + 0x24], eax
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x5e15bd
mov eax, dword [esp + 0x20]
cmp ecx, eax
jge 0x5e10b1
sub eax, ecx
mov dword [esp + 0x20], eax
test edx, edx
jle 0x5e1057
mov ebx, dword [esp + 0x1c]
mov ecx, eax
movzx eax, byte [esi]
lea edi, [edi + 4]
and eax, dword [esp + 0x18]
dec edx
sub eax, ebx
add esi, ebp
shl eax, cl
mov dword [edi - 4], eax
test edx, edx
jg 0x5e1082
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, dword [ebx + 0x18]
add dword [ebx + 0x24], eax
jmp 0x5e15bd
jle 0x5e10f3
sub ecx, eax
mov eax, 1
shl eax, cl
sar eax, 1
sub dword [esp + 0x1c], eax
test edx, edx
jle 0x5e1057
movzx eax, byte [esi]
lea edi, [edi + 4]
and eax, dword [esp + 0x18]
dec edx
sub eax, dword [esp + 0x1c]
add esi, ebp
sar eax, cl
mov dword [edi - 4], eax
test edx, edx
jg 0x5e10c6
mov eax, dword [ebx + 0x18]
add dword [ebx + 0x24], eax
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x5e15bd
test edx, edx
jle 0x5e1057
mov ecx, dword [esp + 0x1c]
nop
movzx eax, byte [esi]
lea edi, [edi + 4]
and eax, dword [esp + 0x18]
dec edx
sub eax, ecx
add esi, ebp
mov dword [edi - 4], eax
test edx, edx
jg 0x5e1100
mov eax, dword [ebx + 0x18]
add dword [ebx + 0x24], eax
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x5e15bd
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x5e1565
mov ah, byte [edi + 6]
mov al, byte [ebx + 0x20]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 4]
mov byte [esp + 0x10], ah
mov byte [esp + 0x11], al
mov dword [esp + 0x1c], ecx
and ah, 2
je 0x5e129d
mov edi, dword [edi + 8]
test edi, edi
je 0x5e1299
mov ebp, 0x10
sub ebp, dword [ebx + 0x1c]
test byte [esp + 0x10], 1
jne 0x5e11f6
test esi, esi
jle 0x5e13b2
test al, al
lea eax, [ecx + ecx]
je 0x5e11b9
mov dword [esp + 0x2c], eax
mov ebx, eax
movsx eax, word [edx]
lea edi, [edi + 2]
mov ecx, ebp
dec esi
shl eax, cl
add edx, ebx
sar eax, 3
mov word [edi - 2], ax
test esi, esi
jg 0x5e1188
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, dword [ebx + 0x18]
add eax, eax
add dword [ebx + 0x28], eax
jmp 0x5e15bd
mov dword [esp + 0x2c], eax
mov ebx, eax
nop
movsx eax, word [edx]
lea edi, [edi + 2]
mov ecx, ebp
dec esi
shl eax, cl
add edx, ebx
sub eax, 0x8000
sar eax, 3
mov word [edi - 2], ax
test esi, esi
jg 0x5e11c0
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, dword [ebx + 0x18]
add eax, eax
add dword [ebx + 0x28], eax
jmp 0x5e15bd
mov eax, 0x10
sub eax, dword [ebx + 0x34]
mov dword [esp + 0x20], eax
test esi, esi
jle 0x5e13b2
cmp byte [esp + 0x11], 0
lea eax, [ecx + ecx]
mov ebx, dword [esp + 0x20]
je 0x5e1254
mov dword [esp + 0x2c], eax
lea esp, [esp]
movsx eax, word [edx]
lea edi, [edi + 2]
add edx, dword [esp + 0x2c]
mov ecx, ebp
shl eax, cl
dec esi
mov ecx, ebx
sar eax, cl
mov word [edi - 2], ax
test esi, esi
jg 0x5e1220
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, dword [ebx + 0x18]
add eax, eax
add dword [ebx + 0x28], eax
jmp 0x5e15bd
mov dword [esp + 0x2c], eax
jmp 0x5e1260
movsx eax, word [edx]
lea edi, [edi + 2]
add edx, dword [esp + 0x2c]
mov ecx, ebp
shl eax, cl
dec esi
sub eax, 0x8000
mov ecx, ebx
sar eax, cl
mov word [edi - 2], ax
test esi, esi
jg 0x5e1260
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, dword [ebx + 0x18]
add eax, eax
add dword [ebx + 0x28], eax
jmp 0x5e15bd
mov edi, dword [esp + 0x24]
test ah, ah
je 0x5e12a5
xor edi, edi
jmp 0x5e12a8
mov edi, dword [edi + 8]
mov ebp, 0x20
sub ebp, dword [ebx + 0x1c]
test byte [esp + 0x10], 1
jne 0x5e14d0
fld qword [0x6b0b20]
test al, al
je 0x5e13c7
cmp esi, 4
jl 0x5e137a
lea eax, [ecx + ecx]
mov dword [esp + 0x18], eax
lea eax, [esi - 4]
shr eax, 2
inc eax
mov dword [esp + 0x2c], eax
neg eax
mov ebx, dword [esp + 0x2c]
lea esi, [esi + eax*4]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x18]
movsx eax, word [edx]
mov ecx, ebp
shl eax, cl
add edx, esi
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi]
movsx eax, word [edx]
add edx, esi
shl eax, cl
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi + 4]
movsx eax, word [edx]
add edx, esi
shl eax, cl
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi + 8]
movsx eax, word [edx]
add edx, esi
shl eax, cl
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi + 0xc]
add edi, 0x10
sub ebx, 1
jne 0x5e12f5
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
test esi, esi
jle 0x5e13b0
lea eax, [ecx + ecx]
mov dword [esp + 0x2c], eax
mov ebx, eax
movsx eax, word [edx]
mov ecx, ebp
shl eax, cl
dec esi
mov dword [esp + 0x2c], eax
add edx, ebx
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi]
add edi, 4
test esi, esi
jg 0x5e1387
mov ebx, dword [esp + 0x14]
fstp st(0)
mov eax, dword [ebx + 0x18]
mov edi, dword [esp + 0x24]
add eax, eax
add dword [ebx + 0x28], eax
mov ebp, dword [esp + 0x28]
jmp 0x5e15bd
cmp esi, 4
jl 0x5e1490
lea eax, [ecx + ecx]
mov dword [esp + 0x18], eax
lea eax, [esi - 4]
shr eax, 2
inc eax
mov dword [esp + 0x2c], eax
neg eax
mov ebx, dword [esp + 0x2c]
lea esi, [esi + eax*4]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x18]
movsx eax, word [edx]
mov ecx, ebp
shl eax, cl
add edx, esi
sub eax, 0x80000000
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi]
movsx eax, word [edx]
add edx, esi
shl eax, cl
sub eax, 0x80000000
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi + 4]
movsx eax, word [edx]
add edx, esi
shl eax, cl
sub eax, 0x80000000
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi + 8]
movsx eax, word [edx]
add edx, esi
shl eax, cl
sub eax, 0x80000000
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi + 0xc]
add edi, 0x10
sub ebx, 1
jne 0x5e13f3
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
test esi, esi
jle 0x5e13b0
lea eax, [ecx + ecx]
mov dword [esp + 0x2c], eax
mov ebx, eax
movsx eax, word [edx]
mov ecx, ebp
shl eax, cl
dec esi
sub eax, 0x80000000
add edx, ebx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [edi]
add edi, 4
test esi, esi
jg 0x5e14a1
jmp 0x5e13ac
mov eax, 0x20
sub eax, dword [ebx + 0x34]
mov dword [esp + 0x20], eax
test esi, esi
jle 0x5e13b2
cmp byte [esp + 0x11], 0
lea eax, [ecx + ecx]
mov ebx, dword [esp + 0x20]
je 0x5e1529
mov dword [esp + 0x2c], eax
movsx eax, word [edx]
lea edi, [edi + 4]
add edx, dword [esp + 0x2c]
mov ecx, ebp
shl eax, cl
dec esi
mov ecx, ebx
sar eax, cl
mov dword [edi - 4], eax
test esi, esi
jg 0x5e14f6
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, dword [ebx + 0x18]
add eax, eax
add dword [ebx + 0x28], eax
jmp 0x5e15bd
mov dword [esp + 0x2c], eax
lea ecx, [ecx]
movsx eax, word [edx]
lea edi, [edi + 4]
add edx, dword [esp + 0x2c]
mov ecx, ebp
shl eax, cl
dec esi
sub eax, 0x80000000
mov ecx, ebx
sar eax, cl
mov dword [edi - 4], eax
test esi, esi
jg 0x5e1530
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, dword [ebx + 0x18]
add eax, eax
add dword [ebx + 0x28], eax
jmp 0x5e15bd
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x5e1592
movzx eax, byte [ebx + 0x20]
push eax
push dword [ebx + 0x34]
push dword [ebx + 0x1c]
push dword [ebx + 0x14]
push dword [ebx + 4]
push ecx
push edi
call fcn.005e1fe0
mov eax, dword [ebx + 0x18]
add esp, 0x1c
shl eax, 2
add dword [ebx + 0x2c], eax
jmp 0x5e15bd
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x5e15bd
movzx eax, byte [ebx + 0x20]
push eax
push dword [ebx + 0x34]
push dword [ebx + 0x1c]
push dword [ebx + 0x14]
push dword [ebx + 4]
push ecx
push edi
call fcn.005e2360
mov eax, dword [ebx + 0x18]
add esp, 0x1c
shl eax, 2
add dword [ebx + 0x30], eax
mov esi, dword [esp + 0x30]
push dword [esp + 0x38]
push edi
mov ecx, dword [esi + 4]
push ebp
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [esp + 0x38]
mov eax, dword [esi + 0x10]
inc ebp
mov dword [esp + 0x28], ebp
cmp ebp, eax
jl 0x5e0d37
cmp byte [esp + 0x12], 0
je 0x5e0ce4
cmp byte [esp + 0x13], 0
jne 0x5e0cf5
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 4