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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], ebx
push edi
test esi, esi
jne 0x42acba
cmp byte [ebx], dl
jne 0x42acb1
mov dl, byte [ebx + 1]
test dl, 2
je 0x42acb1
mov ecx, dword [ebx + 0x20]
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x24]
mov edi, dword [ebp + 0xc]
cmp ecx, esi
jne 0x42ac55
cmp eax, edi
jne 0x42ac57
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, edi
jg 0x42acb1
jl 0x42ac5f
cmp ecx, esi
jae 0x42acb1
test dl, 8
jne 0x42ad24
add ecx, 1
adc eax, 0
cmp ecx, esi
jne 0x42acb1
cmp eax, edi
jne 0x42acb1
mov eax, dword [ebp + 0x14]
push 0
push ebx
mov dword [eax], 0
call fcn.0042b350
add esp, 8
test eax, eax
jne 0x42aca8
mov ecx, ebx
call fcn.0042a1d0
cmp dword [ebx + 0x20], esi
jne 0x42acb1
cmp dword [ebx + 0x24], edi
jne 0x42acb1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x65
jne 0x42b184
mov dword [ebp - 0xc], 0
jmp 0x42ad10
mov ecx, dword [esi]
cmp word [ecx + 8], 0xd
ja 0x42ad05
mov eax, dword [esi + 4]
movzx edx, word [eax + 8]
mov eax, dword [ecx + 0x10]
mov al, byte [eax]
test al, al
je 0x42acdf
test al, 2
jne 0x42ad05
mov word [esi + 0xc], 0xff01
jmp 0x42ace5
mov word [esi + 0xc], 0x1ff
test dl, 4
je 0x42acf3
mov dword [ebp - 0xc], 0x438c60
jmp 0x42ad0c
test dl, 0x39
jne 0x42ad05
cmp dword [ecx + 0x14], 0
mov dword [ebp - 0xc], 0x438e90
je 0x42ad0c
mov dword [ebp - 0xc], 0x438c40
mov byte [esi + 0xb], 0
mov ecx, ebx
call fcn.0042a880
test eax, eax
je 0x42ad36
cmp eax, 0x10
jne 0x42b184
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
sub eax, dword [ebp + 0x10]
add ebx, 0x74
mov dword [ebp - 0x28], eax
mov edi, dword [ebx]
xor esi, esi
mov dword [ebp - 0x10], esi
mov ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], edi
movzx esi, word [edi + 0x18]
dec esi
mov ebx, esi
mov dword [ebp - 0x20], esi
sar ebx, cl
cmp dword [ebp - 0xc], 0
mov word [eax + 0x46], bx
jne 0x42ae44
mov cl, byte [edi + 3]
mov byte [ebp - 1], cl
mov eax, dword [edi + 0x40]
movzx edx, word [edi + 0x1a]
mov ax, word [eax + ebx*2]
mov ch, al
mov cl, ah
movzx eax, dx
movzx ecx, cx
and ecx, eax
add ecx, dword [edi + 0x44]
cmp byte [ebp - 1], 0
je 0x42adaf
cmp byte [ecx], 0x80
jb 0x42adae
mov eax, dword [edi + 0x3c]
nop dword [eax + eax]
inc ecx
cmp ecx, eax
jae 0x42b05b
cmp byte [ecx], 0x80
jae 0x42ada0
inc ecx
lea edx, [ebp - 0x30]
call fcn.00416350
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0xc]
jg 0x42ae03
jl 0x42adcb
mov edx, dword [ebp + 8]
cmp eax, edx
jae 0x42ae06
lea edx, [ebx + 1]
mov dword [ebp - 0x10], edx
cmp edx, esi
jle 0x42ae1b
or edi, 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 8], 0
jne 0x42b0b6
mov edi, eax
movzx eax, word [edi + 0x18]
cmp edx, eax
jl 0x42afde
movzx ecx, byte [edi + 9]
mov eax, dword [edi + 0x38]
mov edx, dword [ecx + eax + 8]
jmp 0x42aff8
mov edx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
jl 0x42ae2c
jg 0x42ae11
cmp eax, edx
jbe 0x42ae2c
mov edx, dword [ebp - 0x10]
lea esi, [ebx - 1]
cmp edx, esi
jg 0x42ae25
lea ebx, [esi + edx]
sar ebx, 1
jmp 0x42ad73
mov edi, 1
jmp 0x42add8
mov edx, dword [ebp - 8]
mov word [edx + 0x46], bx
cmp byte [edi + 8], 0
jne 0x42b085
mov edx, ebx
mov dword [ebp - 0x10], edx
jmp 0x42ade7
mov eax, dword [edi + 0x40]
mov ax, word [eax + ebx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x1a]
movzx ecx, cx
and ecx, eax
movzx eax, byte [edi + 0xb]
add ecx, dword [edi + 0x44]
movzx edx, byte [ecx]
cmp edx, eax
ja 0x42ae78
push dword [ebp - 0x14]
lea eax, [ecx + 1]
push eax
push edx
call dword [ebp - 0xc]
mov edi, eax
jmp 0x42afab
mov al, byte [ecx + 1]
test al, al
js 0x42aea4
and edx, 0x7f
movzx eax, al
shl edx, 7
add edx, eax
movzx eax, word [edi + 0xe]
cmp edx, eax
ja 0x42aea4
push dword [ebp - 0x14]
lea eax, [ecx + 2]
push eax
push edx
call dword [ebp - 0xc]
mov edi, eax
jmp 0x42afab
mov esi, dword [ebp - 8]
movzx eax, byte [edi + 0xa]
add esi, 0x20
sub ecx, eax
mov eax, dword [edi + 0x50]
push esi
push ecx
push edi
call eax
mov edi, dword [esi]
add esp, 0xc
mov dword [ebp - 0x24], edi
cmp edi, 2
jl 0x42b156
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, dword [eax + 0x14]
mov eax, edi
div dword [ecx + 0x28]
cmp eax, dword [ecx + 0x30]
ja 0x42b156
lea eax, [edi + 0x12]
cdq
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x42b13f
test edx, edx
ja 0x42b13f
jb 0x42af05
cmp esi, 0x7fffff00
jae 0x42b13f
cmp dword [0x4ed248], 0
je 0x42af45
mov eax, dword [0x4ef5d0]
test eax, eax
je 0x42af21
push eax
call dword [0x4ed298]
add esp, 4
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.00411ae0
mov eax, dword [0x4ef5d0]
test eax, eax
je 0x42af40
push eax
call dword [0x4ed2a0]
mov esi, dword [ebp - 0x18]
jmp 0x42af51
mov esi, dword [ebp - 0x18]
jmp 0x42af54
push esi
call dword [0x4ed268]
mov esi, eax
mov dword [ebp - 0x18], esi
add esp, 4
test esi, esi
je 0x42b13f
mov eax, dword [ebp - 8]
xor edx, edx
push 0
push esi
push edi
mov ecx, eax
mov word [eax + 0x46], bx
call fcn.0042a380
mov ecx, dword [ebp - 0x24]
mov edi, eax
mov eax, dword [ebp - 8]
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [esi + ecx], xmm0
mov word [esi + ecx + 0x10], 0
and byte [eax + 1], 0xfb
test edi, edi
jne 0x42b124
push edi
push dword [ebp - 0x14]
mov edx, esi
call fcn.004385e0
push esi
mov edi, eax
call fcn.00411d50
mov esi, dword [ebp - 0x20]
add esp, 0xc
test edi, edi
jns 0x42afba
lea edx, [ebx + 1]
mov dword [ebp - 0x10], edx
jmp 0x42afc9
jle 0x42b0d3
mov edx, dword [ebp - 0x10]
lea esi, [ebx - 1]
mov dword [ebp - 0x20], esi
cmp edx, esi
jg 0x42add8
mov edi, dword [ebp - 0x1c]
lea ebx, [esi + edx]
sar ebx, 1
jmp 0x42ae44
mov eax, dword [edi + 0x40]
mov ax, word [eax + edx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [edi + 0x38]
mov edx, dword [ecx + eax]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
bswap edx
mov al, byte [edi + 0x44]
mov ecx, dword [edi + 0x14]
mov word [edi + 0x46], si
cmp al, 0x13
jge 0x42b0a7
and byte [edi + 1], 0xf9
xor ebx, ebx
movsx eax, al
mov word [edi + 0x32], bx
lea ebx, [edi + 0x74]
mov word [edi + eax*2 + 0x48], si
movsx esi, byte [edi + 0x44]
mov eax, dword [ebx]
mov dword [edi + esi*4 + 0x78], eax
xor eax, eax
inc byte [edi + 0x44]
mov word [edi + 0x46], ax
movzx eax, byte [edi + 2]
push eax
push edi
push ebx
call fcn.004278e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x42b179
mov eax, dword [ebp - 0x28]
jmp 0x42ad44
push 0x4e7f64
push 0x11268
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00414780
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or byte [edx + 1], 2
mov dword [edx + 0x20], eax
xor eax, eax
mov word [edx + 0x32], ax
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x24], ecx
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4e7f64
push 0x110c8
jmp 0x42b160
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp - 8]
mov dword [eax], edi
xor edi, edi
xor eax, eax
mov word [esi + 0x46], bx
mov word [esi + 0x32], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
xor edi, edi
mov esi, dword [ebp - 8]
mov dword [eax], 0
mov eax, dword [ebp - 0x14]
mov word [esi + 0x46], bx
cmp byte [eax + 0xb], 0
je 0x42b17c
push 0x4e7f64
push 0x112d3
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00414780
add esp, 0x14
mov edi, 0xb
xor eax, eax
mov word [esi + 0x32], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00411d50
mov esi, dword [ebp - 8]
add esp, 4
xor eax, eax
mov word [esi + 0x32], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 8]
xor eax, eax
mov edi, 7
mov word [esi + 0x32], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4e7f64
push 0x112b3
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00414780
mov edi, 0xb
add esp, 0x14
mov esi, dword [ebp - 8]
xor eax, eax
mov word [esi + 0x32], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret