Function at 0x4602f0
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 + 0x1c], 0
test esi, esi
je 0x4608b7
push edi
mov eax, ebp
call fcn.0046c380
add esp, 4
test eax, eax
jne 0x4608b7
test byte [edi + 0x22], 0x10
jne 0x4608b7
cmp ebx, 0x63
jne 0x460341
mov dword [esp + 0x48], 2
jmp 0x46034f
cmp ebx, 2
je 0x46034f
cmp ebx, 1
jne 0x4608b7
mov eax, dword [esi + 8]
cmp word [eax], 1
jne 0x4608b7
cmp dword [eax + 0x18], 0
jne 0x4608b7
cmp dword [esi + 0xc], 0
jne 0x4608b7
cmp dword [esi + 0x18], 0
jne 0x4608b7
cmp dword [esi + 0x10], 0
jne 0x4608b7
cmp dword [esi + 0x28], 0
jne 0x4608b7
cmp dword [esi + 0x1c], 0
jne 0x4608b7
test byte [esi + 6], 1
jne 0x4608b7
mov esi, dword [esi]
cmp dword [esi], 1
jne 0x4608b7
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
cmp byte [edx], 0x71
jne 0x4608b7
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
push ecx
push 0
mov eax, ebp
call fcn.004523e0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4608b7
cmp eax, edi
je 0x4608b7
test byte [eax + 0x22], 0x10
jne 0x4608b7
cmp dword [eax + 0x1c], 0
jne 0x4608b7
mov ebp, dword [edi + 8]
cmp ebp, dword [eax + 8]
jne 0x4608b7
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jne 0x4608b7
xor ebx, ebx
test ebp, ebp
jle 0x46046c
mov ecx, dword [esp + 0x14]
mov eax, edi
mov esi, dword [eax + 0xc]
mov edi, dword [ecx + 0xc]
add esi, 0x10
add edi, 0x10
jmp 0x460430
mov dl, byte [esi + 6]
cmp dl, byte [edi + 6]
jne 0x4608b7
mov edx, dword [edi]
mov ecx, dword [esi]
call fcn.00460230
test eax, eax
je 0x4608b7
cmp byte [esi + 4], 0
je 0x46045d
cmp byte [edi + 4], 0
je 0x4608b7
inc ebx
add esi, 0x18
add edi, 0x18
cmp ebx, ebp
jl 0x460430
mov edi, dword [esp + 0x44]
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x4604bf
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x10]
lea ebx, [ebx]
cmp byte [ebx + 0x18], 0
je 0x46048e
mov dword [esp + 0x1c], 1
mov edi, esi
test edi, edi
je 0x4608b7
call fcn.00460250
test eax, eax
jne 0x4604b0
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x460498
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
test edi, edi
je 0x4608b7
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x460480
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x4604e3
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x2c]
push eax
call fcn.0044e010
add esp, 8
test eax, eax
jne 0x4608b7
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x44]
mov edi, dword [esp + 0x40]
mov ecx, dword [edi]
call fcn.004645d0
mov ebx, eax
mov dword [esp + 0x28], ebx
call fcn.00466cf0
mov ebp, eax
mov esi, edi
mov eax, esi
call fcn.00456620
mov eax, dword [esi + 0x44]
mov ebx, dword [esp + 0x44]
lea edi, [eax + 1]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
lea edx, [edi + 1]
mov dword [esi + 0x44], edx
push eax
mov edx, esi
mov dword [esp + 0x14], edi
call fcn.0045d750
mov ecx, dword [esp + 0x50]
add esp, 4
push 0x27
push ecx
mov dword [esp + 0x2c], eax
push edi
mov eax, ebx
mov ecx, esi
call fcn.0045d470
add esp, 0xc
cmp dword [ebx + 4], 0
jge 0x460558
mov edx, ebx
cmp dword [edx + 0x10], 0
jne 0x46055f
cmp dword [esp + 0x1c], 0
je 0x460599
push 0
mov eax, edi
push eax
push 0x41
mov eax, ebp
call fcn.0043cf70
add esp, 0xc
push 0
mov esi, eax
push 0
push 1
mov eax, ebp
call fcn.0043cf70
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, esi
jle 0x4605a1
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x4605a1
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
push 0x26
push eax
mov eax, dword [esp + 0x1c]
push esi
mov ecx, ebx
call fcn.0045d470
add esp, 0xc
push 0
push esi
push 0x41
mov eax, ebp
call fcn.0043cf70
mov dword [esp + 0x40], eax
add esp, 0xc
mov eax, ebx
call fcn.0044e540
mov dword [esp + 0x18], eax
mov eax, ebx
call fcn.0044e540
mov ecx, dword [esp + 0x44]
cmp dword [ecx + 4], 0
mov edi, eax
mov dword [esp + 0x38], edi
push edi
mov eax, ebp
jl 0x460661
push esi
push 0x3d
call fcn.0043cf70
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edi
push 0
push edx
mov dword [esp + 0x28], eax
push 0x34
mov eax, ebp
call fcn.0043ce60
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
push 0xfffffffffffffffe
push str.PRIMARY_KEY_must_be_unique
push eax
mov eax, ebx
call fcn.00456740
mov eax, dword [ebp + 0xc]
add esp, 0x1c
cmp eax, dword [esp + 0x20]
jle 0x460648
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
cmp dword [esp + 0x24], 0
jle 0x46067f
mov eax, dword [esp + 0x24]
push edi
push eax
mov eax, dword [ebx + 0xc]
push 0x70
call fcn.0043cf70
jmp 0x46067c
cmp dword [ecx + 0x10], 0
jne 0x460670
mov edx, dword [esp + 0x14]
push edx
push 0x36
jmp 0x460673
push esi
push 0x3d
call fcn.0043cf70
mov dword [esp + 0x28], eax
add esp, 0xc
mov ebx, dword [esp + 0x18]
push ebx
push esi
push 0x3c
mov eax, ebp
call fcn.0043cf70
mov eax, dword [esp + 0x1c]
add esp, 0xc
push edi
push ebx
push eax
push 0x37
mov eax, ebp
call fcn.0043ce60
mov eax, dword [ebp + 0x14]
add esp, 0x10
test eax, eax
je 0x4606b6
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0xb
mov edx, dword [esp + 0x44]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [edx]
mov edi, dword [ebp]
mov dword [esp + 0x24], ecx
test ebx, ebx
je 0x46071e
cmp byte [edi + 0x1e], 0
jne 0x46071e
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 0x10]
lea ebx, [ebx + eax*4]
movsx eax, byte [ebx + 1]
mov dword [esp + 0x20], ebx
call fcn.0043d330
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [ebx + 0x10], eax
cmp ecx, eax
jne 0x460700
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], al
jmp 0x460725
call fcn.00425940
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.00423d90
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xff
jmp 0x460725
xor eax, eax
call fcn.0043d330
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push 0x43
mov eax, ebp
call fcn.0043cf70
mov edx, dword [esp + 0x50]
mov ebx, dword [edx + 0x10]
add esp, 0xc
test ebx, ebx
je 0x46082e
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x10]
test edi, edi
je 0x460761
call fcn.00460250
test eax, eax
jne 0x460761
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x460751
push 0
push esi
push 0x2b
mov eax, ebp
call fcn.0043cf70
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0
push ecx
push 0x2b
mov eax, ebp
call fcn.0043cf70
mov edx, dword [esp + 0x4c]
add esp, 0xc
push edi
push edx
call fcn.00456ad0
mov ecx, dword [edi + 0x14]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x38]
push 0x26
mov edx, esi
mov edi, ebp
call fcn.0043cfd0
mov eax, dword [esp + 0x54]
add esp, 0x14
push ebx
push eax
call fcn.00456ad0
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x5c]
push 0x27
call fcn.0043cfd0
add esp, 0x14
push 0
push esi
push 0x41
mov eax, ebp
call fcn.0043cf70
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
mov edi, eax
push esi
push 0x3b
mov eax, ebp
call fcn.0043cf70
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 1
push edx
push eax
push 0x46
mov eax, ebp
call fcn.0043ce60
lea ecx, [edi + 1]
push ecx
push esi
push 0x43
mov eax, ebp
call fcn.0043cf70
mov eax, dword [ebp + 0xc]
add esp, 0x1c
cmp eax, edi
jle 0x460823
mov ecx, dword [ebp + 0x14]
lea edx, [edi + edi*4]
mov dword [ecx + edx*4 + 8], eax
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x460746
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jle 0x460843
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4 + 8], eax
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
call fcn.0044e560
mov esi, dword [esp + 0x18]
call fcn.0044e560
mov edx, dword [esp + 0x2c]
push 0
push edx
push 0x2b
mov eax, ebp
call fcn.0043cf70
mov edi, dword [esp + 0x1c]
add esp, 0xc
push 0
push edi
push 0x2b
mov eax, ebp
call fcn.0043cf70
mov esi, dword [esp + 0x3c]
add esp, 0xc
test esi, esi
je 0x4608c1
push 0
push 0
push 6
mov eax, ebp
call fcn.0043cf70
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, esi
jle 0x4608a8
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
push 0
push edi
push 0x2b
mov eax, ebp
call fcn.0043cf70
add esp, 0xc
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