Function at 0x455570
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 0x455b37
push edi
mov eax, ebp
call fcn.00461ff0
add esp, 4
test eax, eax
jne 0x455b37
test byte [edi + 0x22], 0x10
jne 0x455b37
cmp ebx, 0x63
jne 0x4555c1
mov dword [esp + 0x48], 2
jmp 0x4555cf
cmp ebx, 2
je 0x4555cf
cmp ebx, 1
jne 0x455b37
mov eax, dword [esi + 8]
cmp word [eax], 1
jne 0x455b37
cmp dword [eax + 0x18], 0
jne 0x455b37
cmp dword [esi + 0xc], 0
jne 0x455b37
cmp dword [esi + 0x18], 0
jne 0x455b37
cmp dword [esi + 0x10], 0
jne 0x455b37
cmp dword [esi + 0x28], 0
jne 0x455b37
cmp dword [esi + 0x1c], 0
jne 0x455b37
test byte [esi + 6], 1
jne 0x455b37
mov esi, dword [esi]
cmp dword [esi], 1
jne 0x455b37
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
cmp byte [edx], 0x71
jne 0x455b37
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
push ecx
push 0
mov eax, ebp
call fcn.004476a0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x455b37
cmp eax, edi
je 0x455b37
test byte [eax + 0x22], 0x10
jne 0x455b37
cmp dword [eax + 0x1c], 0
jne 0x455b37
mov ebp, dword [edi + 8]
cmp ebp, dword [eax + 8]
jne 0x455b37
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jne 0x455b37
xor ebx, ebx
test ebp, ebp
jle 0x4556ec
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 0x4556b0
mov dl, byte [esi + 6]
cmp dl, byte [edi + 6]
jne 0x455b37
mov edx, dword [edi]
mov ecx, dword [esi]
call fcn.004554b0
test eax, eax
je 0x455b37
cmp byte [esi + 4], 0
je 0x4556dd
cmp byte [edi + 4], 0
je 0x455b37
inc ebx
add esi, 0x18
add edi, 0x18
cmp ebx, ebp
jl 0x4556b0
mov edi, dword [esp + 0x44]
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x45573f
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x10]
lea ebx, [ebx]
cmp byte [ebx + 0x18], 0
je 0x45570e
mov dword [esp + 0x1c], 1
mov edi, esi
test edi, edi
je 0x455b37
call fcn.004554d0
test eax, eax
jne 0x455730
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x455718
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
test edi, edi
je 0x455b37
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x455700
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x455763
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x2c]
push eax
call fcn.00442e30
add esp, 8
test eax, eax
jne 0x455b37
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x44]
mov edi, dword [esp + 0x40]
mov ecx, dword [edi]
call fcn.00459850
mov ebx, eax
mov dword [esp + 0x28], ebx
call fcn.0045c3a0
mov ebp, eax
mov esi, edi
mov eax, esi
call fcn.0044b8f0
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.004527a0
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.004524c0
add esp, 0xc
cmp dword [ebx + 4], 0
jge 0x4557d8
mov edx, ebx
cmp dword [edx + 0x10], 0
jne 0x4557df
cmp dword [esp + 0x1c], 0
je 0x455819
push 0
mov eax, edi
push eax
push 0x41
mov eax, ebp
call fcn.004321b0
add esp, 0xc
push 0
mov esi, eax
push 0
push 1
mov eax, ebp
call fcn.004321b0
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x1c]
add esp, 0xc
cmp eax, esi
jle 0x455821
mov edx, dword [ebp + 4]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x455821
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.004524c0
add esp, 0xc
push 0
push esi
push 0x41
mov eax, ebp
call fcn.004321b0
mov dword [esp + 0x40], eax
add esp, 0xc
mov eax, ebx
call fcn.00443370
mov dword [esp + 0x18], eax
mov eax, ebx
call fcn.00443370
mov ecx, dword [esp + 0x44]
cmp dword [ecx + 4], 0
mov edi, eax
mov dword [esp + 0x38], edi
push edi
mov eax, ebp
jl 0x4558e1
push esi
push 0x3d
call fcn.004321b0
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.004320a0
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.0044ba10
mov eax, dword [ebp + 0x1c]
add esp, 0x1c
cmp eax, dword [esp + 0x20]
jle 0x4558c8
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
cmp dword [esp + 0x24], 0
jle 0x4558ff
mov eax, dword [esp + 0x24]
push edi
push eax
mov eax, dword [ebx + 0xc]
push 0x70
call fcn.004321b0
jmp 0x4558fc
cmp dword [ecx + 0x10], 0
jne 0x4558f0
mov edx, dword [esp + 0x14]
push edx
push 0x36
jmp 0x4558f3
push esi
push 0x3d
call fcn.004321b0
mov dword [esp + 0x28], eax
add esp, 0xc
mov ebx, dword [esp + 0x18]
push ebx
push esi
push 0x3c
mov eax, ebp
call fcn.004321b0
mov eax, dword [esp + 0x1c]
add esp, 0xc
push edi
push ebx
push eax
push 0x37
mov eax, ebp
call fcn.004320a0
mov eax, dword [ebp + 4]
add esp, 0x10
test eax, eax
je 0x455936
mov ecx, dword [ebp + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0xb
mov edx, dword [esp + 0x44]
mov ebx, dword [ebp + 4]
mov ecx, dword [edx]
mov edi, dword [ebp]
mov dword [esp + 0x24], ecx
test ebx, ebx
je 0x45599e
cmp byte [edi + 0x1e], 0
jne 0x45599e
mov eax, dword [ebp + 0x1c]
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.00432580
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [ebx + 0x10], eax
cmp ecx, eax
jne 0x455980
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], al
jmp 0x4559a5
call fcn.0041a620
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.00418a60
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xff
jmp 0x4559a5
xor eax, eax
call fcn.00432580
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push 0x43
mov eax, ebp
call fcn.004321b0
mov edx, dword [esp + 0x50]
mov ebx, dword [edx + 0x10]
add esp, 0xc
test ebx, ebx
je 0x455aae
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x10]
test edi, edi
je 0x4559e1
call fcn.004554d0
test eax, eax
jne 0x4559e1
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x4559d1
push 0
push esi
push 0x2b
mov eax, ebp
call fcn.004321b0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0
push ecx
push 0x2b
mov eax, ebp
call fcn.004321b0
mov edx, dword [esp + 0x4c]
add esp, 0xc
push edi
push edx
call fcn.0044bda0
mov ecx, dword [edi + 0x14]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x38]
push 0x26
mov edx, esi
mov edi, ebp
call fcn.00432210
mov eax, dword [esp + 0x54]
add esp, 0x14
push ebx
push eax
call fcn.0044bda0
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x5c]
push 0x27
call fcn.00432210
add esp, 0x14
push 0
push esi
push 0x41
mov eax, ebp
call fcn.004321b0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
mov edi, eax
push esi
push 0x3b
mov eax, ebp
call fcn.004321b0
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.004320a0
lea ecx, [edi + 1]
push ecx
push esi
push 0x43
mov eax, ebp
call fcn.004321b0
mov eax, dword [ebp + 0x1c]
add esp, 0x1c
cmp eax, edi
jle 0x455aa3
mov ecx, dword [ebp + 4]
lea edx, [edi + edi*4]
mov dword [ecx + edx*4 + 8], eax
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x4559c6
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jle 0x455ac3
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 4]
mov dword [ecx + edx*4 + 8], eax
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
call fcn.00443390
mov esi, dword [esp + 0x18]
call fcn.00443390
mov edx, dword [esp + 0x2c]
push 0
push edx
push 0x2b
mov eax, ebp
call fcn.004321b0
mov edi, dword [esp + 0x1c]
add esp, 0xc
push 0
push edi
push 0x2b
mov eax, ebp
call fcn.004321b0
mov esi, dword [esp + 0x3c]
add esp, 0xc
test esi, esi
je 0x455b41
push 0
push 0
push 6
mov eax, ebp
call fcn.004321b0
mov eax, dword [ebp + 0x1c]
add esp, 0xc
cmp eax, esi
jle 0x455b28
mov edx, dword [ebp + 4]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
push 0
push edi
push 0x2b
mov eax, ebp
call fcn.004321b0
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