Function at 0x5383d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xac
mov eax, dword [ecx + 6]
push ebx
add eax, 0x9da
push ebp
push esi
mov ebx, dword [esp + 0xbc]
mov esi, dword [eax + 0xc]
push edi
imul esi, dword [esp + 0xc4]
mov edi, dword [eax + 0x14]
add esi, ebx
shl esi, 4
add esi, edi
mov dword [esp + 0x18], ecx
mov ecx, esi
mov di, word [esi + 2]
and edi, 0xfff
mov dword [esp + 0x38], edi
call fcn.004a3d60
mov eax, dword [eax + 0x19]
and edi, 0xffff
mov dword [esp + 0x28], eax
xor ecx, ecx
lea eax, [edi*4 + 0x6ccb20]
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov cl, byte [edi + 0x2d]
mov ebp, ecx
cmp ebp, ebx
jne 0x53847b
mov eax, dword [esp + 0xc4]
xor edx, edx
mov dl, byte [edi + 0x2e]
cmp edx, eax
jne 0x53847b
mov al, byte [esi + 4]
mov byte [edi + 0x2d], al
mov cl, byte [esi + 5]
mov byte [edi + 0x2e], cl
mov al, byte [esi + 4]
test al, al
jne 0x53851b
mov al, byte [esi + 5]
test al, al
jne 0x53851b
mov byte [edi + 0x2f], 0
mov byte [edi + 0x30], 0
jmp 0x53851b
mov edx, dword [esp + 0x18]
xor eax, eax
mov al, byte [edi + 0x2e]
mov edx, dword [edx + 6]
mov ecx, dword [edx + 0x9e6]
imul ecx, eax
mov eax, dword [edx + 0x9ee]
add ecx, ebp
shl ecx, 4
add ecx, eax
mov al, byte [edi + 0x2d]
mov byte [esp + 0x10], al
mov al, byte [edi + 0x2e]
mov byte [esp + 0x11], al
xor eax, eax
mov al, byte [ecx + 4]
mov ebp, eax
cmp ebp, ebx
jne 0x5384c4
xor eax, eax
mov al, byte [ecx + 5]
cmp eax, dword [esp + 0xc4]
je 0x5384ef
mov al, byte [ecx + 4]
mov byte [esp + 0x10], al
mov al, byte [ecx + 5]
mov byte [esp + 0x11], al
xor eax, eax
mov al, byte [ecx + 5]
mov ecx, dword [edx + 0x9e6]
imul ecx, eax
mov eax, dword [edx + 0x9ee]
add ecx, ebp
shl ecx, 4
add ecx, eax
jmp 0x5384ab
xor eax, eax
xor edx, edx
mov al, byte [esi + 5]
mov dl, byte [esi + 4]
mov byte [ecx + 4], dl
mov byte [ecx + 5], al
mov al, byte [esi + 4]
test al, al
jne 0x53851b
mov al, byte [esi + 5]
test al, al
jne 0x53851b
mov cl, byte [esp + 0x10]
mov dl, byte [esp + 0x11]
mov byte [edi + 0x2f], cl
mov byte [edi + 0x30], dl
mov eax, dword [esp + 0x18]
mov dx, word [edi + 0x1d]
mov word [esp + 0x2c], dx
mov ecx, dword [eax + 6]
mov eax, dword [esp + 0x28]
mov ax, word [eax + 0x43d]
lea ebp, [ecx + 0x9da]
test al, 3
mov dword [esp + 0x34], ebp
jne 0x538558
xor ecx, ecx
mov cl, byte [esi + 0xa]
mov edx, dword [ecx*4 + 0x6b8a88]
mov al, byte [edx + 0x1c6]
jmp 0x538576
mov dx, word [esi + 8]
shr edx, 0xc
test dl, 1
jne 0x53856e
mov eax, dword [ecx]
call dword [eax + 0x2bc]
jmp 0x538576
mov edx, dword [ecx]
call dword [edx + 0x2c0]
mov edx, dword [esp + 0xc4]
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 0
push 1
push eax
push ecx
push edx
push ebx
mov ecx, ebp
call fcn.0049e27a
mov al, byte [edi + 0x18]
mov cl, byte [edi + 0x2e]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x21], cl
mov ecx, dword [edx + 6]
xor edx, edx
mov eax, dword [eax]
add ecx, 0x9da
mov bl, byte [edi + 0x2d]
mov dl, byte [eax + 0x2d]
mov byte [esp + 0x20], bl
mov esi, edx
xor edx, edx
mov dl, byte [eax + 0x2e]
mov eax, edx
mov edx, dword [ecx + 0x14]
imul eax, dword [ecx + 0xc]
add eax, esi
shl eax, 4
add eax, edx
test word [eax + 2], 0xfff
je 0x538611
mov edi, 0xf000
and word [eax + 2], di
xor edx, edx
mov dl, byte [eax + 4]
mov esi, edx
xor edx, edx
mov dl, byte [eax + 5]
mov eax, edx
mov edx, dword [ecx + 0x14]
imul eax, dword [ecx + 0xc]
add eax, esi
shl eax, 4
add eax, edx
test word [eax + 2], 0xfff
jne 0x5385e9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
push eax
call fcn.00537941
mov al, byte [esp + 0xc8]
mov ebp, dword [esp + 0xd0]
inc al
mov byte [esp + 0x10], al
test bl, bl
jne 0x538643
mov al, byte [esp + 0x21]
test al, al
je 0x538761
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x21]
and edx, 0xff
mov esi, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
imul ecx, edx
and esi, 0xff
lea edi, [esp + 0x3c]
add ecx, esi
xor ebx, ebx
shl ecx, 4
lea eax, [ecx + eax + 4]
mov cl, byte [eax]
mov al, byte [eax + 1]
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1d], al
mov ecx, 0x20
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x28]
push ecx
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1f]
push ecx
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push edx
push esi
mov dword [esp + 0x48], ebx
call fcn.00537f53
test eax, eax
je 0x5386c8
mov cl, byte [esp + 0x17]
mov al, byte [esp + 0x10]
sub al, cl
mov byte [esp + 0x10], al
mov edi, dword [esp + 0x28]
xor esi, esi
xor eax, eax
mov ecx, ebp
mov edx, dword [ecx]
cmp edx, ebx
je 0x5386ec
cmp edx, edi
je 0x5386e7
inc eax
add ecx, 4
cmp eax, 0x20
jb 0x5386d2
jmp 0x5386ec
mov esi, 1
cmp esi, ebx
jne 0x5386f4
mov dword [ebp + eax*4], edi
lea edi, [esp + 0x3c]
mov esi, dword [edi]
test esi, esi
je 0x53874c
xor eax, eax
mov ecx, ebp
mov edx, dword [ecx]
test edx, edx
je 0x538743
cmp esi, edx
je 0x538717
inc eax
add ecx, 4
cmp eax, 0x20
jb 0x538702
jmp 0x538743
lea ecx, [eax*4]
cmp eax, 0x1f
lea edx, [ebp + ecx]
mov dword [edx], 0
jae 0x538743
mov esi, 0x7c
lea eax, [ebp + eax*4 + 4]
sub esi, ecx
push esi
push eax
push edx
call fcn.00675576
add esp, 0xc
inc ebx
add edi, 4
cmp ebx, 0x20
jb 0x5386f8
mov bl, byte [esp + 0x1c]
mov cl, byte [esp + 0x1d]
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], cl
jmp 0x538633
mov al, byte [esp + 0xc8]
mov cl, byte [esp + 0x10]
mov edx, dword [esp + 0xcc]
sub al, cl
pop edi
pop esi
mov byte [edx], al
pop ebp
mov eax, 1
pop ebx
add esp, 0xac
ret 0x14