Function at 0x4402e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x40
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, dword [esp + 0x50]
xor ecx, ecx
cmp eax, ecx
push esi
mov esi, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
je 0x44030f
cmp dword [esp + 0x6c], ecx
mov dword [esp + 0x28], eax
jne 0x440313
mov dword [esp + 0x28], esi
call fcn.0041c720
mov ecx, dword [ebp + 0xc]
mov ebx, eax
xor edx, edx
test ecx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], ecx
lea eax, [esi + 1]
mov dword [esp + 0x20], edx
jle 0x44044c
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov edi, edi
cmp edx, dword [ebp + 8]
je 0x440423
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
movzx edx, byte [eax + ecx + 0x14]
add eax, ecx
test edx, edx
je 0x440423
mov ecx, dword [esp + 0x70]
cmp ecx, 0x63
je 0x44036c
mov edx, ecx
jmp 0x440371
cmp edx, 0x63
je 0x44037d
cmp edx, 5
jne 0x440382
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x440382
mov edx, 2
lea eax, [edx - 1]
cmp eax, 3
ja case.default.0x44038a
jmp dword [eax*4 + 0x440944]
mov ecx, edi
call fcn.0040f330
mov eax, dword [esp + 0x14]
push eax
push edx
push 0x13
push 5
mov eax, ebx
call fcn.00414dd0
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ecx]
mov ecx, dword [ebp + 4]
mov esi, dword [edi]
push eax
push ecx
push str._s._s_may_not_be_NULL
call fcn.00418920
mov edx, eax
push ebx
or ecx, 0xffffffff
or eax, 0xffffffff
call fcn.00415110
add esp, 0x20
jmp 0x440423
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
push ebx
mov edx, 0x49
call fcn.00414e70
add esp, 4
jmp 0x440423
mov esi, dword [esp + 0x14]
push ebx
mov eax, esi
mov ecx, 0x4a
call fcn.00414e50
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + edx + 4]
call fcn.00415dc0
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.0040d680
add esp, 8
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
inc edx
inc esi
add ecx, 0x18
cmp edx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
jl 0x440340
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4404d4
mov edx, dword [edi]
test dword [edx + 0xc], 0x40000
jne 0x4404d4
mov eax, ebx
call fcn.00414e90
mov esi, eax
mov eax, dword [esp + 0x60]
inc eax
push 8
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 0x2c]
push esi
push eax
push edi
mov dword [esp + 0x40], esi
call fcn.00434ef0
mov eax, dword [esp + 0x80]
add esp, 0x10
cmp eax, 0x63
je 0x4404ae
cmp eax, 4
jne 0x4404b3
mov eax, dword [esp + 0x74]
push ebx
xor ecx, ecx
mov edx, 1
call fcn.00414e70
add esp, 4
jmp 0x4404cb
mov eax, 2
push 0
push 0
mov esi, eax
mov ebx, edi
call fcn.00420ee0
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
add esp, 8
mov edx, esi
mov ecx, ebx
call fcn.0040d4e0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x440633
mov eax, dword [esp + 0x70]
cmp eax, 0x63
movzx esi, byte [ebp + 0x23]
je 0x4404f1
mov esi, eax
jmp 0x4404fb
cmp esi, 0x63
jne 0x4404fb
mov esi, 2
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x44051f
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
push ecx
push 0
push edx
push 0x4c
mov eax, ebx
call fcn.00414dd0
add esp, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push eax
push 0
push ecx
push 0x34
mov eax, ebx
call fcn.00414dd0
mov dword [esp + 0x30], eax
lea eax, [esi - 1]
add esp, 0x10
cmp eax, 4
ja case.default.0x440547
jmp dword [eax*4 + 0x440954]
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
xor esi, esi
test eax, 0x2000000
je 0x440571
push esi
push esi
push 0x6a
push edi
mov eax, ebp
call fcn.00410290
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4405b3
push 0
push 0
push ebp
mov eax, edi
call fcn.0040f860
add esp, 0xc
test eax, eax
jne 0x4405b3
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4405d3
mov ecx, edi
call fcn.0040f310
mov eax, dword [esp + 0x5c]
push 0
push eax
mov eax, ebp
mov ebx, edi
call fcn.00440280
mov ebx, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x1c], 1
jmp 0x44060d
mov ecx, edi
call fcn.0040f310
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push 5
push esi
push 0
push ecx
push edx
push ebp
push edi
call fcn.0044ab70
add esp, 0x1c
mov dword [esp + 0x1c], 1
jmp 0x44060d
mov eax, dword [esp + 0x74]
push ebx
xor ecx, ecx
mov edx, 1
call fcn.00414e70
add esp, 4
jmp 0x44060d
mov esi, 2
push 0xfffffffffffffffe
push str.PRIMARY_KEY_must_be_unique
mov ebx, edi
call fcn.00420ee0
mov ebx, dword [esp + 0x18]
add esp, 8
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebx
call fcn.0040d680
mov eax, dword [esp + 0x70]
add esp, 4
test eax, eax
je 0x440633
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.0040d680
add esp, 4
mov edx, dword [esp + 0x58]
mov ebp, dword [edx + 0x14]
test ebp, ebp
mov dword [esp + 0x18], 0
je 0x44092e
mov ebx, dword [esp + 0x10]
mov edi, edi
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
cmp dword [eax + ecx*4], 0
je 0x44091a
mov esi, dword [ebp + 4]
mov ecx, dword [esp + 0x54]
inc esi
call fcn.0040ec60
mov ecx, dword [ebp + 4]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x4406b1
mov edi, eax
mov edi, edi
mov edx, dword [ebp + 8]
mov eax, dword [edx + esi*4]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x60]
cmp eax, edx
push ebx
mov edx, 0xf
je 0x44069e
inc ecx
add ecx, eax
mov eax, edi
call fcn.00414e70
mov eax, dword [ebp + 4]
add esp, 4
inc esi
inc edi
cmp esi, eax
jl 0x440680
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
lea eax, [edi + esi]
push ebx
mov edx, 0xf
call fcn.00414e70
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp + 4]
push ecx
inc edx
push edx
push edi
push 0x1e
mov eax, ebx
call fcn.00414dd0
push ebx
mov esi, ebp
call fcn.004169f0
mov edx, eax
push ebx
xor ecx, ecx
or eax, 0xffffffff
call fcn.00415110
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x70]
add esp, 0x1c
inc ecx
call fcn.0040eb30
movzx eax, byte [ebp + 0x18]
test eax, eax
mov dword [esp + 0x68], eax
jne 0x440727
mov esi, dword [ebp + 4]
mov eax, dword [esp + 0x54]
inc esi
mov ecx, edi
call fcn.0040ec90
jmp 0x44091a
mov eax, dword [esp + 0x70]
cmp eax, 0x63
jne 0x44073e
mov eax, dword [esp + 0x68]
cmp eax, 0x63
jne 0x440742
mov eax, 2
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x440766
cmp eax, 4
jne 0x440759
mov dword [esp + 0x68], 5
jmp 0x440766
cmp eax, 3
jne 0x440766
mov dword [esp + 0x68], 2
mov eax, dword [esp + 0x54]
call fcn.0040ec00
mov ecx, dword [esp + 0x28]
mov esi, eax
push ebx
mov edx, 0xf
mov dword [esp + 0x28], esi
call fcn.00414e70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
push 0xfffffffffffffff2
push eax
lea edx, [ecx + edx + 1]
push 0x33
mov eax, esi
xor ecx, ecx
mov edi, ebx
call fcn.004197c0
mov esi, dword [ebp + 4]
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
inc esi
call fcn.0040ec90
mov eax, dword [esp + 0x68]
test eax, eax
jle 0x4408a8
cmp eax, 3
jle 0x4407ef
cmp eax, 4
jne 0x4408a8
mov eax, dword [esp + 0x74]
push ebx
xor ecx, ecx
mov edx, 1
call fcn.00414e70
add esp, 4
jmp 0x4408f8
push 0xc8
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x38]
call fcn.004081c0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov eax, dword [ebp + 4]
add esp, 4
cmp eax, 1
mov dword [esp + 0x34], ecx
mov edi, str.columns
jg 0x440820
mov edi, str.column
xor esi, esi
test eax, eax
jle 0x440865
mov edx, dword [ebp + 8]
mov eax, dword [edx + esi*4]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
push 0xffffffffffffffff
push edi
lea ebx, [esp + 0x3c]
mov dword [esp + 0x38], eax
call fcn.00412af0
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push ecx
mov edi, 0x4b2cf0
call fcn.00412af0
mov eax, dword [ebp + 4]
add esp, 0x10
inc esi
cmp esi, eax
jl 0x440826
cmp dword [ebp + 4], 1
mov eax, str._are_not_unique
jg 0x440875
mov eax, str._is_not_unique
push 0xffffffffffffffff
push eax
lea ebx, [esp + 0x3c]
call fcn.00412af0
call fcn.00412be0
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x5c]
mov edi, eax
push 0
push edi
call fcn.00420ee0
mov edx, dword [esp + 0x44]
push edi
push edx
call fcn.00408130
add esp, 0x18
jmp 0x4408f8
mov esi, dword [esp + 0x54]
mov ecx, esi
xor edx, edx
call fcn.0040f310
mov eax, dword [esi]
test dword [eax + 0xc], 0x2000000
je 0x4408d3
mov eax, dword [esp + 0x58]
push edx
push edx
push 0x6a
push esi
call fcn.00410290
add esp, 0x10
mov edx, eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
push 5
push edx
mov edx, dword [esp + 0x64]
push 0
push ecx
push edx
push eax
push esi
call fcn.0044ab70
add esp, 0x1c
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0040d680
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
add esp, 4
call fcn.0040ec20
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov ebp, dword [ebp + 0x20]
inc ecx
test ebp, ebp
mov dword [esp + 0x18], ecx
jne 0x440650
mov eax, dword [esp + 0x78]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x440940
mov edx, dword [esp + 0xc]
mov dword [eax], edx
add esp, 0x40
ret