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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
xor eax, eax
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
setne al
movzx ecx, byte [eax + esi + 0x19]
mov dword [esp + 0x54], eax
mov eax, dword [esi + eax*4 + 0x1c]
mov dword [esp + 0x3c], ecx
cmp ecx, edi
je 0x45d2e9
cmp eax, edi
jne 0x45d2e9
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x44]
push eax
push esi
push ecx
push edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x28], edi
call fcn.0045ac90
add esp, 0x14
test eax, eax
jne 0x45d286
xor ecx, ecx
cmp dword [esi + 0x14], edi
mov dword [esp + 0x30], ecx
jle 0x45cf45
mov eax, 3
mov dword [esp + 0x60], 0x4c28c4
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0x4c28c0
mov dword [esp + 0x6c], eax
jmp 0x45c994
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov esi, dword [ebp + 8]
test eax, eax
je 0x45c9a4
mov edx, dword [eax + ecx*4]
jmp 0x45c9aa
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 0x24]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45c9c6
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ecx*8]
jmp 0x45c9cb
mov ecx, 0x4c3cf8
lea eax, [edx + edx*2]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
add eax, eax
add eax, eax
add eax, eax
mov edx, dword [eax + edx]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x70], edx
mov eax, ecx
test ecx, ecx
je 0x45ca03
cmp byte [ecx], 0
je 0x45c9fc
inc eax
cmp byte [eax], 0
jne 0x45c9f6
sub eax, ecx
and eax, 0x3fffffff
mov dword [esp + 0x5c], eax
mov eax, edx
test edx, edx
jne 0x45ca13
mov dword [esp + 0x2c], edx
jmp 0x45ca29
cmp byte [edx], 0
je 0x45ca1e
inc eax
cmp byte [eax], 0
jne 0x45ca18
sub eax, edx
and eax, 0x3fffffff
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi]
push 1
mov dword [esp + 0x78], eax
push 0x1a
push ecx
lea eax, [esp + 0x7c]
call fcn.00449ca0
mov edi, dword [esi]
add esp, 0xc
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x45ca62
push eax
push edi
call fcn.0044a1a0
push 0
push edi
call fcn.0044a1a0
add esp, 0x10
jmp 0x45ca69
mov ebx, eax
call fcn.00449bb0
mov edx, dword [esi]
push 1
push 0x1a
push edx
lea eax, [esp + 0x64]
call fcn.00449ca0
mov edi, dword [esi]
add esp, 0xc
mov dword [esp + 0x48], eax
test eax, eax
jne 0x45ca9a
push eax
push edi
call fcn.0044a1a0
push 0
push edi
call fcn.0044a1a0
add esp, 0x10
jmp 0x45caa1
mov ebx, eax
call fcn.00449bb0
mov eax, dword [esi]
push 1
push 0x1a
push eax
lea eax, [esp + 0x6c]
call fcn.00449ca0
mov edi, dword [esi]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x45cacf
push eax
push edi
call fcn.0044a1a0
push ebx
push edi
call fcn.0044a1a0
add esp, 0x10
jmp 0x45cad4
call fcn.00449bb0
mov esi, dword [esi]
mov ecx, 0x30
call fcn.00423c10
mov esi, eax
mov dword [esp + 0x44], esi
test esi, esi
je 0x45cb08
push 0x30
push 0
push esi
call fcn.004957a0
add esp, 0xc
or ecx, 0xffffffff
mov byte [esi], 0x76
mov word [esi + 0x1e], cx
mov dword [esi + 0x2c], 1
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edi, dword [edx]
mov eax, ebx
call fcn.00449de0
mov ebx, dword [ebp + 8]
mov esi, dword [ebx]
mov ecx, 0x30
call fcn.00423c10
mov dword [esp + 0x24], eax
test eax, eax
je 0x45cb53
push 0x30
mov esi, eax
push 0
push esi
call fcn.004957a0
add esp, 0xc
or eax, 0xffffffff
mov byte [esi], 0x4c
mov word [esi + 0x1e], ax
mov dword [esi + 0x2c], 1
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov edi, dword [ebx]
call fcn.00449de0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
push edx
call fcn.00449e70
add esp, 8
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x1c], eax
je 0x45cd5b
mov eax, dword [ebx]
push 1
push 0x1a
push eax
lea eax, [esp + 0x64]
call fcn.00449ca0
mov esi, dword [ebx]
add esp, 0xc
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x45cbbb
push eax
push esi
call fcn.0044a1a0
push 0
push esi
call fcn.0044a1a0
add esp, 0x10
jmp 0x45cbc5
mov ebx, eax
call fcn.00449bb0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push 1
push 0x1a
push ecx
lea eax, [esp + 0x74]
call fcn.00449ca0
mov esi, dword [ebx]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x45cbf3
push eax
push esi
call fcn.0044a1a0
push edi
push esi
call fcn.0044a1a0
add esp, 0x10
jmp 0x45cbfd
mov ebx, edi
call fcn.00449bb0
mov ebx, dword [ebp + 8]
mov esi, dword [ebx]
mov ecx, 0x30
call fcn.00423c10
mov esi, eax
mov dword [esp + 0x44], esi
test esi, esi
je 0x45cc31
push 0x30
push 0
push esi
call fcn.004957a0
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x76
mov word [esi + 0x1e], dx
mov dword [esi + 0x2c], 1
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov eax, edi
mov edi, dword [ebx]
call fcn.00449de0
mov eax, dword [ebx]
push 1
push 0x1a
push eax
lea eax, [esp + 0x64]
call fcn.00449ca0
mov esi, dword [ebx]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x45cc70
push eax
push esi
call fcn.0044a1a0
push edi
push esi
call fcn.0044a1a0
add esp, 0x10
jmp 0x45cc7a
mov ebx, edi
call fcn.00449bb0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push 1
push 0x1a
push ecx
lea eax, [esp + 0x6c]
call fcn.00449ca0
mov esi, dword [ebx]
add esp, 0xc
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x45ccab
push eax
push esi
call fcn.0044a1a0
push 0
push esi
call fcn.0044a1a0
add esp, 0x10
jmp 0x45ccb5
mov ebx, eax
call fcn.00449bb0
mov ebx, dword [ebp + 8]
mov esi, dword [ebx]
mov ecx, 0x30
call fcn.00423c10
mov esi, eax
mov dword [esp + 0x48], esi
test esi, esi
je 0x45cce9
push 0x30
push 0
push esi
call fcn.004957a0
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x76
mov word [esi + 0x1e], dx
mov dword [esi + 0x2c], 1
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov esi, edi
mov edi, dword [ebx]
call fcn.00449de0
mov esi, dword [ebx]
mov ecx, 0x30
call fcn.00423c10
mov dword [esp + 0x24], eax
test eax, eax
je 0x45cd2e
push 0x30
mov esi, eax
push 0
push esi
call fcn.004957a0
add esp, 0xc
or eax, 0xffffffff
mov byte [esi], 0x46
mov word [esi + 0x1e], ax
mov dword [esi + 0x2c], 1
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov edi, dword [ebx]
call fcn.00449de0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
push edx
call fcn.00449e70
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
cmp eax, 6
je 0x45cf30
cmp eax, 9
jne 0x45ce3c
cmp dword [ebp + 0x14], 0
je 0x45cf30
mov eax, dword [ebx]
push 1
push 0x1a
push eax
lea eax, [esp + 0x64]
call fcn.00449ca0
mov esi, dword [ebx]
add esp, 0xc
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x45cdac
push eax
push esi
call fcn.0044a1a0
push 0
push esi
call fcn.0044a1a0
add esp, 0x10
jmp 0x45cdb6
mov ebx, eax
call fcn.00449bb0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push 1
push 0x1a
push ecx
lea eax, [esp + 0x74]
call fcn.00449ca0
mov esi, dword [ebx]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x45cde4
push eax
push esi
call fcn.0044a1a0
push edi
push esi
call fcn.0044a1a0
add esp, 0x10
jmp 0x45cdee
mov ebx, edi
call fcn.00449bb0
mov ebx, dword [ebp + 8]
mov esi, dword [ebx]
mov ecx, 0x30
call fcn.00423c10
mov esi, eax
mov dword [esp + 0x48], esi
test esi, esi
je 0x45ce22
push 0x30
push 0
push esi
call fcn.004957a0
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x76
mov word [esi + 0x1e], dx
mov dword [esi + 0x2c], 1
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, edi
mov edi, dword [ebx]
call fcn.00449de0
mov eax, dword [esp + 0x48]
jmp 0x45cecf
cmp eax, 8
jne 0x45ce7a
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x50]
mov eax, dword [edx + eax + 4]
push 0
push 0
test eax, eax
je 0x45ce69
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0044a330
add esp, 0x10
jmp 0x45cecf
xor esi, esi
lea eax, [esi + 0x62]
mov ecx, ebx
call fcn.00449e40
add esp, 8
jmp 0x45cecf
mov esi, dword [ebx]
mov ecx, 0x30
call fcn.00423c10
mov esi, eax
test esi, esi
je 0x45ceaa
push 0x30
push 0
push esi
call fcn.004957a0
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x62
mov word [esi + 0x1e], dx
mov dword [esi + 0x2c], 1
mov edi, dword [ebx]
test esi, esi
jne 0x45cec3
push esi
push edi
call fcn.0044a1a0
push esi
push edi
call fcn.0044a1a0
add esp, 0x10
jmp 0x45cecd
mov ebx, esi
call fcn.00449bb0
mov ebx, dword [ebp + 8]
mov eax, esi
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
mov eax, ebx
call fcn.0044ab90
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x45cf30
mov edi, dword [esp + 0x70]
mov esi, dword [ebx]
mov ecx, eax
mov eax, dword [ecx]
lea edx, [eax + eax*4]
mov eax, dword [ecx + 0xc]
lea ecx, [eax + edx*4 - 0x14]
mov dword [esp + 0x50], ecx
test edi, edi
jne 0x45cf08
xor esi, esi
jmp 0x45cf29
mov ebx, dword [esp + 0x2c]
lea ecx, [ebx + 1]
call fcn.00423c10
mov esi, eax
test esi, esi
je 0x45cf29
push ebx
push edi
push esi
call fcn.00498400
add esp, 0xc
mov byte [esi + ebx], 0
mov edx, dword [esp + 0x50]
mov dword [edx + 4], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x10]
inc eax
cmp eax, dword [ecx + 0x14]
mov dword [esp + 0x30], eax
jl 0x45c990
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
push edx
push edi
call fcn.004239e0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov ecx, dword [ecx]
add esp, 8
mov dword [esp + 0x4c], ecx
mov eax, ecx
test ecx, ecx
je 0x45cf7d
cmp byte [ecx], 0
je 0x45cf76
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x45cf70
sub eax, ecx
and eax, 0x3fffffff
cmp dword [esp + 0x3c], 6
mov dword [esp + 0x24], eax
jne 0x45d0e3
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
mov eax, str.foreign_key_constraint_failed
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x45cfa0
sub eax, str.foreign_key_constraint_failed
and eax, 0x3fffffff
mov dword [esp + 0x6c], eax
inc eax
lea ecx, [eax + 0x30]
mov esi, edi
mov dword [esp + 0x50], ecx
call fcn.00423c10
mov ebx, eax
test ebx, ebx
je 0x45d023
mov edx, dword [esp + 0x50]
push edx
push 0
push ebx
call fcn.004957a0
mov esi, dword [esp + 0x78]
or eax, 0xffffffff
mov word [ebx + 0x1e], ax
lea eax, [esi + 1]
add esp, 0xc
mov byte [ebx], 0x38
test eax, eax
jne 0x45cffc
mov ecx, 0x400
or word [ebx + 2], cx
mov dword [ebx + 4], eax
jmp 0x45d018
push esi
lea eax, [ebx + 0x30]
push str.foreign_key_constraint_failed
push eax
mov dword [ebx + 4], eax
call fcn.00498400
mov edx, dword [ebx + 4]
add esp, 0xc
mov byte [esi + edx], 0
mov dword [ebx + 0x2c], 1
mov byte [ebx + 1], 2
mov ecx, 0x40
mov esi, edi
call fcn.00423c10
mov esi, eax
test esi, esi
je 0x45d06e
push 0x40
push 0
push esi
call fcn.004957a0
mov eax, 1
mov word [esi + 2], ax
movsx ecx, word [esi]
add esp, 0xc
push ecx
push eax
push edi
mov eax, esi
call fcn.00455dd0
add esp, 0xc
cmp byte [edi + 0x1e], 0
mov esi, eax
je 0x45d072
push esi
mov esi, edi
call fcn.00456010
add esp, 4
xor esi, esi
jmp 0x45d0ab
movsx eax, word [esi]
lea edx, [eax*8]
sub edx, eax
lea eax, [esi + edx*8 - 0x30]
mov dword [esp + 0x48], eax
push edi
lea eax, [esp + 0x74]
call fcn.00452a30
mov ecx, dword [esp + 0x4c]
add esp, 4
mov dword [ecx + 4], eax
push edi
xor eax, eax
call fcn.00452a30
mov edx, dword [esp + 0x4c]
add esp, 4
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push esi
mov esi, dword [ebp + 8]
push 0
mov ecx, ebx
mov eax, esi
call fcn.0044ab90
add esp, 4
push esi
call fcn.00464d80
add esp, 0x24
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], 0
mov cl, byte [edi + 0xea]
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x24]
add ecx, 0x4d
mov esi, edi
mov byte [edi + 0xea], 0
call fcn.00423c10
mov ebx, eax
mov dword [esp + 0x50], ebx
test ebx, ebx
je 0x45d11f
mov eax, dword [esp + 0x24]
add eax, 0x4d
push eax
push 0
push ebx
call fcn.004957a0
add esp, 0xc
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x45d22f
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
lea esi, [ebx + 0x24]
push ecx
lea eax, [esi + 0x28]
push edx
mov dword [ebx + 0x1c], esi
push eax
mov dword [esp + 0x34], esi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
call fcn.00498400
mov eax, dword [esp + 0x28]
add esp, 0xc
push 0
push 1
push eax
push edi
call fcn.0044a330
mov ecx, dword [esp + 0x30]
push 1
push ecx
push edi
mov dword [esi + 0x14], eax
call fcn.0044a5b0
mov edx, dword [esp + 0x54]
add esp, 0x1c
push 1
push edx
push edi
mov dword [esi + 0x18], eax
call fcn.0044aa70
add esp, 0xc
cmp dword [esp + 0x14], 0
mov dword [esi + 8], eax
je 0x45d22f
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov ecx, 0x30
call fcn.00423c10
mov esi, eax
test esi, esi
je 0x45d1c7
push 0x30
push 0
push esi
call fcn.004957a0
add esp, 0xc
or ecx, 0xffffffff
mov byte [esi], 0x13
mov word [esi + 0x1e], cx
mov dword [esi + 0x2c], 1
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [esp + 0x48], eax
test esi, esi
jne 0x45d1f1
mov ecx, dword [esp + 0x14]
push ecx
mov edx, eax
push edx
call fcn.0044a1a0
mov eax, dword [esp + 0x50]
push esi
push eax
call fcn.0044a1a0
add esp, 0x10
jmp 0x45d21a
mov eax, dword [esp + 0x14]
mov ecx, 0x100
mov dword [esi + 8], eax
test word [eax + 2], cx
je 0x45d20f
mov edx, ecx
or word [esi + 2], dx
mov eax, dword [eax + 0x14]
mov dword [esi + 0x14], eax
mov ebx, esi
call fcn.00449bb0
mov ebx, dword [esp + 0x50]
push 0
push 1
push esi
push edi
mov dword [esp + 0x24], esi
call fcn.0044a330
add esp, 0x10
mov dword [ebx + 0xc], eax
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov cl, byte [esp + 0x13]
push edx
push edi
mov byte [edi + 0xea], cl
call fcn.0044a1a0
mov eax, dword [esp + 0x1c]
push eax
push edi
call fcn.0044a1a0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0044ad60
mov esi, dword [esp + 0x4c]
add esp, 0x14
test esi, esi
je 0x45d279
push esi
push edi
call fcn.00464d00
push esi
push edi
call fcn.004239e0
add esp, 0x10
cmp byte [edi + 0x1e], 1
jne 0x45d28f
mov eax, edi
call fcn.0045bee0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x3c]
cmp eax, 6
je 0x45d2b5
cmp eax, 9
jne 0x45d2ac
cmp dword [ebp + 0x14], 0
jne 0x45d2ac
mov eax, dword [esp + 0x28]
mov byte [eax], 0x6a
jmp 0x45d2bc
mov eax, dword [esp + 0x28]
mov byte [eax], 0x6b
jmp 0x45d2bc
mov eax, dword [esp + 0x28]
mov byte [eax], 0x74
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x44]
mov dword [ebx + 0x14], edx
mov eax, dword [eax + 0x44]
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x18], eax
setne al
add al, 0x6a
mov dword [ecx + edx*4 + 0x1c], ebx
mov byte [ebx + 8], al
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret