Function at 0x57f5d0
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
test esi, esi
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], 0
je 0x57ff0a
push edi
mov eax, ebp
call fcn.0053b130
add esp, 4
test eax, eax
jne 0x57ff0a
test byte [edi + 0x1e], 0x10
jne 0x57ff0a
cmp ebx, 0x63
jne 0x57f621
mov dword [esp + 0x48], 2
jmp 0x57f62f
cmp ebx, 2
je 0x57f62f
cmp ebx, 1
jne 0x57ff0a
mov eax, dword [esi + 8]
cmp word [eax], 1
jne 0x57ff0a
cmp dword [eax + 0x18], 0
jne 0x57ff0a
cmp dword [esi + 0xc], 0
jne 0x57ff0a
cmp dword [esi + 0x18], 0
jne 0x57ff0a
cmp dword [esi + 0x10], 0
jne 0x57ff0a
cmp dword [esi + 0x28], 0
jne 0x57ff0a
cmp dword [esi + 0x1c], 0
jne 0x57ff0a
test byte [esi + 6], 1
jne 0x57ff0a
mov esi, dword [esi]
cmp dword [esi], 1
jne 0x57ff0a
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
cmp byte [edx], 0x71
jne 0x57ff0a
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
push ecx
push 0
mov eax, ebp
call fcn.0057e7e0
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
je 0x57ff0a
cmp eax, edi
je 0x57ff0a
test byte [eax + 0x1e], 0x10
jne 0x57ff0a
cmp dword [eax + 0x18], 0
jne 0x57ff0a
mov ebp, dword [edi + 8]
cmp ebp, dword [eax + 8]
jne 0x57ff0a
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jne 0x57ff0a
xor ebx, ebx
test ebp, ebp
jle 0x57f74e
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 0x57f710
mov dl, byte [esi + 6]
cmp dl, byte [edi + 6]
jne 0x57ff0a
mov edx, dword [edi]
mov ecx, dword [esi]
call fcn.0053a8f0
test eax, eax
je 0x57ff0a
cmp byte [esi + 4], 0
je 0x57f73d
cmp byte [edi + 4], 0
je 0x57ff0a
add ebx, 1
add esi, 0x18
add edi, 0x18
cmp ebx, ebp
jl 0x57f710
mov edi, dword [esp + 0x44]
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x57f79f
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x10]
lea esp, [esp]
cmp byte [ebx + 0x18], 0
je 0x57f76e
mov dword [esp + 0x28], 1
mov edi, esi
test edi, edi
je 0x57ff0a
call fcn.0053a910
test eax, eax
jne 0x57f790
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x57f778
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
test edi, edi
je 0x57ff0a
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x57f760
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x57f7c3
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx + 0x28]
push eax
call fcn.00541c60
add esp, 8
test eax, eax
jne 0x57ff0a
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x40]
mov edi, dword [esp + 0x40]
mov ecx, dword [edi]
call fcn.0053ab00
mov esi, eax
mov dword [esp + 0x2c], esi
call fcn.0054a230
mov ebp, eax
push esi
mov eax, edi
call fcn.00560b30
mov eax, dword [edi + 0x44]
mov ebx, dword [esp + 0x48]
lea esi, [eax + 1]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
lea edx, [esi + 1]
mov dword [edi + 0x44], edx
push eax
mov edx, edi
mov dword [esp + 0x1c], esi
call fcn.00542b40
mov ecx, dword [esp + 0x54]
push 0x27
push ecx
push esi
mov dword [esp + 0x48], eax
mov esi, ebx
mov eax, esi
mov ecx, edi
call fcn.005511d0
xor ebx, ebx
add esp, 0x14
cmp dword [esi + 4], ebx
jge 0x57f836
mov edx, esi
cmp dword [edx + 0x10], ebx
jne 0x57f840
cmp dword [esp + 0x28], ebx
je 0x57f8e4
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x57f85d
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x57f85d
mov dword [esp + 0x28], 1
jmp 0x57f88a
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x14]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x41
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 + 0x62], bl
mov dword [esp + 0x28], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x57f8a4
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x57f8a4
mov esi, 1
jmp 0x57f8c9
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea eax, [esi + esi*4]
lea eax, [ecx + eax*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 byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x24], esi
jle 0x57f8e8
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4 + 8], eax
jmp 0x57f8e8
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
push 0x26
push edx
push eax
mov eax, dword [esp + 0x24]
call fcn.005511d0
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x10], esi
jg 0x57f921
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x57f921
mov dword [esp + 0x30], 1
jmp 0x57f94e
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
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 byte [ebp + 0x62], bl
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x40]
mov eax, edx
call fcn.00539a60
mov dword [esp + 0x1c], eax
mov eax, edx
call fcn.00539a60
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [esp + 0x44]
cmp dword [eax + 4], ebx
mov dword [esp + 0x38], esi
jl 0x57fa18
cmp dword [ebp + 0x10], ecx
mov dword [esp + 0x28], ecx
jg 0x57f999
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x57f995
mov ecx, 1
jmp 0x57f9c2
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
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 byte [ebp + 0x62], bl
mov eax, dword [esp + 0x14]
push esi
push ebx
push eax
push 0x34
mov eax, ebp
mov dword [esp + 0x30], ecx
call fcn.00540680
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.00550510
mov eax, dword [ebp + 0xc]
add esp, 0x1c
cmp eax, edi
jle 0x57fa01
mov ecx, dword [ebp + 0x14]
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.00542bb0
add esp, 8
jmp 0x57fa9a
cmp dword [eax + 0x10], ebx
mov dword [esp + 0x34], ecx
jne 0x57fa52
cmp dword [ebp + 0x10], ecx
jg 0x57fa3c
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x57fa38
mov ecx, 1
jmp 0x57fa96
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x14]
mov byte [eax], 0x36
jmp 0x57fa81
cmp dword [ebp + 0x10], ecx
jg 0x57fa6d
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x57fa69
mov ecx, 1
jmp 0x57fa96
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*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 byte [ebp + 0x62], bl
mov dword [esp + 0x20], ecx
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x34], eax
jg 0x57fab5
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x57fae2
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
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 byte [ebp + 0x62], bl
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push esi
push edx
push eax
push 0x37
mov eax, ebp
call fcn.00540680
mov eax, dword [ebp + 0x14]
add esp, 0x10
cmp eax, ebx
je 0x57fb0b
mov ecx, dword [ebp + 0xc]
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 + 0x14]
cmp edx, ebx
mov edi, dword [ebp]
mov dword [esp + 0x28], ecx
je 0x57fb6e
cmp byte [edi + 0x1e], bl
jne 0x57fb6e
mov eax, dword [ebp + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
mov ecx, dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
call fcn.005408f0
cmp dword [esp + 0x28], ebx
mov dword [esi + 0x10], ebx
jne 0x57fb4e
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x57fb75
mov ecx, dword [esp + 0x28]
call fcn.00532f70
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.0053daf0
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
xor ebx, ebx
jmp 0x57fb75
xor eax, eax
call fcn.005408f0
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x57fb88
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x57fbb5
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
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 byte [ebp + 0x62], bl
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x10]
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x57fdd2
jmp 0x57fbd0
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x10]
cmp esi, ebx
je 0x57fbf4
mov ebx, dword [esp + 0x20]
nop
mov edi, esi
call fcn.0053a910
test eax, eax
jne 0x57fbf2
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x57fbe0
xor ebx, ebx
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x34], eax
jg 0x57fc0f
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x57fc38
mov eax, dword [esp + 0x34]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
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 byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x34], eax
jg 0x57fc53
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x57fc7c
mov eax, dword [esp + 0x34]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
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 byte [ebp + 0x62], bl
mov edx, dword [esp + 0x40]
push esi
push edx
call fcn.00565e20
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.005462c0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
push esi
push eax
call fcn.00565e20
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x30]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x70]
push 0x27
call fcn.005462c0
mov esi, dword [ebp + 0xc]
add esp, 0x28
cmp dword [ebp + 0x10], esi
jg 0x57fce0
call fcn.00540600
test eax, eax
je 0x57fce0
mov dword [esp + 0x28], 1
jmp 0x57fd0d
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
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 byte [ebp + 0x62], bl
mov dword [esp + 0x28], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x57fd20
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x57fd4d
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
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 byte [ebp + 0x62], bl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push 1
push eax
push ecx
push 0x46
mov eax, ebp
call fcn.00540680
mov esi, dword [ebp + 0xc]
add esp, 0x10
cmp dword [ebp + 0x10], esi
jg 0x57fd78
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x57fdaa
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
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
mov byte [ebp + 0x62], bl
jmp 0x57fdae
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jle 0x57fdbf
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x20]
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x57fbd0
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jle 0x57fde7
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
call fcn.00539a80
mov esi, dword [esp + 0x1c]
call fcn.00539a80
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x57fe10
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x57fe39
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
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 byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x57fe4c
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x57fe75
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
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 byte [ebp + 0x62], bl
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x57ff14
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x57fe98
mov edi, ebp
call fcn.00540600
test eax, eax
mov ecx, dword [esp + 0x24]
jne 0x57febd
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
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 byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jle 0x57fece
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 0x57fee1
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x57ff0a
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
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 byte [ebp + 0x62], bl
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret