Function at 0x10054da0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
push ebx
mov ebx, dword [ecx]
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [ecx + 0x1f8]
mov dword [esp + 0x1c], esi
lea esi, [eax*8]
sub esi, eax
add esi, esi
add esi, esi
add esi, esi
cmp dword [esp + 0x40], 0
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + edi + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esi + edi + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], eax
je 0x10054e02
test edx, edx
je 0x10054e0c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test edx, edx
je 0x10054e0c
cmp word [edi], 1
jg 0x10054df8
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 8]
test edx, edx
je 0x10054e1c
cmp dword [ebp + 0x28], 0
jne 0x10054df8
cmp dword [eax + 0x2c], 0
jne 0x10054df8
cmp dword [ebp + 0x24], 0
je 0x10054e32
test edx, edx
je 0x10054e32
cmp dword [eax + 0x18], 0
jne 0x10054df8
cmp word [ecx], 0
je 0x10054df8
test byte [eax + 6], 1
jne 0x10054e42
test edx, edx
je 0x10054e4f
cmp word [edi], 1
jg 0x10054df8
cmp dword [esp + 0x44], 0
jne 0x10054df8
mov cx, word [ebp + 6]
and cx, 1
mov word [esp + 0x3c], cx
je 0x10054e65
cmp dword [esp + 0x48], 0
jne 0x10054df8
cmp dword [ebp + 0x18], 0
je 0x10054e71
cmp dword [eax + 0x18], 0
jne 0x10054df8
cmp dword [esp + 0x44], 0
je 0x10054e82
cmp dword [eax + 0x18], 0
jne 0x10054df8
test edx, edx
je 0x10054e90
cmp dword [ebp + 0xc], 0
jne 0x10054df8
test byte [esi + edi + 0x1d], 0x20
lea ecx, [esi + edi + 0x1d]
mov dword [esp + 0x2c], ecx
jne 0x10054df8
cmp dword [eax + 0x1c], 0
je 0x10054f3b
cmp dword [eax + 0x18], 0
jne 0x10054df8
cmp dword [esp + 0x44], 0
jne 0x10054df8
cmp word [esp + 0x3c], 0
jne 0x10054df8
cmp word [edi], 1
jne 0x10054df8
mov dl, 5
lea ebx, [ebx]
test byte [eax + 6], dl
jne 0x10054df8
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x10054efa
cmp byte [eax + 4], 0x70
jne 0x10054df8
mov eax, dword [eax + 8]
test eax, eax
je 0x10054df8
cmp word [eax], 1
jne 0x10054df8
mov eax, ecx
test eax, eax
jne 0x10054ee0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x10054f3b
cmp dword [eax], ecx
jle 0x10054f3b
mov eax, dword [eax + 0xc]
add eax, 0xe
cmp word [eax], 0
je 0x10054df8
mov edx, dword [ebp + 0x18]
inc ecx
add eax, 0x14
cmp ecx, dword [edx]
jl 0x10054f26
mov ecx, dword [esi + edi + 0xc]
mov eax, dword [esp + 0x38]
push 0
push 0
push 0
push 0x15
mov dword [eax + 0x1f8], ecx
call fcn.1004ae20
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x1f8], edx
mov eax, dword [ecx + 0x1c]
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
je 0x10054ff4
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x20], eax
xor eax, eax
push eax
push ebp
push ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x48], ecx
mov dword [ebp + 0x18], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x28], eax
call fcn.1004a460
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x18], ecx
mov dword [ebp + 8], edi
mov byte [ebp + 4], 0x70
mov dword [ebp + 0x24], 0
test eax, eax
jne 0x10054fca
mov eax, dword [esp + 0x3c]
jmp 0x10054fd8
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], 0
mov dword [ebp + 0x1c], eax
cmp byte [ebx + 0x1e], 0
jne 0x100552fe
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10054f76
mov ecx, dword [esi + edi + 8]
mov eax, dword [esi + edi + 0x18]
push ecx
push ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
call fcn.10036110
mov edx, dword [esi + edi + 0xc]
push edx
push ebx
call fcn.10036110
mov eax, dword [esi + edi + 0x10]
push eax
push ebx
call fcn.10036110
mov eax, dword [esi + edi + 0x14]
xor ecx, ecx
mov dword [esi + edi + 8], ecx
mov dword [esi + edi + 0xc], ecx
mov dword [esi + edi + 0x10], ecx
mov dword [esi + edi + 0x18], ecx
lea esi, [esi + edi + 0x14]
add esp, 0x18
cmp eax, ecx
je 0x10055080
movzx ecx, word [eax + 0x20]
cmp cx, 1
jne 0x1005506d
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 0x1a8]
test ecx, ecx
jne 0x1005505c
mov ecx, edx
mov edx, dword [ecx + 0x214]
mov dword [eax + 0x48], edx
mov dword [ecx + 0x214], eax
jmp 0x10055072
dec ecx
mov word [eax + 0x20], cx
mov dword [esi], 0
jmp 0x10055080
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 8]
mov eax, dword [ebp + 8]
movsx esi, word [edi]
mov byte [esp + 0x38], 0
mov dword [esp + 0x18], eax
test eax, eax
je 0x100550a6
mov ecx, dword [esp + 0x2c]
mov dl, byte [ecx]
mov byte [esp + 0x38], dl
jmp 0x100550c5
push 0
xor ecx, ecx
xor eax, eax
mov edx, ebx
call fcn.1004ba40
add esp, 4
mov dword [ebp + 8], eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x100552f0
cmp esi, 1
jle 0x100550ee
mov ecx, dword [esp + 0x40]
inc ecx
push ecx
lea edx, [esi - 1]
push edx
push ebx
call fcn.10045340
add esp, 0xc
mov dword [ebp + 8], eax
cmp byte [ebx + 0x1e], 0
mov dword [esp + 0x18], eax
jne 0x100552f0
test esi, esi
jle 0x1005514f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
add edi, 8
lea edx, [eax + ecx + 8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], esi
lea ecx, [ecx]
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x20]
mov esi, ebx
call fcn.1003d510
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
mov esi, eax
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
mov esi, 0x38
push esi
push 0
push eax
call fcn.100ae530
add dword [esp + 0x48], esi
add dword [esp + 0x28], esi
add esp, 0xc
sub dword [esp + 0x20], 1
jne 0x10055110
mov al, byte [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov byte [ecx + edx + 0x1d], al
mov esi, dword [ebp]
xor eax, eax
cmp dword [esi], eax
mov dword [esp + 0x3c], eax
jle 0x100551c0
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x38]
cmp dword [ecx + edx + 4], 0
lea eax, [ecx + edx]
jne 0x100551ae
mov eax, dword [eax + 8]
test eax, eax
je 0x100551ae
mov ecx, dword [esp + 0x28]
push ecx
mov ebx, eax
call fcn.10041640
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
add esp, 4
mov dword [edx + ecx + 4], eax
mov eax, dword [esp + 0x3c]
add dword [esp + 0x38], 0x14
inc eax
cmp eax, dword [esi]
mov dword [esp + 0x3c], eax
jl 0x10055174
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov esi, dword [ebp]
push edx
push eax
push ebx
call fcn.10054d60
add esp, 0xc
cmp dword [esp + 0x44], 0
je 0x10055204
mov ecx, dword [edi]
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 0x10]
push ecx
push edx
push ebx
call fcn.10054d60
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
push ebx
call fcn.10054c40
add esp, 0x1c
mov dword [ebp + 0x14], eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10055217
mov dword [ebp + 0x18], eax
mov dword [edi + 0x18], 0
jmp 0x1005522f
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x1005522f
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebx
call fcn.10054d60
add esp, 0xc
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10055248
push 0
push 0
push eax
push ebx
call fcn.10050fd0
add esp, 0x10
mov esi, eax
jmp 0x1005524a
xor esi, esi
cmp dword [esp + 0x48], 0
je 0x1005529b
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x14], edx
mov dword [ebp + 0xc], esi
mov eax, dword [edi]
push eax
push ecx
push edx
push ebx
call fcn.10054c40
push 0
mov dword [ebp + 0x14], eax
mov eax, dword [edi + 0x14]
push 0
push eax
push ebx
call fcn.10050fd0
mov ecx, dword [ebp + 0x14]
mov edx, ebx
call fcn.10049f30
mov dword [ebp + 0x14], eax
mov eax, dword [edi + 0x10]
push 0
push eax
push ebx
call fcn.10044420
add esp, 0x2c
mov dword [ebp + 0x10], eax
jmp 0x100552c1
mov ecx, dword [edi]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
push ebx
call fcn.10054c40
mov ecx, eax
add esp, 0x10
mov eax, esi
mov edx, ebx
mov dword [ebp + 0xc], ecx
call fcn.10049f30
mov dword [ebp + 0xc], eax
mov cx, word [edi + 6]
and cx, 1
or word [ebp + 6], cx
mov eax, dword [edi + 0x28]
test eax, eax
je 0x100552de
mov dword [ebp + 0x28], eax
mov dword [edi + 0x28], 0
mov ebp, dword [ebp + 0x1c]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x10], edx
test ebp, ebp
jne 0x10055080
mov eax, dword [esp + 0x30]
push eax
push ebx
call fcn.1003e2e0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret