Function at 0x4aca70
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 0x4ad2c9
push edi
mov eax, ebp
call fcn.004b9120
add esp, 4
test eax, eax
jne 0x4ad2c9
test byte [edi + 0x22], 0x10
jne 0x4ad2c9
cmp ebx, 0x63
jne 0x4acac1
mov dword [esp + 0x48], 2
jmp 0x4acacf
cmp ebx, 2
je 0x4acacf
cmp ebx, 1
jne 0x4ad2c9
mov eax, dword [esi + 8]
cmp word [eax], 1
jne 0x4ad2c9
cmp dword [eax + 0x18], 0
jne 0x4ad2c9
cmp dword [esi + 0xc], 0
jne 0x4ad2c9
cmp dword [esi + 0x18], 0
jne 0x4ad2c9
cmp dword [esi + 0x10], 0
jne 0x4ad2c9
cmp dword [esi + 0x28], 0
jne 0x4ad2c9
cmp dword [esi + 0x1c], 0
jne 0x4ad2c9
test byte [esi + 6], 1
jne 0x4ad2c9
mov esi, dword [esi]
cmp dword [esi], 1
jne 0x4ad2c9
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
cmp byte [edx], 0x71
jne 0x4ad2c9
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
push ecx
push 0
mov eax, ebp
call fcn.004a0940
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x4ad2c9
cmp eax, edi
je 0x4ad2c9
test byte [eax + 0x22], 0x10
jne 0x4ad2c9
cmp dword [eax + 0x1c], 0
jne 0x4ad2c9
mov ebp, dword [edi + 0xc]
cmp ebp, dword [eax + 0xc]
jne 0x4ad2c9
mov edx, dword [edi + 8]
cmp edx, dword [eax + 8]
jne 0x4ad2c9
xor ebx, ebx
test ebp, ebp
jle 0x4acbec
mov ecx, dword [esp + 0x18]
mov eax, edi
mov esi, dword [eax + 0x10]
mov edi, dword [ecx + 0x10]
add esi, 0x10
add edi, 0x10
jmp 0x4acbb0
mov dl, byte [esi + 6]
cmp dl, byte [edi + 6]
jne 0x4ad2c9
mov edx, dword [edi]
mov ecx, dword [esi]
call fcn.004ac9b0
test eax, eax
je 0x4ad2c9
cmp byte [esi + 4], 0
je 0x4acbdd
cmp byte [edi + 4], 0
je 0x4ad2c9
inc ebx
add esi, 0x18
add edi, 0x18
cmp ebx, ebp
jl 0x4acbb0
mov edi, dword [esp + 0x44]
mov ebx, dword [edi + 0x14]
test ebx, ebx
je 0x4acc3f
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x14]
lea ebx, [ebx]
cmp byte [ebx + 0x18], 0
je 0x4acc0e
mov dword [esp + 0x28], 1
mov edi, esi
test edi, edi
je 0x4ad2c9
call fcn.004ac9d0
test eax, eax
jne 0x4acc30
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x4acc18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
test edi, edi
je 0x4ad2c9
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x4acc00
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x4acc63
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx + 0x2c]
push eax
call fcn.0049cf80
add esp, 8
test eax, eax
je 0x4ad2c9
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x44]
mov edi, dword [esp + 0x40]
mov ecx, dword [edi]
call fcn.004b1120
mov esi, eax
mov dword [esp + 0x30], esi
call fcn.004b3ab0
push esi
mov esi, edi
mov ebp, eax
call fcn.004a50f0
mov eax, dword [edi + 0x44]
mov ebx, dword [esp + 0x48]
lea esi, [eax + 1]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
add esp, 4
lea edx, [esi + 1]
push eax
mov dword [esp + 0x18], esi
mov dword [edi + 0x44], edx
call fcn.004a9940
mov ecx, dword [esp + 0x50]
add esp, 4
push 0xa
push ecx
push esi
mov dword [esp + 0x38], eax
mov esi, ebx
mov eax, esi
mov ecx, edi
call fcn.004a95f0
xor ebx, ebx
add esp, 0xc
cmp dword [esi + 8], ebx
jge 0x4accda
mov edx, esi
cmp dword [edx + 0x14], ebx
jne 0x4acce4
cmp dword [esp + 0x28], ebx
je 0x4acd86
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4acd01
mov edi, ebp
call fcn.0048c980
test eax, eax
je 0x4acd01
mov dword [esp + 0x28], 1
jmp 0x4acd2d
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x7a
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 byte [ebp + 0x6e], bl
mov dword [esp + 0x28], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4acd47
mov edi, ebp
call fcn.0048c980
test eax, eax
je 0x4acd47
mov esi, 1
jmp 0x4acd6b
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
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 byte [ebp + 0x6e], bl
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x24], esi
jle 0x4acd8a
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4 + 8], eax
jmp 0x4acd8a
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
push 0xd
push edx
push eax
mov eax, dword [esp + 0x24]
call fcn.004a95f0
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x10], esi
jg 0x4acdc3
mov edi, ebp
call fcn.0048c980
test eax, eax
je 0x4acdc3
mov dword [esp + 0x34], 1
jmp 0x4acdef
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x7a
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 byte [ebp + 0x6e], bl
mov dword [esp + 0x34], esi
mov edx, dword [esp + 0x40]
mov eax, edx
call fcn.0049d450
mov dword [esp + 0x28], eax
mov eax, edx
call fcn.0049d450
mov ecx, dword [esp + 0x44]
cmp dword [ecx + 8], ebx
mov dword [esp + 0x20], eax
push ebx
jl 0x4acf07
mov edx, dword [esp + 0x14]
mov esi, eax
push esi
push edx
push 0x28
mov eax, ebp
call fcn.0048ca00
push esi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
push ebx
push eax
push 0x2e
mov eax, ebp
call fcn.0048ca00
mov esi, dword [ebp + 0xc]
add esp, 0x20
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x38], eax
jg 0x4ace5d
mov edi, ebp
call fcn.0048c980
test eax, eax
je 0x4ace5d
mov esi, 1
jmp 0x4ace89
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov byte [eax], 0x27
mov byte [eax + 3], bl
mov dword [eax + 4], 0x13
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
mov eax, esi
cmp ecx, ebx
je 0x4acec2
cmp byte [edi + 0x1e], bl
jne 0x4acec2
cmp esi, ebx
jge 0x4acea2
mov eax, dword [ebp + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.0048cec0
mov dword [esi + 0x10], str.PRIMARY_KEY_must_be_unique
mov byte [esi + 1], 0xfe
jmp 0x4aced1
mov ecx, str.PRIMARY_KEY_must_be_unique
mov eax, 0xfffffffe
call fcn.0048cec0
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jle 0x4acee6
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
cmp dword [esp + 0x2c], ebx
jle 0x4acf2b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
push ebx
push eax
mov eax, dword [edx + 0xc]
push ecx
push 0x2d
call fcn.0048ca00
jmp 0x4acf28
push eax
cmp dword [ecx + 0x14], ebx
jne 0x4acf16
mov eax, dword [esp + 0x1c]
push eax
push 0x1a
jmp 0x4acf1d
mov ecx, dword [esp + 0x18]
push ecx
push 0x28
mov eax, ebp
call fcn.0048ca00
mov dword [esp + 0x2c], eax
add esp, 0x10
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push ebx
push esi
push edx
push 0x2c
mov eax, ebp
call fcn.0048ca00
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
push eax
push esi
push ecx
push 0x6e
mov eax, ebp
call fcn.0048ca00
mov eax, dword [ebp + 0x14]
add esp, 0x20
cmp eax, ebx
je 0x4acf68
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 0xb
mov eax, dword [esp + 0x44]
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov edi, dword [ebp]
mov dword [esp + 0x2c], ecx
cmp edx, ebx
je 0x4acfca
cmp byte [edi + 0x1e], bl
jne 0x4acfca
mov eax, dword [ebp + 0xc]
dec eax
lea ecx, [eax + eax*4]
movsx eax, byte [edx + ecx*4 + 1]
lea esi, [edx + ecx*4]
mov ecx, dword [esi + 0x10]
call fcn.0048cec0
mov dword [esi + 0x10], ebx
cmp dword [esp + 0x2c], ebx
jne 0x4acfaa
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x4acfd1
mov ecx, dword [esp + 0x2c]
call fcn.0047ad90
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.00479230
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
xor ebx, ebx
jmp 0x4acfd1
xor eax, eax
call fcn.0048cec0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push ebx
push edx
push eax
push 0x6a
mov eax, ebp
call fcn.0048ca00
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x14]
add esp, 0x10
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x4ad195
jmp 0x4ad000
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x14]
cmp esi, ebx
je 0x4ad024
mov ebx, dword [esp + 0x1c]
nop
mov edi, esi
call fcn.004ac9d0
test eax, eax
jne 0x4ad022
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4ad010
xor ebx, ebx
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x38], eax
jg 0x4ad03f
mov edi, ebp
call fcn.0048c980
test eax, eax
jne 0x4ad067
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x21
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 byte [ebp + 0x6e], bl
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x38], eax
jg 0x4ad082
mov edi, ebp
call fcn.0048c980
test eax, eax
jne 0x4ad0aa
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x21
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 byte [ebp + 0x6e], bl
mov eax, dword [esp + 0x40]
push esi
push eax
call fcn.004a5520
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x40]
push 0xd
mov edi, ebp
call fcn.0048caf0
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
add esp, 0x14
push esi
push ecx
call fcn.004a5520
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x1c]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x5c]
push 0xa
call fcn.0048caf0
mov esi, dword [ebp + 0xc]
add esp, 0x14
cmp dword [ebp + 0x10], esi
jg 0x4ad10e
call fcn.0048c980
test eax, eax
je 0x4ad10e
mov esi, 1
jmp 0x4ad136
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x7a
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 byte [ebp + 0x6e], bl
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
push 8
mov eax, ebp
call fcn.0048ca00
mov eax, dword [esp + 0x24]
push 1
push edi
push eax
push 0x6c
mov eax, ebp
call fcn.0048ca00
mov edx, dword [esp + 0x30]
push ebx
lea ecx, [esi + 1]
push ecx
push edx
push 0x6a
mov eax, ebp
call fcn.0048ca00
mov eax, dword [ebp + 0xc]
add esp, 0x30
cmp eax, esi
jle 0x4ad182
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x4ad000
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jle 0x4ad1aa
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
call fcn.0049d470
mov esi, dword [esp + 0x28]
call fcn.0049d470
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4ad1d3
mov edi, ebp
call fcn.0048c980
test eax, eax
jne 0x4ad1fb
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x21
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 byte [ebp + 0x6e], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4ad20e
mov edi, ebp
call fcn.0048c980
test eax, eax
jne 0x4ad236
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x21
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 byte [ebp + 0x6e], bl
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x4ad2d3
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4ad259
mov edi, ebp
call fcn.0048c980
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x4ad27d
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x27
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 byte [ebp + 0x6e], bl
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jle 0x4ad28e
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4ad2a1
mov edi, ebp
call fcn.0048c980
test eax, eax
jne 0x4ad2c9
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x21
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 byte [ebp + 0x6e], 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