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

Disassembly:
push 0xffffffffffffffff
push 0x51219b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x53c1a4]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
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, 0x51d648
mov dword [esp + 0xc4], eax
call fcn.00406d70
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], bl
call fcn.00417a80
add esp, 4
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, str.Download.db
mov byte [esp + 0xc8], 2
call fcn.00418040
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 0x430575
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x2c]
call fcn.00408a10
mov eax, esi
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0xc8], 4
call fcn.00445600
cmp dword [esp + 0x40], 8
jb 0x4305b7
mov edx, dword [esp + 0x2c]
push edx
call fcn.004ea82f
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 0x4305ee
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 0x430616
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 0x43063d
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.00408a10
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x68]
push eax
mov ecx, esi
mov byte [esp + 0xc8], 5
call fcn.00445930
mov byte [esp + 0xc0], 7
cmp dword [esp + 0x40], 8
jb 0x430694
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ea82f
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.00427c10
add esp, 4
mov byte [esp + 0xc0], 8
mov eax, dword [edi + 0x18]
sub eax, 0x10
call fcn.00404fe0
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 9
call fcn.00415770
lea edi, [esp + 0x24]
call fcn.00421bd0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x5c], eax
call fcn.00404fe0
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0xc0], 0xa
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x430747
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x430a8e
cmp ecx, eax
jg 0x430a8e
movzx eax, word [ebp + ecx*2]
cmp ax, 0x5c
je 0x430747
cmp ax, 0x2f
je 0x430747
mov edx, 0x51faf0
lea edi, [esp + 0x1c]
call fcn.00417f00
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 0x430979
xor ebp, ebp
cmp edi, eax
jb 0x43077b
call fcn.004ea9f7
mov esi, dword [esp + 0x50]
cmp dword [esi + ebp + 0x18], 8
jb 0x430788
mov ecx, dword [esi + ebp + 4]
jmp 0x43078c
lea ecx, [esi + ebp + 4]
lea edx, [esp + 0x18]
push edx
call fcn.00406d70
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 0xb
call fcn.00415770
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 0x4307ce
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.00407670
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call fcn.004ecbdd
add esp, 8
cmp esi, ebx
jl 0x430a8e
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x430a8e
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 0x430a84
mov eax, dword [esp + 0x24]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43083c
cmp dx, bx
je 0x430838
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43083c
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x430816
xor eax, eax
jmp 0x430841
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
cmp al, bl
je 0x430856
mov byte [0x54834d], 1
jmp 0x430928
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x430928
cmp dword [esi - 0xc], ebx
jl 0x430928
push eax
push esi
call fcn.004ec997
add esp, 8
cmp eax, ebx
je 0x430924
mov esi, dword [esp + 0x18]
sub eax, esi
sar eax, 1
jne 0x430928
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
cmp esi, ebx
je 0x430924
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00406d70
mov byte [esp + 0xc0], 0xc
mov edx, dword [esp + 0x20]
xor ecx, ecx
push edx
mov word [esi], cx
call fcn.004160b0
add esp, 4
test eax, eax
je 0x4308ea
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
call fcn.00435c90
add esp, 4
test al, al
je 0x4308ea
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00416480
add esp, 4
jmp 0x4308fc
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.004176f0
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 0x430924
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 0x43094c
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 0x43077b
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x64]
call fcn.00445700
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 0x4309a6
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 0x4309cb
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 0x4309f1
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
push ecx
call fcn.0040eef0
mov edx, dword [esp + 0x54]
add esp, 4
push edx
call fcn.004ea82f
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.004ea82f
add esp, 4
cmp dword [esp + 0xb0], 8
jb 0x430a24
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004ea82f
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.00445570
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.004ea83a
add esp, 0xb0
ret
push 0x80004005
call fcn.00402a90
push 0x80070057
call fcn.00402a90
int3