Function at 0x45dac0
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 0x45e087
push edi
mov eax, ebp
call fcn.0046a320
add esp, 4
test eax, eax
jne 0x45e087
test byte [edi + 0x22], 0x10
jne 0x45e087
cmp ebx, 0x63
jne 0x45db11
mov dword [esp + 0x48], 2
jmp 0x45db1f
cmp ebx, 2
je 0x45db1f
cmp ebx, 1
jne 0x45e087
mov eax, dword [esi + 8]
cmp word [eax], 1
jne 0x45e087
cmp dword [eax + 0x18], 0
jne 0x45e087
cmp dword [esi + 0xc], 0
jne 0x45e087
cmp dword [esi + 0x18], 0
jne 0x45e087
cmp dword [esi + 0x10], 0
jne 0x45e087
cmp dword [esi + 0x28], 0
jne 0x45e087
cmp dword [esi + 0x1c], 0
jne 0x45e087
test byte [esi + 6], 1
jne 0x45e087
mov esi, dword [esi]
cmp dword [esi], 1
jne 0x45e087
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
cmp byte [edx], 0x71
jne 0x45e087
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
push ecx
push 0
mov eax, ebp
call fcn.0044f970
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x45e087
cmp eax, edi
je 0x45e087
test byte [eax + 0x22], 0x10
jne 0x45e087
cmp dword [eax + 0x1c], 0
jne 0x45e087
mov ebp, dword [edi + 8]
cmp ebp, dword [eax + 8]
jne 0x45e087
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jne 0x45e087
xor ebx, ebx
test ebp, ebp
jle 0x45dc3c
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 0x45dc00
mov dl, byte [esi + 6]
cmp dl, byte [edi + 6]
jne 0x45e087
mov edx, dword [edi]
mov ecx, dword [esi]
call fcn.0045da00
test eax, eax
je 0x45e087
cmp byte [esi + 4], 0
je 0x45dc2d
cmp byte [edi + 4], 0
je 0x45e087
inc ebx
add esi, 0x18
add edi, 0x18
cmp ebx, ebp
jl 0x45dc00
mov edi, dword [esp + 0x44]
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x45dc8f
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x10]
lea ebx, [ebx]
cmp byte [ebx + 0x18], 0
je 0x45dc5e
mov dword [esp + 0x1c], 1
mov edi, esi
test edi, edi
je 0x45e087
call fcn.0045da20
test eax, eax
jne 0x45dc80
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x45dc68
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
test edi, edi
je 0x45e087
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x45dc50
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x45dcb3
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x2c]
push eax
call fcn.0044b3a0
add esp, 8
test eax, eax
jne 0x45e087
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x44]
mov edi, dword [esp + 0x40]
mov ecx, dword [edi]
call fcn.00461da0
mov ebx, eax
mov dword [esp + 0x28], ebx
call fcn.004644c0
mov ebp, eax
mov esi, edi
mov eax, esi
call fcn.00453bb0
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.0045acb0
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.0045a9d0
add esp, 0xc
cmp dword [ebx + 4], 0
jge 0x45dd28
mov edx, ebx
cmp dword [edx + 0x10], 0
jne 0x45dd2f
cmp dword [esp + 0x1c], 0
je 0x45dd69
push 0
mov eax, edi
push eax
push 0x41
mov eax, ebp
call fcn.0043a490
add esp, 0xc
push 0
mov esi, eax
push 0
push 1
mov eax, ebp
call fcn.0043a490
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, esi
jle 0x45dd71
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x45dd71
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.0045a9d0
add esp, 0xc
push 0
push esi
push 0x41
mov eax, ebp
call fcn.0043a490
mov dword [esp + 0x40], eax
add esp, 0xc
mov eax, ebx
call fcn.0044b8d0
mov dword [esp + 0x18], eax
mov eax, ebx
call fcn.0044b8d0
mov ecx, dword [esp + 0x44]
cmp dword [ecx + 4], 0
mov edi, eax
mov dword [esp + 0x38], edi
push edi
mov eax, ebp
jl 0x45de31
push esi
push 0x3d
call fcn.0043a490
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.0043a380
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.00453cd0
mov eax, dword [ebp + 0xc]
add esp, 0x1c
cmp eax, dword [esp + 0x20]
jle 0x45de18
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 0x45de4f
mov eax, dword [esp + 0x24]
push edi
push eax
mov eax, dword [ebx + 0xc]
push 0x70
call fcn.0043a490
jmp 0x45de4c
cmp dword [ecx + 0x10], 0
jne 0x45de40
mov edx, dword [esp + 0x14]
push edx
push 0x36
jmp 0x45de43
push esi
push 0x3d
call fcn.0043a490
mov dword [esp + 0x28], eax
add esp, 0xc
mov ebx, dword [esp + 0x18]
push ebx
push esi
push 0x3c
mov eax, ebp
call fcn.0043a490
mov eax, dword [esp + 0x1c]
add esp, 0xc
push edi
push ebx
push eax
push 0x37
mov eax, ebp
call fcn.0043a380
mov eax, dword [ebp + 0x14]
add esp, 0x10
test eax, eax
je 0x45de86
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 0x45deee
cmp byte [edi + 0x1e], 0
jne 0x45deee
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.0043a850
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [ebx + 0x10], eax
cmp ecx, eax
jne 0x45ded0
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], al
jmp 0x45def5
call fcn.004226e0
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.00420b70
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xff
jmp 0x45def5
xor eax, eax
call fcn.0043a850
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push 0x43
mov eax, ebp
call fcn.0043a490
mov edx, dword [esp + 0x50]
mov ebx, dword [edx + 0x10]
add esp, 0xc
test ebx, ebx
je 0x45dffe
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x10]
test edi, edi
je 0x45df31
call fcn.0045da20
test eax, eax
jne 0x45df31
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x45df21
push 0
push esi
push 0x2b
mov eax, ebp
call fcn.0043a490
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0
push ecx
push 0x2b
mov eax, ebp
call fcn.0043a490
mov edx, dword [esp + 0x4c]
add esp, 0xc
push edi
push edx
call fcn.00454060
mov ecx, dword [edi + 0x14]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x38]
push 0x26
mov edx, esi
mov edi, ebp
call fcn.0043a4f0
mov eax, dword [esp + 0x54]
add esp, 0x14
push ebx
push eax
call fcn.00454060
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x5c]
push 0x27
call fcn.0043a4f0
add esp, 0x14
push 0
push esi
push 0x41
mov eax, ebp
call fcn.0043a490
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
mov edi, eax
push esi
push 0x3b
mov eax, ebp
call fcn.0043a490
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.0043a380
lea ecx, [edi + 1]
push ecx
push esi
push 0x43
mov eax, ebp
call fcn.0043a490
mov eax, dword [ebp + 0xc]
add esp, 0x1c
cmp eax, edi
jle 0x45dff3
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 0x45df16
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jle 0x45e013
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.0044b8f0
mov esi, dword [esp + 0x18]
call fcn.0044b8f0
mov edx, dword [esp + 0x2c]
push 0
push edx
push 0x2b
mov eax, ebp
call fcn.0043a490
mov edi, dword [esp + 0x1c]
add esp, 0xc
push 0
push edi
push 0x2b
mov eax, ebp
call fcn.0043a490
mov esi, dword [esp + 0x3c]
add esp, 0xc
test esi, esi
je 0x45e091
push 0
push 0
push 6
mov eax, ebp
call fcn.0043a490
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, esi
jle 0x45e078
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.0043a490
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