Function at 0x487a10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, eax
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], 0
test esi, esi
je 0x48831b
push edi
mov eax, ebp
call fcn.00494350
add esp, 4
test eax, eax
jne 0x48831b
test byte [edi + 0x22], 0x10
jne 0x48831b
cmp ebx, 0x63
jne 0x487a61
mov dword [esp + 0x48], 2
jmp 0x487a6f
cmp ebx, 2
je 0x487a6f
cmp ebx, 1
jne 0x48831b
mov eax, dword [esi + 8]
cmp word [eax], 1
jne 0x48831b
cmp dword [eax + 0x18], 0
jne 0x48831b
cmp dword [esi + 0xc], 0
jne 0x48831b
cmp dword [esi + 0x18], 0
jne 0x48831b
cmp dword [esi + 0x10], 0
jne 0x48831b
cmp dword [esi + 0x28], 0
jne 0x48831b
cmp dword [esi + 0x1c], 0
jne 0x48831b
test byte [esi + 6], 1
jne 0x48831b
mov esi, dword [esi]
cmp dword [esi], 1
jne 0x48831b
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
cmp byte [edx], 0x71
jne 0x48831b
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
push ecx
push 0
mov eax, ebp
call fcn.00479f90
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x48831b
cmp eax, edi
je 0x48831b
test byte [eax + 0x22], 0x10
jne 0x48831b
cmp dword [eax + 0x1c], 0
jne 0x48831b
mov ebp, dword [edi + 8]
cmp ebp, dword [eax + 8]
jne 0x48831b
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jne 0x48831b
xor ebx, ebx
test ebp, ebp
jle 0x487b8c
mov ecx, dword [esp + 0x18]
mov eax, edi
mov esi, dword [eax + 0xc]
mov edi, dword [ecx + 0xc]
add esi, 0x10
add edi, 0x10
jmp 0x487b50
mov dl, byte [esi + 6]
cmp dl, byte [edi + 6]
jne 0x48831b
mov edx, dword [edi]
mov ecx, dword [esi]
call fcn.00487950
test eax, eax
je 0x48831b
cmp byte [esi + 4], 0
je 0x487b7d
cmp byte [edi + 4], 0
je 0x48831b
inc ebx
add esi, 0x18
add edi, 0x18
cmp ebx, ebp
jl 0x487b50
mov edi, dword [esp + 0x44]
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x487bdf
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x10]
lea ebx, [ebx]
cmp byte [ebx + 0x18], 0
je 0x487bae
mov dword [esp + 0x28], 1
mov edi, esi
test edi, edi
je 0x48831b
call fcn.00487970
test eax, eax
jne 0x487bd0
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x487bb8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
test edi, edi
je 0x48831b
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x487ba0
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x487c03
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x2c]
push eax
push edx
call fcn.00475fd0
add esp, 8
test eax, eax
jne 0x48831b
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
test dword [ecx + 0xc], 0x4000000
je 0x487c1c
cmp dword [esi + 0x24], 0
jne 0x48831b
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x44]
call fcn.0048c1a0
mov edi, dword [esp + 0x40]
mov esi, eax
mov dword [esp + 0x2c], esi
call fcn.0048eb60
mov ebp, eax
push esi
mov eax, edi
call fcn.0047e1e0
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
lea esi, [eax + 1]
mov dword [esp + 0x14], eax
add esp, 4
lea eax, [esi + 1]
push ecx
mov edx, edi
mov dword [esp + 0x18], esi
mov dword [edi + 0x44], eax
call fcn.00484c10
mov edx, dword [esp + 0x50]
add esp, 4
push 0x27
push edx
push esi
mov dword [esp + 0x40], eax
mov esi, ebx
mov eax, esi
mov ecx, edi
call fcn.00484930
xor ebx, ebx
add esp, 0xc
cmp dword [esi + 4], ebx
jge 0x487c93
mov eax, esi
cmp dword [eax + 0x10], ebx
jne 0x487c9d
cmp dword [esp + 0x28], ebx
je 0x487d39
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x487cba
mov edi, ebp
call fcn.004649a0
test eax, eax
je 0x487cba
mov dword [esp + 0x28], 1
jmp 0x487ce3
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x14]
mov byte [eax], 0x41
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x28], esi
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x487cfd
mov edi, ebp
call fcn.004649a0
test eax, eax
je 0x487cfd
mov esi, 1
jmp 0x487d1e
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x24], esi
jle 0x487d3d
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x487d3d
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 0x26
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00484930
mov esi, dword [ebp + 0x1c]
add esp, 0xc
cmp dword [ebp + 0x20], esi
jg 0x487d76
mov edi, ebp
call fcn.004649a0
test eax, eax
je 0x487d76
mov dword [esp + 0x30], 1
jmp 0x487d9f
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x41
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x40]
mov eax, edx
call fcn.00476500
mov dword [esp + 0x1c], eax
mov eax, edx
call fcn.00476500
mov ecx, dword [ebp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x44]
cmp dword [eax + 4], ebx
mov dword [esp + 0x38], esi
jl 0x487e62
cmp dword [ebp + 0x20], ecx
mov dword [esp + 0x28], ecx
jg 0x487dea
mov edi, ebp
call fcn.004649a0
test eax, eax
je 0x487de6
mov ecx, 1
jmp 0x487e0f
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
mov byte [eax], 0x3d
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x14]
push esi
push ebx
push eax
push 0x34
mov eax, ebp
mov dword [esp + 0x30], ecx
call fcn.00464a20
mov ecx, dword [esp + 0x58]
push 0xfffffffffffffffe
mov edi, eax
mov eax, dword [esp + 0x54]
push str.PRIMARY_KEY_must_be_unique
push ecx
call fcn.0047e390
mov eax, dword [ebp + 0x1c]
add esp, 0x1c
cmp eax, edi
jle 0x487e4e
mov ecx, dword [ebp + 4]
lea edx, [edi + edi*4]
mov dword [ecx + edx*4 + 8], eax
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
push esi
push edx
call fcn.00485000
add esp, 8
jmp 0x487edf
mov dword [esp + 0x34], ecx
cmp dword [eax + 0x10], ebx
jne 0x487e9b
cmp dword [ebp + 0x20], ecx
jg 0x487e86
mov edi, ebp
call fcn.004649a0
test eax, eax
je 0x487e82
mov ecx, 1
jmp 0x487edb
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x14]
mov byte [eax], 0x36
jmp 0x487ec9
cmp dword [ebp + 0x20], ecx
jg 0x487eb6
mov edi, ebp
call fcn.004649a0
test eax, eax
je 0x487eb2
mov ecx, 1
jmp 0x487edb
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x10]
mov byte [eax], 0x3d
mov byte [eax + 1], bl
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], esi
mov dword [eax + 4], edx
mov byte [eax + 3], bl
mov dword [esp + 0x20], ecx
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x34], eax
jg 0x487efa
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x487f23
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push esi
push edx
push eax
push 0x37
mov eax, ebp
call fcn.00464a20
mov eax, dword [ebp + 4]
add esp, 0x10
cmp eax, ebx
je 0x487f4c
mov ecx, dword [ebp + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0xb
mov edx, dword [esp + 0x44]
mov ecx, dword [edx]
mov edx, dword [ebp + 4]
mov edi, dword [ebp]
mov dword [esp + 0x28], ecx
cmp edx, ebx
je 0x487fad
cmp byte [edi + 0x1e], bl
jne 0x487fad
mov eax, dword [ebp + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
call fcn.00464f80
mov dword [esi + 0x10], ebx
cmp dword [esp + 0x28], ebx
jne 0x487f8d
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x487fb4
mov ecx, dword [esp + 0x28]
call fcn.0044c8f0
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.0044ad90
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
xor ebx, ebx
jmp 0x487fb4
xor eax, eax
call fcn.00464f80
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x487fc7
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x487ff0
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov byte [eax], 0x43
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x4881f3
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x10]
cmp esi, ebx
je 0x488026
mov ebx, dword [esp + 0x20]
mov edi, esi
call fcn.00487970
test eax, eax
jne 0x488024
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x488012
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x34], eax
jg 0x488041
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x488066
mov eax, dword [esp + 0x34]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x34], eax
jg 0x488081
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x4880a6
mov eax, dword [esp + 0x34]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x40]
push esi
push edx
call fcn.0047e730
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x3c]
push 0x26
mov edi, ebp
call fcn.00464b40
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
add esp, 0x14
push esi
push eax
call fcn.0047e730
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x1c]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x5c]
push 0x27
call fcn.00464b40
mov esi, dword [ebp + 0x1c]
add esp, 0x14
cmp dword [ebp + 0x20], esi
jg 0x48810d
call fcn.004649a0
test eax, eax
je 0x48810d
mov dword [esp + 0x28], 1
jmp 0x488136
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x41
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x28], esi
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x488149
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x488172
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x3b
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push 1
push eax
push ecx
push 0x46
mov eax, ebp
call fcn.00464a20
mov esi, dword [ebp + 0x1c]
add esp, 0x10
cmp dword [ebp + 0x20], esi
jg 0x48819d
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x4881cb
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
lea edx, [ecx + 1]
mov byte [eax], 0x43
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x4881cf
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x1c]
cmp eax, ecx
jle 0x4881e0
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x488003
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jle 0x488208
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
call fcn.00476520
mov esi, dword [esp + 0x1c]
call fcn.00476520
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x488231
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x488256
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x488269
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x48828e
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x488325
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x4882b1
mov edi, ebp
call fcn.004649a0
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x4882d2
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov byte [eax], 6
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 0x1c]
cmp eax, ecx
jle 0x4882e3
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x4882f6
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x48831b
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret