Function at 0x480a50
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov eax, dword [0x497d80]
mov dword [esp + 0x10], edx
push ebx
push ebp
mov dword [esp + 0x14], ecx
lea edx, [eax + eax*4]
push esi
xor ebx, ebx
push edi
mov ecx, 4
shl edx, 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00485f40
mov ebp, dword [0x497d90]
mov dword [0x497d98], eax
test ebp, ebp
je 0x480b54
cmp byte [ebp + 4], 5
jne 0x480b45
mov al, byte [ebp + 6]
mov edi, dword [ebp + 0x38]
test al, 4
je 0x480abe
mov eax, dword [0x497d78]
mov edx, dword [esp + 0x28]
mov ecx, dword [eax + edi*4]
call fcn.00433f40
mov ecx, 6
call fcn.00433cf0
mov ecx, dword [0x497d94]
mov esi, dword [0x497d98]
lea edx, [ecx + ecx*4]
mov dword [esi + edx*4 + 4], eax
lea eax, [ecx + ecx*4]
mov ecx, 6
lea esi, [esi + eax*4]
call fcn.00433cf0
mov ecx, dword [0x497d78]
mov dword [esi], eax
mov edx, dword [ecx + edi*4]
mov ecx, dword [esi + 4]
call fcn.00434190
mov eax, dword [0x497d94]
mov ecx, dword [0x497d98]
mov edx, edi
lea eax, [eax + eax*4]
mov ecx, dword [ecx + eax*4]
call fcn.00433d30
mov edx, dword [0x497d94]
mov esi, dword [0x497d98]
mov eax, dword [ebp]
lea ecx, [edx + edx*4]
lea ecx, [esi + ecx*4]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
add esi, 3
and esi, 0xfffffffc
inc edx
mov dword [ecx + 8], esi
mov dword [ecx + 0x10], eax
mov dword [0x497d94], edx
inc ebx
mov ebp, dword [ebp + 0x2c]
test ebp, ebp
jne 0x480a99
mov dword [esp + 0x14], ebx
cmp ebx, dword [0x497d8c]
je 0x480b6b
mov edx, 0x34b
mov ecx, str.c:cutc_srcP2_stack.c
call fcn.00484cb0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x34]
test al, 0x40
jne 0x480b7d
test eax, 0x300000
je 0x480b85
mov dword [esp + 0x14], 0
mov ebx, dword [0x497d90]
test ebx, ebx
je 0x480c5a
cmp byte [ebx + 4], 5
je 0x480c4f
mov al, byte [ebx + 6]
mov ebp, dword [ebx + 0x38]
test al, 4
je 0x480bb8
mov eax, dword [0x497d78]
mov edx, dword [esp + 0x28]
mov ecx, dword [eax + ebp*4]
call fcn.00433f40
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jle 0x480c3a
xor esi, esi
mov eax, dword [0x497d98]
mov ecx, dword [ebx + 0x20]
cmp ecx, dword [eax + esi + 8]
jg 0x480bfb
mov ecx, dword [eax + esi + 4]
mov edx, ebp
call fcn.00433de0
test eax, eax
jne 0x480bfb
mov edx, dword [0x497d78]
mov eax, dword [0x497d98]
mov edx, dword [edx + ebp*4]
mov ecx, dword [eax + esi]
call fcn.00434540
test eax, eax
je 0x480c09
mov eax, dword [esp + 0x14]
inc edi
add esi, 0x14
cmp edi, eax
jl 0x480bc4
jmp 0x480c3a
mov ecx, dword [0x497d98]
lea esi, [edi + edi*4]
shl esi, 2
mov edx, ebp
mov ecx, dword [ecx + esi]
call fcn.00433d30
mov edx, dword [0x497d78]
mov eax, dword [0x497d98]
mov edx, dword [edx + ebp*4]
mov ecx, dword [eax + esi + 4]
call fcn.00434020
inc dword [esp + 0x18]
cmp edi, dword [esp + 0x14]
jl 0x480c4f
mov edx, dword [esp + 0x10]
mov ecx, ebx
call fcn.00480f90
mov dword [esp + 0x10], eax
mov ebx, dword [ebx + 0x2c]
test ebx, ebx
jne 0x480b93
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x480cde
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x480cde
cmp dword [esp + 0x10], 0x70
jl 0x480cde
mov eax, dword [0x497d94]
xor edi, edi
test eax, eax
jle 0x480ca8
xor esi, esi
mov ecx, dword [0x497d98]
mov ecx, dword [ecx + esi + 4]
call fcn.00433c90
mov edx, dword [0x497d98]
mov ecx, dword [edx + esi]
call fcn.00433c90
mov eax, dword [0x497d94]
inc edi
add esi, 0x14
cmp edi, eax
jl 0x480c7e
mov esi, dword [0x497d90]
xor eax, eax
test esi, esi
mov dword [0x497d94], eax
mov dword [esp + 0x10], eax
mov dword [0x497d8c], eax
je 0x480cde
cmp byte [esi + 4], 5
je 0x480cd7
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.00480f90
mov dword [esp + 0x10], eax
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x480cc2
mov eax, dword [esp + 0x10]
cmp eax, 0x80
mov dword [0x497d74], eax
jle 0x480d01
mov eax, dword [0x497d94]
mov ecx, dword [0x497d8c]
lea edx, [eax - 1]
call fcn.00481110
xor esi, esi
cmp ebx, esi
mov dword [0x497da4], esi
jne 0x480e86
mov eax, dword [0x497d94]
mov dword [esp + 0x28], esi
cmp eax, esi
jle 0x480f7d
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp esi, dword [0x497d8c]
jge 0x480d40
mov ecx, dword [0x497d98]
mov edx, dword [ecx + ebx + 0x10]
mov dword [esp + 0x14], edx
jmp 0x480d5a
mov eax, dword [0x497d98]
xor edx, edx
mov ecx, dword [eax + ebx + 8]
call fcn.00401a50
add eax, dword [0x497da0]
mov dword [esp + 0x14], eax
mov edx, 0x10
mov ecx, 1
call fcn.00485f40
mov ecx, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [0x497d98]
mov dword [ebp], ecx
mov ecx, dword [0x497da4]
mov edx, dword [eax + ebx + 8]
mov dword [ebp + 0xc], ecx
mov ecx, dword [eax + ebx]
mov dword [ebp + 4], edx
mov dword [0x497da4], ebp
call fcn.004344a0
cmp eax, 0xffffffff
je 0x480e63
mov edx, dword [0x497d88]
mov esi, dword [edx + eax*4]
cmp byte [esi + 4], 4
jne 0x480df8
mov edx, dword [0x489028]
mov ecx, dword [esi + 0x20]
mov edi, dword [esi]
push edx
call fcn.00401510
mov edx, dword [0x489028]
mov ecx, eax
mov eax, dword [esp + 0x14]
push edx
sub eax, ecx
mov ecx, dword [0x497d98]
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + ebx + 8]
call fcn.00401510
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
add edx, eax
mov eax, dword [edi + 0x14]
or ah, 8
mov dword [edi + 0xc], edx
mov dword [edi + 0x14], eax
jmp 0x480e2f
mov edx, dword [0x489028]
mov ecx, dword [esi + 0x20]
push edx
call fcn.00401510
mov edx, dword [0x489028]
mov edi, dword [esp + 0x14]
push edx
sub edi, eax
mov eax, dword [0x497d98]
mov ecx, dword [eax + ebx + 8]
call fcn.00401510
add edi, eax
mov al, byte [esi + 5]
or al, 0x20
mov dword [esi + 0x28], edi
mov byte [esi + 5], al
test byte [esi + 5], 2
je 0x480e4f
mov edx, 8
mov ecx, 1
call fcn.00485f40
mov ecx, dword [ebp + 8]
mov dword [eax + 4], esi
mov dword [eax], ecx
mov dword [ebp + 8], eax
xor ecx, ecx
call fcn.004344a0
cmp eax, 0xffffffff
jne 0x480d9e
mov esi, dword [esp + 0x28]
mov eax, dword [0x497d94]
inc esi
add ebx, 0x14
cmp esi, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], ebx
jl 0x480d28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
mov edx, dword [0x497d94]
lea esi, [edx - 1]
test esi, esi
mov dword [esp + 0x28], esi
jl 0x480f7d
lea ebx, [esi + esi*4]
shl ebx, 2
cmp esi, dword [0x497d8c]
jge 0x480eb4
mov eax, dword [0x497d98]
mov ebp, dword [eax + ebx + 0x10]
jmp 0x480ed8
mov ecx, dword [0x497d98]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ecx + ebx]
call fcn.00480a00
mov edx, eax
mov eax, dword [0x497d98]
mov ecx, dword [eax + ebx + 8]
call fcn.00401a50
mov ebp, eax
mov edx, 0x10
mov ecx, 1
call fcn.00485f40
mov edx, dword [0x497da4]
mov edi, eax
mov eax, dword [0x497d98]
mov dword [0x497da4], edi
mov dword [edi], ebp
mov dword [edi + 0xc], edx
mov ecx, dword [eax + ebx + 8]
mov dword [edi + 4], ecx
mov ecx, dword [eax + ebx]
call fcn.004344a0
cmp eax, 0xffffffff
je 0x480f6d
mov ecx, dword [0x497d88]
mov esi, dword [ecx + eax*4]
cmp byte [esi + 4], 4
jne 0x480f32
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
mov dword [eax + 0xc], ebp
or ch, 8
mov dword [eax + 0x14], ecx
jmp 0x480f3d
mov al, byte [esi + 5]
mov dword [esi + 0x28], ebp
or al, 0x20
mov byte [esi + 5], al
test byte [esi + 5], 2
je 0x480f5d
mov edx, 8
mov ecx, 1
call fcn.00485f40
mov edx, dword [edi + 8]
mov dword [eax + 4], esi
mov dword [eax], edx
mov dword [edi + 8], eax
xor ecx, ecx
call fcn.004344a0
cmp eax, 0xffffffff
jne 0x480f13
mov esi, dword [esp + 0x28]
dec esi
sub ebx, 0x14
test esi, esi
mov dword [esp + 0x28], esi
jge 0x480ea1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4