Function at 0x423760
Capabilities:
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489924
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x4ac13c]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x4a0]
mov dword fs:[0], eax
push 0x171
push str.CDownloader::HandleUnInit
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xa0]
mov edi, ecx
push 0x3fc
xor esi, esi
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], esi
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0x94]
push ecx
call dword [0x491350]
cmp byte [edi + 0x64], 0
je 0x423c1c
lea edx, [esp + 0x38]
push edx
call fcn.00435a40
add esp, 4
mov eax, dword [eax]
push 1
push edi
mov ecx, eax
mov dword [esp + 0x4b0], esi
call fcn.004328c0
mov eax, dword [esp + 0x3c]
cmp eax, esi
mov dword [esp + 0x4a8], 0xffffffff
je 0x423847
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x423847
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x423847
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea eax, [edi + 0x5c8]
push eax
lea ecx, [esp + 0x30]
call fcn.0041f2e0
mov eax, dword [esp + 0x30]
mov ebx, dword [eax]
lea esi, [esp + 0x2c]
mov dword [esp + 0x4a8], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], esi
test esi, esi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x50], ecx
je 0x423888
lea edx, [esp + 0x2c]
cmp esi, edx
je 0x42388d
call fcn.0045c852
cmp ebx, dword [esp + 0x50]
je 0x423b1c
test esi, esi
jne 0x4238a0
call fcn.0045c852
cmp ebx, dword [esi + 4]
jne 0x4238aa
call fcn.0045c852
push 8
push 0
lea ecx, [ebx + 0xc]
push str..torrent
mov dword [esp + 0x30], ecx
call fcn.00404350
mov esi, eax
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], eax
mov word [esp + 0x7c], ax
cmp esi, 0xffffffff
mov byte [esp + 0x4a8], 2
je 0x42393d
mov eax, dword [esp + 0x1c]
cmp ebx, dword [eax + 4]
jne 0x4238f5
call fcn.0045c852
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x78]
push ecx
push edx
call fcn.0044bae0
add esp, 8
cmp esi, 0xffffffff
je 0x42393d
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x60]
call fcn.0041bcb0
or dword [esp + 0x18], 1
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x4ac], 3
call fcn.00420960
add esp, 4
test al, al
mov byte [esp + 0x17], 1
jne 0x423942
mov byte [esp + 0x17], 0
test byte [esp + 0x18], 1
mov dword [esp + 0x4a8], 2
je 0x42396d
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x74], 8
jb 0x42396d
mov edx, dword [esp + 0x60]
push edx
call fcn.00451fd9
add esp, 4
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x1c]
je 0x423a02
cmp ebx, dword [eax + 4]
jne 0x423986
call fcn.0045c852
mov ecx, dword [ebx + 0x28]
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x4c], ecx
call fcn.00435a40
add esp, 4
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push 4
lea edx, [esp + 0x4c]
push edx
push edi
push 0x1c
mov byte [esp + 0x4b8], 4
call eax
mov eax, dword [esp + 0x58]
test eax, eax
mov byte [esp + 0x4a8], 2
je 0x423ae7
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x423ae7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x423ae7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
jmp 0x423ae7
cmp ebx, dword [eax + 4]
jne 0x423a0c
call fcn.0045c852
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
lea ebx, [edi + 0x5c8]
push edx
mov ecx, ebx
call fcn.00418960
mov edi, dword [esp + 0x38]
test edi, edi
mov esi, dword [ebx + 4]
je 0x423a32
cmp edi, ebx
je 0x423a37
call fcn.0045c852
mov ebx, dword [esp + 0x3c]
cmp ebx, esi
je 0x423ae3
lea eax, [esp + 0x40]
push eax
call fcn.00435a40
add esp, 4
test edi, edi
mov esi, dword [eax]
mov byte [esp + 0x4a8], 5
jne 0x423a63
call fcn.0045c852
cmp ebx, dword [edi + 4]
jne 0x423a6d
call fcn.0045c852
mov edi, dword [esp + 0x28]
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 4
add ebx, 0x28
push ebx
push edi
push 3
mov ecx, esi
call eax
mov eax, dword [esp + 0x44]
test eax, eax
mov byte [esp + 0x4a8], 2
je 0x423abf
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x423abf
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x423abf
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx + 4]
jne 0x423ad1
call fcn.0045c852
mov edx, dword [esp + 0x24]
push edx
lea ecx, [edi + 0x5c8]
call fcn.0041f370
jmp 0x423ae7
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x90], 8
mov byte [esp + 0x4a8], 1
jb 0x423b06
mov eax, dword [esp + 0x7c]
push eax
call fcn.00451fd9
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.004171d0
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x423874
mov ecx, dword [edi + 0x5cc]
mov edx, dword [ecx + 4]
lea esi, [edi + 0x5c8]
push edx
mov ecx, esi
call fcn.0041bd20
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
lea eax, [esp + 0x40]
push eax
call fcn.00435a40
add esp, 4
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 0x48c
lea eax, [edi + 0xf2]
push eax
push edi
push 9
mov byte [esp + 0x4b8], 6
call edx
mov eax, dword [esp + 0x44]
test eax, eax
mov byte [esp + 0x4a8], 1
je 0x423bb4
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x423bb4
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x423bb4
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x19c
push str.CDownloader::HandleUnInit
push str.MINIDL__s_Line:__d_n
lea eax, [esp + 0xa0]
push 0x3fc
push eax
call fcn.0045c9a6
add esp, 0x14
lea ecx, [esp + 0x94]
push ecx
call dword [0x491350]
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [edi + 0x64], 0
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x4bc], 0xffffffff
call fcn.0041f3e0
mov eax, dword [esp + 0x30]
push eax
call fcn.00451fd9
add esp, 4
mov ecx, dword [esp + 0x4a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.0045b7a6
mov esp, ebp
pop ebp
ret