Function at 0x4873b0
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 0x487cbb
push edi
mov eax, ebp
call fcn.00493cf0
add esp, 4
test eax, eax
jne 0x487cbb
test byte [edi + 0x22], 0x10
jne 0x487cbb
cmp ebx, 0x63
jne 0x487401
mov dword [esp + 0x48], 2
jmp 0x48740f
cmp ebx, 2
je 0x48740f
cmp ebx, 1
jne 0x487cbb
mov eax, dword [esi + 8]
cmp word [eax], 1
jne 0x487cbb
cmp dword [eax + 0x18], 0
jne 0x487cbb
cmp dword [esi + 0xc], 0
jne 0x487cbb
cmp dword [esi + 0x18], 0
jne 0x487cbb
cmp dword [esi + 0x10], 0
jne 0x487cbb
cmp dword [esi + 0x28], 0
jne 0x487cbb
cmp dword [esi + 0x1c], 0
jne 0x487cbb
test byte [esi + 6], 1
jne 0x487cbb
mov esi, dword [esi]
cmp dword [esi], 1
jne 0x487cbb
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
cmp byte [edx], 0x71
jne 0x487cbb
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
push ecx
push 0
mov eax, ebp
call fcn.00479930
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x487cbb
cmp eax, edi
je 0x487cbb
test byte [eax + 0x22], 0x10
jne 0x487cbb
cmp dword [eax + 0x1c], 0
jne 0x487cbb
mov ebp, dword [edi + 8]
cmp ebp, dword [eax + 8]
jne 0x487cbb
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jne 0x487cbb
xor ebx, ebx
test ebp, ebp
jle 0x48752c
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 0x4874f0
mov dl, byte [esi + 6]
cmp dl, byte [edi + 6]
jne 0x487cbb
mov edx, dword [edi]
mov ecx, dword [esi]
call fcn.004872f0
test eax, eax
je 0x487cbb
cmp byte [esi + 4], 0
je 0x48751d
cmp byte [edi + 4], 0
je 0x487cbb
inc ebx
add esi, 0x18
add edi, 0x18
cmp ebx, ebp
jl 0x4874f0
mov edi, dword [esp + 0x44]
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x48757f
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x10]
lea ebx, [ebx]
cmp byte [ebx + 0x18], 0
je 0x48754e
mov dword [esp + 0x28], 1
mov edi, esi
test edi, edi
je 0x487cbb
call fcn.00487310
test eax, eax
jne 0x487570
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x487558
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
test edi, edi
je 0x487cbb
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x487540
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4875a3
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x2c]
push eax
push edx
call fcn.00475970
add esp, 8
test eax, eax
jne 0x487cbb
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
test dword [ecx + 0xc], 0x4000000
je 0x4875bc
cmp dword [esi + 0x24], 0
jne 0x487cbb
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x44]
call fcn.0048bb40
mov edi, dword [esp + 0x40]
mov esi, eax
mov dword [esp + 0x2c], esi
call fcn.0048e500
mov ebp, eax
push esi
mov eax, edi
call fcn.0047db80
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.004845b0
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.004842d0
xor ebx, ebx
add esp, 0xc
cmp dword [esi + 4], ebx
jge 0x487633
mov eax, esi
cmp dword [eax + 0x10], ebx
jne 0x48763d
cmp dword [esp + 0x28], ebx
je 0x4876d9
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x48765a
mov edi, ebp
call fcn.00464340
test eax, eax
je 0x48765a
mov dword [esp + 0x28], 1
jmp 0x487683
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 0x48769d
mov edi, ebp
call fcn.00464340
test eax, eax
je 0x48769d
mov esi, 1
jmp 0x4876be
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 0x4876dd
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x4876dd
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.004842d0
mov esi, dword [ebp + 0x1c]
add esp, 0xc
cmp dword [ebp + 0x20], esi
jg 0x487716
mov edi, ebp
call fcn.00464340
test eax, eax
je 0x487716
mov dword [esp + 0x30], 1
jmp 0x48773f
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.00475ea0
mov dword [esp + 0x1c], eax
mov eax, edx
call fcn.00475ea0
mov ecx, dword [ebp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x44]
cmp dword [eax + 4], ebx
mov dword [esp + 0x38], esi
jl 0x487802
cmp dword [ebp + 0x20], ecx
mov dword [esp + 0x28], ecx
jg 0x48778a
mov edi, ebp
call fcn.00464340
test eax, eax
je 0x487786
mov ecx, 1
jmp 0x4877af
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.004643c0
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.0047dd30
mov eax, dword [ebp + 0x1c]
add esp, 0x1c
cmp eax, edi
jle 0x4877ee
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.004849a0
add esp, 8
jmp 0x48787f
mov dword [esp + 0x34], ecx
cmp dword [eax + 0x10], ebx
jne 0x48783b
cmp dword [ebp + 0x20], ecx
jg 0x487826
mov edi, ebp
call fcn.00464340
test eax, eax
je 0x487822
mov ecx, 1
jmp 0x48787b
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 0x487869
cmp dword [ebp + 0x20], ecx
jg 0x487856
mov edi, ebp
call fcn.00464340
test eax, eax
je 0x487852
mov ecx, 1
jmp 0x48787b
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 0x48789a
mov edi, ebp
call fcn.00464340
test eax, eax
jne 0x4878c3
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.004643c0
mov eax, dword [ebp + 4]
add esp, 0x10
cmp eax, ebx
je 0x4878ec
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 0x48794d
cmp byte [edi + 0x1e], bl
jne 0x48794d
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.00464920
mov dword [esi + 0x10], ebx
cmp dword [esp + 0x28], ebx
jne 0x48792d
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x487954
mov ecx, dword [esp + 0x28]
call fcn.0044c290
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.0044a730
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
xor ebx, ebx
jmp 0x487954
xor eax, eax
call fcn.00464920
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x487967
mov edi, ebp
call fcn.00464340
test eax, eax
jne 0x487990
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 0x487b93
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x10]
cmp esi, ebx
je 0x4879c6
mov ebx, dword [esp + 0x20]
mov edi, esi
call fcn.00487310
test eax, eax
jne 0x4879c4
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4879b2
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x34], eax
jg 0x4879e1
mov edi, ebp
call fcn.00464340
test eax, eax
jne 0x487a06
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 0x487a21
mov edi, ebp
call fcn.00464340
test eax, eax
jne 0x487a46
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.0047e0d0
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.004644e0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
add esp, 0x14
push esi
push eax
call fcn.0047e0d0
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x1c]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x5c]
push 0x27
call fcn.004644e0
mov esi, dword [ebp + 0x1c]
add esp, 0x14
cmp dword [ebp + 0x20], esi
jg 0x487aad
call fcn.00464340
test eax, eax
je 0x487aad
mov dword [esp + 0x28], 1
jmp 0x487ad6
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 0x487ae9
mov edi, ebp
call fcn.00464340
test eax, eax
jne 0x487b12
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.004643c0
mov esi, dword [ebp + 0x1c]
add esp, 0x10
cmp dword [ebp + 0x20], esi
jg 0x487b3d
mov edi, ebp
call fcn.00464340
test eax, eax
jne 0x487b6b
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 0x487b6f
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x1c]
cmp eax, ecx
jle 0x487b80
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 0x4879a3
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jle 0x487ba8
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.00475ec0
mov esi, dword [esp + 0x1c]
call fcn.00475ec0
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x487bd1
mov edi, ebp
call fcn.00464340
test eax, eax
jne 0x487bf6
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 0x487c09
mov edi, ebp
call fcn.00464340
test eax, eax
jne 0x487c2e
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 0x487cc5
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x487c51
mov edi, ebp
call fcn.00464340
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x487c72
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 0x487c83
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 0x487c96
mov edi, ebp
call fcn.00464340
test eax, eax
jne 0x487cbb
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