Function at 0x492d10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x7dc
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x7d8], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x1838], ebx
mov eax, 0x2201
mov dword [esp + 0x10], edi
mov word [esp + 0x24], ax
lea ebp, [esp + 0x27]
mov dword [esp + 0x14], 3
mov dword [esp + 0x1c], ebx
jle 0x492e6a
add edi, 0x183c
mov dword [esp + 0x18], edi
mov esi, dword [0x587960]
mov ecx, dword [edi]
lea edx, [esp + 0x20]
push edx
add esi, 0x10
mov dword [esp + 0x24], ecx
call fcn.00415480
test eax, eax
je 0x492d9f
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xdc]
push edx
lea edi, [eax + 0x1838]
call fcn.004d19f0
mov edi, dword [esp + 0x18]
neg eax
sbb eax, eax
neg eax
jmp 0x492da1
xor eax, eax
mov ecx, dword [edi]
mov dword [ebp], ecx
mov dl, byte [edi + 6]
mov byte [ebp + 5], al
lea eax, [edi + 7]
mov ecx, ebp
sub ecx, eax
mov byte [ebp + 4], dl
lea edx, [ecx + 6]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x492dc0
lea ecx, [edi + 0x1c]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x492dd2
sub eax, esi
mov edx, ebp
sub edx, ecx
mov byte [ebp + 0x1b], al
mov eax, ecx
add edx, 0x1c
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x492de7
movzx eax, byte [ebp + 0x1b]
add eax, 0x1c
add dword [esp + 0x14], eax
inc ebx
add ebp, eax
cmp ebx, 0x19
jl 0x492e29
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x2e], bl
call fcn.004ed0e0
mov dword [esp + 0x14], 3
xor ebx, ebx
lea ebp, [esp + 0x27]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
inc eax
add edi, 0x50
cmp eax, dword [edx + 0x1838]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
jl 0x492d60
test ebx, ebx
jle 0x492e68
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edx
mov byte [esp + 0x2e], bl
call fcn.004ed0e0
mov edi, dword [esp + 0x10]
jmp 0x492e6a
mov edi, edx
mov edx, 0x2208
xor ebx, ebx
cmp dword [edi + 0x377c], ebx
mov word [esp + 0x24], dx
lea edx, [esp + 0x27]
mov ebp, 3
mov dword [esp + 0x18], ebx
jle 0x492f30
add edi, 0x3799
mov ecx, dword [edi - 0x19]
lea eax, [edi - 0x15]
mov dword [edx], ecx
mov ecx, edx
sub ecx, eax
lea esi, [ecx + 4]
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x492ea4
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x492eb3
sub eax, esi
mov ecx, edx
sub ecx, edi
mov byte [edx + 0x19], al
mov eax, edi
lea esi, [ecx + 0x1a]
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x492ec8
movzx eax, byte [edx + 0x19]
add eax, 0x1a
inc ebx
add ebp, eax
add edx, eax
cmp ebx, 0x19
jl 0x492f01
mov ecx, dword [esp + 0x10]
push ebp
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x2e], bl
call fcn.004ed0e0
mov ebp, 3
xor ebx, ebx
lea edx, [esp + 0x27]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
add edi, 0x4c
cmp eax, dword [ecx + 0x377c]
mov dword [esp + 0x18], eax
jl 0x492e95
test ebx, ebx
jle 0x492f30
push ebp
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x2e], bl
call fcn.004ed0e0
mov ecx, dword [esp + 0x7e8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051a8be
add esp, 0x7dc
ret