Function at 0x57e5b0
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 0x57eeea
push edi
mov eax, ebp
call fcn.0053a110
add esp, 4
test eax, eax
jne 0x57eeea
test byte [edi + 0x1e], 0x10
jne 0x57eeea
cmp ebx, 0x63
jne 0x57e601
mov dword [esp + 0x48], 2
jmp 0x57e60f
cmp ebx, 2
je 0x57e60f
cmp ebx, 1
jne 0x57eeea
mov eax, dword [esi + 8]
cmp word [eax], 1
jne 0x57eeea
cmp dword [eax + 0x18], 0
jne 0x57eeea
cmp dword [esi + 0xc], 0
jne 0x57eeea
cmp dword [esi + 0x18], 0
jne 0x57eeea
cmp dword [esi + 0x10], 0
jne 0x57eeea
cmp dword [esi + 0x28], 0
jne 0x57eeea
cmp dword [esi + 0x1c], 0
jne 0x57eeea
test byte [esi + 6], 1
jne 0x57eeea
mov esi, dword [esi]
cmp dword [esi], 1
jne 0x57eeea
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
cmp byte [edx], 0x71
jne 0x57eeea
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
push ecx
push 0
mov eax, ebp
call fcn.0057d7c0
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
je 0x57eeea
cmp eax, edi
je 0x57eeea
test byte [eax + 0x1e], 0x10
jne 0x57eeea
cmp dword [eax + 0x18], 0
jne 0x57eeea
mov ebp, dword [edi + 8]
cmp ebp, dword [eax + 8]
jne 0x57eeea
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jne 0x57eeea
xor ebx, ebx
test ebp, ebp
jle 0x57e72e
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 0x57e6f0
mov dl, byte [esi + 6]
cmp dl, byte [edi + 6]
jne 0x57eeea
mov edx, dword [edi]
mov ecx, dword [esi]
call fcn.005398d0
test eax, eax
je 0x57eeea
cmp byte [esi + 4], 0
je 0x57e71d
cmp byte [edi + 4], 0
je 0x57eeea
add ebx, 1
add esi, 0x18
add edi, 0x18
cmp ebx, ebp
jl 0x57e6f0
mov edi, dword [esp + 0x44]
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x57e77f
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x10]
lea esp, [esp]
cmp byte [ebx + 0x18], 0
je 0x57e74e
mov dword [esp + 0x28], 1
mov edi, esi
test edi, edi
je 0x57eeea
call fcn.005398f0
test eax, eax
jne 0x57e770
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x57e758
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
test edi, edi
je 0x57eeea
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x57e740
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x57e7a3
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx + 0x28]
push eax
call fcn.00540c40
add esp, 8
test eax, eax
jne 0x57eeea
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x40]
mov edi, dword [esp + 0x40]
mov ecx, dword [edi]
call fcn.00539ae0
mov esi, eax
mov dword [esp + 0x2c], esi
call fcn.00549210
mov ebp, eax
push esi
mov eax, edi
call fcn.0055fb10
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.00541b20
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.005501b0
xor ebx, ebx
add esp, 0x14
cmp dword [esi + 4], ebx
jge 0x57e816
mov edx, esi
cmp dword [edx + 0x10], ebx
jne 0x57e820
cmp dword [esp + 0x28], ebx
je 0x57e8c4
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x57e83d
mov edi, ebp
call fcn.0053f5e0
test eax, eax
je 0x57e83d
mov dword [esp + 0x28], 1
jmp 0x57e86a
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 0x57e884
mov edi, ebp
call fcn.0053f5e0
test eax, eax
je 0x57e884
mov esi, 1
jmp 0x57e8a9
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 0x57e8c8
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4 + 8], eax
jmp 0x57e8c8
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.005501b0
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x10], esi
jg 0x57e901
mov edi, ebp
call fcn.0053f5e0
test eax, eax
je 0x57e901
mov dword [esp + 0x30], 1
jmp 0x57e92e
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.00538a40
mov dword [esp + 0x1c], eax
mov eax, edx
call fcn.00538a40
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [esp + 0x44]
cmp dword [eax + 4], ebx
mov dword [esp + 0x38], esi
jl 0x57e9f8
cmp dword [ebp + 0x10], ecx
mov dword [esp + 0x28], ecx
jg 0x57e979
mov edi, ebp
call fcn.0053f5e0
test eax, eax
je 0x57e975
mov ecx, 1
jmp 0x57e9a2
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.0053f660
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.0054f4f0
mov eax, dword [ebp + 0xc]
add esp, 0x1c
cmp eax, edi
jle 0x57e9e1
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.00541b90
add esp, 8
jmp 0x57ea7a
cmp dword [eax + 0x10], ebx
mov dword [esp + 0x34], ecx
jne 0x57ea32
cmp dword [ebp + 0x10], ecx
jg 0x57ea1c
mov edi, ebp
call fcn.0053f5e0
test eax, eax
je 0x57ea18
mov ecx, 1
jmp 0x57ea76
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 0x57ea61
cmp dword [ebp + 0x10], ecx
jg 0x57ea4d
mov edi, ebp
call fcn.0053f5e0
test eax, eax
je 0x57ea49
mov ecx, 1
jmp 0x57ea76
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 0x57ea95
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x57eac2
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.0053f660
mov eax, dword [ebp + 0x14]
add esp, 0x10
cmp eax, ebx
je 0x57eaeb
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 0x57eb4e
cmp byte [edi + 0x1e], bl
jne 0x57eb4e
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.0053f8d0
cmp dword [esp + 0x28], ebx
mov dword [esi + 0x10], ebx
jne 0x57eb2e
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x57eb55
mov ecx, dword [esp + 0x28]
call fcn.00531f50
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.0053cad0
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
xor ebx, ebx
jmp 0x57eb55
xor eax, eax
call fcn.0053f8d0
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x57eb68
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x57eb95
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 0x57edb2
jmp 0x57ebb0
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x10]
cmp esi, ebx
je 0x57ebd4
mov ebx, dword [esp + 0x20]
nop
mov edi, esi
call fcn.005398f0
test eax, eax
jne 0x57ebd2
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x57ebc0
xor ebx, ebx
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x34], eax
jg 0x57ebef
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x57ec18
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 0x57ec33
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x57ec5c
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.00564e00
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.005452a0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
push esi
push eax
call fcn.00564e00
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x30]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x70]
push 0x27
call fcn.005452a0
mov esi, dword [ebp + 0xc]
add esp, 0x28
cmp dword [ebp + 0x10], esi
jg 0x57ecc0
call fcn.0053f5e0
test eax, eax
je 0x57ecc0
mov dword [esp + 0x28], 1
jmp 0x57eced
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 0x57ed00
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x57ed2d
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.0053f660
mov esi, dword [ebp + 0xc]
add esp, 0x10
cmp dword [ebp + 0x10], esi
jg 0x57ed58
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x57ed8a
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 0x57ed8e
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jle 0x57ed9f
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 0x57ebb0
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jle 0x57edc7
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.00538a60
mov esi, dword [esp + 0x1c]
call fcn.00538a60
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x57edf0
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x57ee19
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 0x57ee2c
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x57ee55
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 0x57eef4
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x57ee78
mov edi, ebp
call fcn.0053f5e0
test eax, eax
mov ecx, dword [esp + 0x24]
jne 0x57ee9d
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 0x57eeae
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 0x57eec1
mov edi, ebp
call fcn.0053f5e0
test eax, eax
jne 0x57eeea
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