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

Disassembly:
push 0xffffffffffffffff
push 0x51194b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x53a1a4]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53a1a4]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor eax, eax
mov edi, ecx
xor ecx, ecx
mov ebx, 1
mov dword [esp + 0x68], vtable.CSQLite3DB.0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0xea60
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], eax
mov word [esp + 0x78], cx
mov byte [esp + 0x90], al
mov dword [esp + 0x64], vtable.SettingDB.0
mov dword [esp + 0x94], ebx
lea edx, [esp + 0x20]
push edx
mov ecx, 0x51c648
mov dword [esp + 0xc4], eax
call fcn.00406c40
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], bl
call fcn.00417520
add esp, 4
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, str.Download.db
mov byte [esp + 0xc8], 2
call fcn.00417ae0
add esp, 8
mov byte [esp + 0xc0], 3
mov eax, dword [eax]
xor ebx, ebx
mov ebp, 7
xor edx, edx
mov ecx, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x42ff85
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x2c]
call fcn.004133e0
mov eax, esi
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0xc8], 4
call fcn.00444e30
cmp dword [esp + 0x40], 8
jb 0x42ffc7
mov edx, dword [esp + 0x2c]
push edx
call fcn.004ea0ff
add esp, 4
xor eax, eax
mov word [esp + 0x2c], ax
mov byte [esp + 0xc0], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fffe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430026
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43004d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
push 0x11
mov eax, str.download_dir_list
lea esi, [esp + 0x2c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], cx
call fcn.004133e0
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x68]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 5
call fcn.00445220
mov byte [esp + 0xc0], 7
cmp dword [esp + 0x40], 8
jb 0x4300a4
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ea0ff
add esp, 4
lea eax, [esp + 0x44]
xor edx, edx
push eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
call fcn.00427790
add esp, 4
mov byte [esp + 0xc0], 8
mov eax, dword [edi + 0x18]
sub eax, 0x10
call fcn.00404eb0
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 9
call fcn.00415210
lea edi, [esp + 0x24]
call fcn.00421580
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x5c], eax
call fcn.00404eb0
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0xc0], 0xa
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x430157
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x43049e
cmp ecx, eax
jg 0x43049e
movzx eax, word [ebp + ecx*2]
cmp ax, 0x5c
je 0x430157
cmp ax, 0x2f
je 0x430157
mov edx, 0x51eac0
lea edi, [esp + 0x1c]
call fcn.004179a0
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x430389
xor ebp, ebp
cmp edi, eax
jb 0x43018b
call fcn.004ea2c7
mov esi, dword [esp + 0x50]
cmp dword [esi + ebp + 0x18], 8
jb 0x430198
mov ecx, dword [esi + ebp + 4]
jmp 0x43019c
lea ecx, [esi + ebp + 4]
lea edx, [esp + 0x18]
push edx
call fcn.00406c40
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 0xb
call fcn.00415210
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4301de
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.00407610
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call fcn.004ec4ad
add esp, 8
cmp esi, ebx
jl 0x43049e
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x43049e
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [edx + esi*2], cx
mov esi, dword [esp + 0x18]
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
je 0x430494
mov eax, dword [esp + 0x24]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43024c
cmp dx, bx
je 0x430248
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43024c
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x430226
xor eax, eax
jmp 0x430251
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
cmp al, bl
je 0x430266
mov byte [0x54634d], 1
jmp 0x430338
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x430338
cmp dword [esi - 0xc], ebx
jl 0x430338
push eax
push esi
call fcn.004ec267
add esp, 8
cmp eax, ebx
je 0x430334
mov esi, dword [esp + 0x18]
sub eax, esi
sar eax, 1
jne 0x430338
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
cmp esi, ebx
je 0x430334
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00406c40
mov byte [esp + 0xc0], 0xc
mov edx, dword [esp + 0x20]
xor ecx, ecx
push edx
mov word [esi], cx
call fcn.00415b50
add esp, 4
test eax, eax
je 0x4302fa
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
call fcn.00435540
add esp, 4
test al, al
je 0x4302fa
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00415f20
add esp, 4
jmp 0x43030c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.00417190
add esp, 8
mov byte [esp + 0xc0], 0xb
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430334
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
lea eax, [esi - 0x10]
mov byte [esp + 0xc0], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43035c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebp, 0x1c
cmp edi, eax
jb 0x43018b
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x64]
call fcn.00444f30
lea eax, [ebp - 0x10]
mov byte [esp + 0xc0], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4303b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x5c]
mov byte [esp + 0xc0], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4303db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x430401
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
push ecx
call fcn.0040e210
mov edx, dword [esp + 0x54]
add esp, 4
push edx
call fcn.004ea0ff
add esp, 4
mov eax, dword [esp + 0x44]
push eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call fcn.004ea0ff
add esp, 4
cmp dword [esp + 0xb0], 8
jb 0x430434
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004ea0ff
add esp, 4
xor edx, edx
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x64]
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], dx
mov dword [esp + 0x64], vtable.SettingDB.0
call fcn.00444da0
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004ea10a
add esp, 0xb0
ret
push 0x80004005
call fcn.004029f0
push 0x80070057
call fcn.004029f0
int3