Function at 0x5357e0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x553128
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5973cc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x535afa
push 0x10015
push 0x598c70
call fcn.00539ad0
mov edi, eax
mov ebp, edx
cmp edi, dword [0x56e150]
jne 0x535843
cmp ebp, dword [0x56e154]
jne 0x535843
push 0xdc
mov ecx, esi
call fcn.005345e0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x3c]
and ecx, 0x70
cmp cl, 0x70
sete bl
test bl, bl
jne 0x535875
mov edx, dword [esi + 0x24]
mov dword [edx], edi
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
mov edx, dword [esi + 0x14]
push 1
add ecx, 4
push 0
push ecx
mov ecx, dword [edx + 4]
call fcn.0052a390
jmp 0x5358a5
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esi + 0x14]
sub edi, eax
sbb ebp, edx
add edi, 4
push 0
adc ebp, 0
push ebp
push edi
call fcn.00538f30
mov ecx, dword [esi + 0x14]
call fcn.00531ee0
mov ecx, dword [esi + 0x24]
sub eax, 4
mov dword [ecx], eax
push 0
push 0x12
lea ecx, [esp + 0x20]
call fcn.00533080
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x14]
push 1
push 0x12
push edx
mov dword [esp + 0x38], 0
call fcn.00539350
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x1c]
add eax, 4
xor edx, edx
mov word [eax], dx
movzx ecx, word [ecx]
mov word [eax], cx
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x1c]
mov word [eax + 6], dx
movzx ecx, word [ecx + 2]
mov word [eax + 6], cx
mov ecx, dword [esp + 0x1c]
add eax, 6
mov eax, dword [esi + 0x24]
mov word [eax + 8], dx
movzx ecx, word [ecx + 4]
mov word [eax + 8], cx
mov ecx, dword [esp + 0x1c]
add eax, 8
mov eax, dword [esi + 0x24]
mov word [eax + 0xa], dx
movzx ecx, word [ecx + 6]
mov word [eax + 0xa], cx
mov ecx, dword [esp + 0x1c]
add eax, 0xa
mov eax, dword [esi + 0x24]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 8]
add eax, 0xc
mov dword [eax], edx
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x1c]
add eax, 0x10
mov dword [eax], 0
mov ecx, dword [ecx + 0xc]
mov dword [eax], ecx
mov edx, dword [esp + 0x1c]
mov di, word [edx + 0x10]
lea ecx, [esp + 0x18]
call fcn.00532f40
test di, di
je 0x535982
mov ecx, dword [esi + 0x24]
movzx ebp, di
push 0
push ebp
add ecx, 0x18
call fcn.00532f70
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esi + 0x14]
push 1
push ebp
push eax
call fcn.00539350
mov eax, dword [esi + 0x24]
mov ecx, 0xffff
or ebp, 0xffffffff
cmp word [eax + 4], cx
jae 0x5359b1
mov edx, ecx
cmp word [eax + 6], dx
jae 0x5359b1
cmp word [eax + 8], cx
jae 0x5359b1
cmp word [eax + 0xa], dx
jae 0x5359b1
cmp dword [eax + 0xc], ebp
jae 0x5359b1
cmp dword [eax + 0x10], ebp
jb 0x535a14
test bl, bl
jne 0x5359fb
cmp dword [eax], 0x14
jb 0x535a14
mov edx, dword [eax]
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 4]
xor eax, eax
add edx, 0xffffffec
push 1
adc eax, ebp
push eax
push edx
call fcn.0052a390
mov ecx, dword [esi + 0x14]
push 1
push 4
lea edx, [esp + 0x1c]
push edx
call fcn.00539350
mov eax, dword [esp + 0x14]
cmp eax, dword [0x598c74]
jne 0x535a14
push 0xdd
mov ecx, esi
call fcn.005345e0
movzx ecx, di
mov eax, 0xffffffd6
sub eax, ecx
mov ecx, dword [esi + 0x14]
cdq
push 0
push edx
push eax
call fcn.00538f30
jmp 0x5359d2
mov ecx, dword [esi + 8]
shr ecx, 9
not cl
test cl, 1
je 0x535a50
mov eax, dword [esi + 0x24]
movzx ecx, word [eax + 4]
test cx, cx
jne 0x535a50
mov edx, eax
mov di, word [edx + 0xa]
cmp di, word [edx + 8]
jne 0x535a3f
cmp word [eax + 6], cx
je 0x535a50
test cx, cx
jne 0x535a50
push 0xc9
mov ecx, esi
call fcn.005345e0
mov edx, dword [esi + 0x24]
movzx eax, word [edx + 4]
mov ecx, dword [esi + 0x14]
push eax
call fcn.00538200
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x3c]
shr edx, 4
test dl, 1
jne 0x535a87
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0x10]
add edx, dword [eax + 0xc]
cmp dword [eax], edx
jae 0x535a87
push 0xc9
mov ecx, esi
call fcn.005345e0
cmp dword [ecx + 0x28], 0
jne 0x535aa2
mov eax, dword [esi + 0x24]
cmp word [eax + 4], 0
jne 0x535aa2
mov edx, dword [eax]
sub edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
mov dword [ecx + 0x28], edx
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x535ab2
cmp word [eax + 0xa], cx
jne 0x535abd
cmp word [eax + 0xa], 0
jne 0x535ac9
test ecx, ecx
je 0x535ac9
push 0xc9
mov ecx, esi
call fcn.005345e0
mov byte [eax + 0x14], 1
mov ecx, dword [esi + 0x24]
movzx edx, word [ecx + 6]
mov ecx, dword [esi + 0x14]
push edx
call fcn.005389e0
mov eax, dword [esi + 0x24]
cmp dword [eax + 0xc], 0
je 0x535aed
mov ecx, esi
call fcn.005351d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebp
call fcn.005330b0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret