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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], esi
test edi, edi
jne 0x42d467
cmp byte [esi], 0
jne 0x42d45e
mov dl, byte [esi + 1]
test dl, 2
je 0x42d45e
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov edi, dword [ebp + 0xc]
cmp ecx, ebx
jne 0x42d402
cmp eax, edi
jne 0x42d404
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 0x42d45e
jl 0x42d40c
cmp ecx, ebx
jae 0x42d45e
test dl, 8
jne 0x42d4d9
add ecx, 1
adc eax, 0
cmp ecx, ebx
jne 0x42d45e
cmp eax, edi
jne 0x42d45e
mov eax, dword [ebp + 0x14]
push 0
push esi
mov dword [eax], 0
call fcn.0042daa0
add esp, 8
test eax, eax
jne 0x42d455
mov ecx, esi
call fcn.0042c970
cmp dword [esi + 0x20], ebx
jne 0x42d45e
cmp dword [esi + 0x24], edi
jne 0x42d45e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x65
jne 0x42d8d9
mov dword [ebp - 0x14], 0
jmp 0x42d4c5
mov edx, dword [edi]
cmp word [edx + 8], 0xd
ja 0x42d4ba
mov eax, dword [edi + 4]
movzx ebx, word [eax + 8]
mov eax, dword [edx + 0x10]
mov al, byte [eax]
test al, al
sete cl
test al, al
setne al
lea ecx, [ecx*2 - 1]
lea eax, [eax*2 - 1]
mov byte [edi + 0xc], al
mov byte [edi + 0xd], cl
test bl, 4
je 0x42d4a8
mov dword [ebp - 0x14], 0x43b570
jmp 0x42d4c1
test bl, 0x39
jne 0x42d4ba
cmp dword [edx + 0x14], 0
mov dword [ebp - 0x14], 0x43b7a0
je 0x42d4c1
mov dword [ebp - 0x14], 0x43b550
mov byte [edi + 0xb], 0
mov ecx, esi
call fcn.0042d020
test eax, eax
je 0x42d4eb
cmp eax, 0x10
jne 0x42d8d9
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 edx, 1
lea edi, [esi + 0x74]
sub edx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
nop dword [eax]
mov ecx, dword [edi]
xor eax, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], eax
movzx ebx, word [ecx + 0x18]
mov ecx, edx
dec ebx
mov edi, ebx
mov dword [ebp - 0x24], ebx
sar edi, cl
cmp dword [ebp - 0x14], 0
mov word [esi + 0x46], di
mov esi, dword [ebp - 0xc]
lea eax, [esi + 0x40]
lea edx, [esi + 0x1a]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], edx
jne 0x42d630
movzx edx, word [edx]
mov cl, byte [esi + 3]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov byte [ebp - 1], cl
mov ax, word [eax + edi*2]
mov ch, al
mov cl, ah
movzx eax, dx
movzx ecx, cx
and ecx, eax
add ecx, dword [esi + 0x44]
cmp byte [ebp - 1], 0
je 0x42d576
cmp byte [ecx], 0x80
jb 0x42d575
mov eax, dword [esi + 0x3c]
inc ecx
cmp ecx, eax
jae 0x42d7e9
cmp byte [ecx], 0x80
jae 0x42d567
inc ecx
lea edx, [ebp - 0x38]
call fcn.00419e10
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
cmp ecx, dword [ebp + 0xc]
jg 0x42d5d9
jl 0x42d592
mov edx, dword [ebp + 8]
cmp eax, edx
jae 0x42d5dc
lea edx, [edi + 1]
mov dword [ebp - 0x18], edx
cmp edx, ebx
jle 0x42d5f1
mov ebx, dword [ebp - 0x10]
or esi, 0xffffffff
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 8]
cmp byte [eax + 8], 0
jne 0x42d841
mov esi, eax
mov edi, dword [ebp - 0x10]
movzx eax, word [esi + 0x18]
cmp edx, eax
jl 0x42d76b
movzx ecx, byte [esi + 9]
mov eax, dword [esi + 0x38]
mov edx, dword [ecx + eax + 8]
jmp 0x42d783
mov edx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
jl 0x42d60e
jg 0x42d5e7
cmp eax, edx
jbe 0x42d60e
mov edx, dword [ebp - 0x18]
lea ebx, [edi - 1]
cmp edx, ebx
jg 0x42d601
mov eax, dword [ebp - 0x24]
lea edi, [ebx + edx]
mov edx, dword [ebp - 0x28]
sar edi, 1
jmp 0x42d546
mov eax, dword [ebp - 0x10]
mov esi, 1
mov dword [ebp - 0x10], eax
jmp 0x42d5a5
mov ebx, dword [ebp - 8]
mov word [ebx + 0x46], di
cmp byte [esi + 8], 0
jne 0x42d813
mov ecx, dword [ebp - 0x1c]
mov edx, edi
mov dword [ebp - 0x18], edx
jmp 0x42d5ba
mov eax, dword [eax]
mov ax, word [eax + edi*2]
mov ch, al
mov cl, ah
movzx eax, word [edx]
movzx ecx, cx
and ecx, eax
mov eax, dword [ebp - 0xc]
add ecx, dword [esi + 0x44]
movzx eax, byte [eax + 0xb]
movzx edx, byte [ecx]
lea esi, [ecx + 1]
cmp edx, eax
ja 0x42d665
push dword [ebp - 0x20]
push esi
push edx
call dword [ebp - 0x14]
mov esi, eax
jmp 0x42d732
mov al, byte [esi]
test al, al
js 0x42d693
and edx, 0x7f
movzx eax, al
shl edx, 7
add edx, eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0xe]
cmp edx, eax
ja 0x42d693
push dword [ebp - 0x20]
lea eax, [ecx + 2]
push eax
push edx
call dword [ebp - 0x14]
mov esi, eax
jmp 0x42d732
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
movzx eax, byte [edx + 0xa]
lea esi, [ebx + 0x20]
sub ecx, eax
mov eax, dword [edx + 0x50]
push esi
push ecx
push edx
call eax
mov esi, dword [esi]
add esp, 0xc
cmp esi, 2
jl 0x42d8b0
mov ecx, dword [ebx + 0x14]
xor edx, edx
mov eax, esi
div dword [ecx + 0x24]
cmp eax, dword [ecx + 0x2c]
ja 0x42d8b0
lea eax, [esi + 0x12]
cdq
push edx
push eax
call fcn.00415750
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42d89b
mov eax, dword [ebp - 8]
xor edx, edx
push 0
push ebx
push esi
mov ecx, eax
mov word [eax + 0x46], di
call fcn.0042cbf0
mov ecx, dword [ebp - 8]
xorps xmm0, xmm0
movups xmmword [ebx + esi], xmm0
mov word [ebx + esi + 0x10], 0
add esp, 0xc
mov dword [ebp - 0x28], eax
and byte [ecx + 1], 0xfb
test eax, eax
jne 0x42d87f
push eax
push dword [ebp - 0x20]
mov edx, ebx
mov ecx, esi
call fcn.0043ac30
push ebx
mov esi, eax
call fcn.00415930
mov ebx, dword [ebp - 0x24]
add esp, 0xc
test esi, esi
jns 0x42d741
lea edx, [edi + 1]
mov dword [ebp - 0x18], edx
jmp 0x42d750
jle 0x42d859
mov edx, dword [ebp - 0x18]
lea ebx, [edi - 1]
mov dword [ebp - 0x24], ebx
cmp edx, ebx
jg 0x42d5a5
mov esi, dword [ebp - 0xc]
lea edi, [ebx + edx]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
sar edi, 1
jmp 0x42d630
mov eax, dword [ecx]
mov ax, word [eax + edx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi]
movzx ecx, cx
and ecx, eax
mov eax, dword [esi + 0x38]
mov edx, dword [ecx + eax]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebx + 0x14]
movzx ecx, ax
mov al, byte [ebx + 0x44]
mov word [ebx + 0x46], cx
cmp al, 0x13
jge 0x42d835
and byte [ebx + 1], 0xf9
xor edi, edi
movsx eax, al
mov word [ebx + 0x32], di
lea edi, [ebx + 0x74]
bswap edx
mov word [ebx + eax*2 + 0x48], cx
movsx ecx, byte [ebx + 0x44]
mov eax, dword [edi]
mov dword [ebx + ecx*4 + 0x78], eax
xor eax, eax
inc byte [ebx + 0x44]
mov ecx, esi
mov word [ebx + 0x46], ax
movzx eax, byte [ebx + 2]
push eax
push ebx
push edi
call fcn.00429fa0
add esp, 0xc
test eax, eax
jne 0x42d8d3
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0x2c]
jmp 0x42d500
push 0x501214
push 0x10c69
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00418680
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or byte [ebx + 1], 2
mov dword [ebx + 0x20], eax
xor eax, eax
mov word [ebx + 0x32], ax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x24], ecx
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x501214
push 0x10acd
jmp 0x42d8ba
mov eax, dword [ebp + 0x14]
mov word [ebx + 0x46], di
mov dword [eax], esi
xor eax, eax
xor ecx, ecx
mov word [ebx + 0x32], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax], 0
xor eax, eax
mov word [ebx + 0x46], di
cmp byte [ecx + 0xb], al
je 0x42d8d3
push 0x501214
push 0x10cd4
jmp 0x42d8ba
push ebx
call fcn.00415930
mov ebx, dword [ebp - 8]
add esp, 4
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [ebx + 0x32], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 8]
xor ecx, ecx
mov eax, 7
mov word [ebx + 0x32], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x501214
push 0x10cb4
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00418680
add esp, 0x14
mov eax, 0xb
xor ecx, ecx
mov word [ebx + 0x32], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret