Function at 0x5de959
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x4c2150]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], ebx
test edi, edi
jne 0x5de989
xor eax, eax
jmp 0x5dec94
mov eax, dword [edi]
push edi
call dword [eax + 0x18]
pop ecx
mov esi, eax
xor ecx, ecx
jmp 0x5de9af
mov eax, dword [esi + 0x1c]
cmp eax, 0xc
jge 0x5de9b4
mov dl, byte [ebx]
dec dword [ebp + 0x10]
mov byte [eax + esi + 4], dl
inc dword [esi + 0x1c]
inc ebx
mov dword [esp + 0xc], ebx
cmp dword [ebp + 0x10], ecx
jg 0x5de996
cmp dword [esi + 0x1c], 0xc
jl 0x5de982
cmp dword [esi + 0x14], ecx
jne 0x5dea2c
mov al, byte [esi + 4]
cmp al, 0x42
jne 0x5de9d0
movzx ecx, byte [esi + 0xa]
movzx edx, byte [esi + 0xb]
jmp 0x5de9d8
movzx ecx, byte [esi + 0xb]
movzx edx, byte [esi + 0xa]
shl ecx, 8
or ecx, edx
mov dword [esi + 0x20], ecx
cmp al, 0x42
jne 0x5de9ee
movzx eax, byte [esi + 0xc]
movzx edx, byte [esi + 0xd]
jmp 0x5de9f6
movzx eax, byte [esi + 0xd]
movzx edx, byte [esi + 0xc]
shl eax, 8
or eax, edx
add ecx, 3
mov dword [esi + 0x28], eax
and ecx, 0xfffffffc
add eax, 3
and eax, 0xfffffffc
mov dword [esi + 0x24], ecx
inc ecx
push 1
push ecx
mov dword [esi + 0x2c], eax
call fcn.005b58f3
push 1
push dword [esi + 0x2c]
mov dword [esi + 0x14], eax
call fcn.005b58f3
add esp, 0x10
mov dword [esi + 0x18], eax
cmp dword [ebp + 0x10], 0
jle 0x5dea88
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
add ecx, 0xc
cmp eax, ecx
jge 0x5dea82
mov dl, byte [ebx]
dec dword [ebp + 0x10]
mov ecx, dword [esi + 0x14]
mov byte [eax + ecx - 0xc], dl
inc dword [esi + 0x1c]
inc ebx
cmp dword [ebp + 0x10], 0
mov dword [esp + 0xc], ebx
jg 0x5dea32
jmp 0x5dea82
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x1c]
lea edx, [ecx + edx + 0xc]
cmp eax, edx
jge 0x5dea88
mov edx, dword [esi + 0x18]
dec dword [ebp + 0x10]
sub edx, ecx
mov cl, byte [ebx]
mov byte [edx + eax - 0xc], cl
inc dword [esi + 0x1c]
inc ebx
mov dword [esp + 0xc], ebx
cmp dword [ebp + 0x10], 0
jg 0x5dea5b
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x24]
lea eax, [eax + ecx + 0xc]
cmp dword [esi + 0x1c], eax
jl 0x5de982
cmp dword [esi + 0x30], 0
jne 0x5dec87
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x14]
mov byte [eax + ecx], 0
push dword [esi + 0x28]
mov eax, dword [esi + 0x18]
push dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push dword [esi + 0x40]
push dword [esi + 0x3c]
call fcn.005de2dd
add esp, 0x10
test eax, eax
je 0x5deb9a
push eax
push 0x4b155c
push 0x4bf9f8
call fcn.005b5697
add esp, 0xc
mov dword [esp + 0x10], eax
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5deaeb
sub eax, ecx
mov dword [esp + 0xc], eax
add eax, 0xd
push 1
push eax
call fcn.005b58f3
mov ebx, eax
mov eax, dword [esp + 0x14]
lea edi, [eax + 3]
mov byte [ebx + 1], al
mov byte [ebx], 0
mov eax, dword [esi + 6]
and edi, 0xfffffffc
mov dword [ebx + 2], eax
cmp byte [esi + 4], 0x42
pop ecx
pop ecx
mov eax, edi
jne 0x5deb32
sar eax, 0xa
mov byte [ebx + 6], al
mov eax, edi
sar eax, 2
jmp 0x5deb3d
sar eax, 2
mov byte [ebx + 6], al
mov eax, edi
sar eax, 0xa
push edi
mov byte [ebx + 7], al
lea eax, [ebx + 8]
push 0
push eax
call fcn.00634454
add esp, 0xc
push dword [esp + 0xc]
lea eax, [ebx + 8]
push dword [esp + 0x14]
push eax
call fcn.006344d4
mov eax, dword [esi + 0x44]
add esp, 0xc
add edi, 8
push edi
push ebx
call fcn.005bf2bf
push dword [esi + 0x44]
call fcn.005bf18c
mov edi, dword [esp + 0x20]
add esp, 0xc
call fcn.005de8da
push ebx
call fcn.005b59cb
pop ecx
push dword [esp + 0x10]
call fcn.005b59cb
pop ecx
jmp 0x5de982
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 0x34]
mov eax, dword [edx*4 + 0x4b1568]
and dword [esp + 0x10], 0
lea ebx, [eax + 1]
mov dword [esp + 0x14], ebx
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x5debb3
sub eax, dword [esp + 0x14]
mov ebx, eax
cmp edx, 1
jne 0x5debdd
mov eax, dword [ecx + 0x3c]
push eax
push dword [ecx + 0x38]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
call fcn.006344d4
add esp, 0xc
lea eax, [esi + 4]
mov cl, byte [eax]
mov edx, ebx
sar edx, 8
cmp cl, 0x42
jne 0x5debf4
mov byte [esi + 0xa], dl
mov byte [esi + 0xb], bl
jmp 0x5debfa
mov byte [esi + 0xa], bl
mov byte [esi + 0xb], dl
cmp cl, 0x42
mov ecx, dword [esp + 0x10]
jne 0x5dec0d
mov edx, ecx
sar edx, 8
mov byte [esi + 0xc], dl
jmp 0x5dec13
mov byte [esi + 0xc], cl
sar ecx, 8
push 0xc
push eax
mov byte [esi + 0xd], cl
mov ecx, dword [edi]
push edi
call dword [ecx + 8]
add esp, 0xc
test ebx, ebx
je 0x5dec51
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x34]
mov eax, dword [edi]
push ebx
push dword [ecx*4 + 0x4b1568]
push edi
call dword [eax + 8]
mov eax, dword [edi]
add esp, 0xc
neg ebx
and ebx, 3
push ebx
push 0x4b159c
push edi
call dword [eax + 8]
add esp, 0xc
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x5dec7c
mov eax, dword [edi]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [eax + 8]
mov eax, dword [edi]
add esp, 0xc
neg ebx
and ebx, 3
push ebx
push 0x4b159c
push edi
call dword [eax + 8]
add esp, 0xc
mov ebx, dword [esp + 0xc]
mov dword [esi + 0x30], 1
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push edi
call dword [eax + 8]
add esp, 0xc
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00630a52
mov esp, ebp
pop ebp
ret