Function at 0x10003340
Capabilities:
Copy file
Delete file
Get common file path
Initialize winhttp library
Prepare http request
Receive http response
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov eax, 0x16a4
mov ebp, esp
push edi
push esi
push ebx
push ecx
call fcn.10009628
lea ecx, [ebp + 8]
sub esp, eax
lea esi, [ebp - 0x1628]
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [esp + 4], esi
mov dword [esp], 0x104
mov dword [ebp - 0x1670], eax
call dword [sym.imp.kernel32.dll_GetTempPathW]
sub esp, 8
test eax, eax
jne 0x100033c0
test byte [0x1000a04c], 2
jne 0x100036b8
mov eax, dword [ebp - 0x1670]
mov dword [esp + 8], 5
xor esi, esi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._transitionJobState
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x1420]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0x1000c682
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
sub esp, 0x10
test eax, eax
jne 0x10003430
test byte [0x1000a04c], 2
je 0x1000338c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Couldnt_create_temp_file:__ld_n
mov dword [esp + 8], str.processFile
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000338c
mov eax, dword [ebp - 0x1670]
lea esi, [eax + 0x58]
mov eax, dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebp - 0x167c], esi
mov dword [ebp - 0x1674], eax
mov dword [esp], esi
call eax
mov eax, dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov dword [ebx + 0x20], 0
movdqu xmm0, xmmword [0x1000c980]
sub esp, 4
mov dword [ebp - 0x1678], eax
movups xmmword [ebx + 0x10], xmm0
mov dword [esp], esi
call eax
sub esp, 4
test byte [0x1000a04c], 8
jne 0x100036f0
lea eax, [ebp - 0x1218]
mov dword [esp + 8], 0
xor edx, edx
mov dword [ebp - 0x1654], eax
lea eax, [ebp - 0x1664]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1664], 0x3c
mov dword [ebp - 0x1658], 0
mov dword [ebp - 0x1660], 0
mov dword [ebp - 0x165c], 0
mov dword [ebp - 0x1648], 0
mov dword [ebp - 0x1644], 0
mov dword [ebp - 0x1640], 0
mov dword [ebp - 0x163c], 0
mov dword [ebp - 0x1650], 0x104
mov word [ebp - 0x164c], dx
mov dword [ebp - 0x1638], 0
mov dword [ebp - 0x1634], 0xffffffff
mov dword [ebp - 0x1630], 0
mov dword [ebp - 0x162c], 0
mov dword [esp], eax
call dword [sym.imp.winhttp.dll_WinHttpCrackUrl]
sub esp, 0x10
test eax, eax
jne 0x100037e0
test byte [0x1000a04c], 8
jne 0x10003980
mov esi, dword [ebx + 0x238]
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._transitionJobState
mov edx, dword [ebx + 8]
cmp word [edx], 0
je 0x1000359c
mov eax, edx
nop
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10003588
sub eax, edx
cmp eax, 0xe
jg 0x100039b0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], sym._progress_callback_local_52
mov dword [esp + 4], edi
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CopyFileExW]
sub esp, 0x18
test eax, eax
jne 0x10003960
test byte [0x1000a04c], 4
jne 0x100042f0
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], esi
call sym._transitionJobState
mov eax, dword [esi + 0x134]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEvent]
sub esp, 4
test byte [0x1000a04c], 4
jne 0x100042c0
mov eax, dword [ebp - 0x1670]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._transitionJobState
test eax, eax
jne 0x1000365e
mov eax, dword [ebp - 0x1670]
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call sym._transitionJobState
mov esi, eax
test eax, eax
je 0x100039e0
xor eax, eax
movzx edx, word [edi + eax]
mov word [ebx + eax + 0x28], dx
add eax, 2
test dx, dx
jne 0x10003660
mov edi, dword [ebp - 0x167c]
mov eax, dword [ebp - 0x1674]
mov esi, 1
mov dword [esp], edi
call eax
mov eax, dword [ebp - 0x1670]
mov dword [ebx + 0x20], 1
sub esp, 4
add dword [eax + 0x44], 1
mov eax, dword [ebp - 0x1678]
mov dword [esp], edi
call eax
mov eax, esi
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Couldnt_create_temp_file_name:__ld_n
mov dword [esp + 8], str.processFile
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000338c
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x100043ba
mov eax, esi
shr eax, 0x10
je 0x10003db0
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x1684], 0x1000c547
sub esp, 8
test eax, eax
jne 0x10003dc9
cmp word [esi], 0
je 0x10004415
lea esi, [esi]
lea edi, [edi]
mov edx, eax
lea eax, [eax + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x10003740
mov eax, 0x224c
mov dword [ebp - 0x1680], ebx
lea ecx, [ebp - 0x100e]
mov word [ebp - 0x1010], ax
jmp 0x100037ab
cmp ax, 9
je 0x100041a8
cmp ax, 0xa
jne 0x100041c6
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x10004330
lea ebx, [ebp - 0xeee]
cmp ecx, ebx
ja 0x10004330
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x10004190
jbe 0x10003770
cmp ax, 0x22
je 0x10004220
cmp ax, 0x5c
jne 0x100041b9
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10003790
mov ecx, dword [ebx + 0x238]
mov dword [esp + 8], 1
xor eax, eax
mov dword [esp + 4], 0
cmp dword [ebp - 0x1658], 2
mov dword [esp], ecx
sete al
mov dword [ebp - 0x1684], ecx
mov esi, eax
mov dword [ebp - 0x166c], ebx
shl esi, 0x17
call sym._transitionJobState
mov dword [esp + 0x10], 0x10000000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.winhttp.dll_WinHttpOpen]
mov dword [ebp - 0x1680], eax
sub esp, 0x14
test eax, eax
je 0x10003928
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x17e0000
mov dword [esp + 4], sym._progress_callback_http_20
mov dword [esp], eax
call dword [sym.imp.winhttp.dll_WinHttpSetStatusCallback]
lea eax, [ebp - 0x166c]
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1680]
mov dword [esp + 0xc], 4
mov dword [esp + 4], 0x2d
mov dword [esp], eax
call dword [sym.imp.winhttp.dll_WinHttpSetOption]
sub esp, 0x10
test eax, eax
jne 0x100039f8
mov dword [ebp - 0x1688], 0
xor esi, esi
mov dword [esp], esi
mov esi, dword [sym.imp.winhttp.dll_WinHttpCloseHandle]
call esi
mov eax, dword [ebp - 0x1688]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x1680]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x1684]
sub esp, 4
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._transitionJobState
test eax, eax
je 0x10004436
mov eax, dword [ebp - 0x1684]
mov eax, dword [eax + 0x134]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEvent]
sub esp, 4
lea esi, [esi]
test byte [0x1000a04c], 4
je 0x10003614
mov dword [esp + 0xc], str.HTTP_transfer_failed_n
mov dword [esp + 8], str.processFile
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x10003614
mov eax, dword [esi + 0x134]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEvent]
sub esp, 4
jmp 0x10003614
mov dword [esp + 0xc], str.WinHttpCrackUrl_failed__trying_local_file_copy_n
mov dword [esp + 8], str.processFile
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000355a
mov dword [esp + 8], 7
mov dword [esp + 4], str.file:__
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll__wcsnicmp]
test eax, eax
jne 0x10003da0
mov eax, dword [ebx + 8]
lea edx, [eax + 0xe]
jmp 0x1000359c
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
jmp 0x100033ac
movzx eax, word [ebp - 0x164c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1654]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1680]
mov dword [esp], eax
call dword [sym.imp.winhttp.dll_WinHttpConnect]
mov dword [ebp - 0x1688], eax
sub esp, 0x10
mov edx, eax
test eax, eax
je 0x100038b1
mov eax, dword [ebp - 0x1638]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [sym.imp.winhttp.dll_WinHttpOpenRequest]
sub esp, 0x1c
mov esi, eax
test eax, eax
je 0x100038bd
mov ecx, dword [ebp - 0x1684]
mov dword [ebp - 0x168c], eax
xor edx, edx
mov dword [ebp - 0x1690], ebx
mov esi, edx
mov ebx, ecx
mov eax, dword [ebx + 0x88]
test eax, eax
je 0x10003ae0
mov dword [esp + 0x14], 0
mov ecx, dword [ebx + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esi*4 + 0x1000c75c]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x168c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.winhttp.dll_WinHttpSetCredentials]
sub esp, 0x18
test eax, eax
je 0x10004459
add esi, 1
add ebx, 0x10
cmp esi, 5
jne 0x10003a93
mov eax, dword [ebp - 0x1684]
xor edx, edx
mov esi, edx
lea ecx, [eax + 0x50]
mov ebx, ecx
mov eax, dword [ebx + 0x88]
test eax, eax
je 0x10003b47
mov dword [esp + 0x14], 0
mov ecx, dword [ebx + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esi*4 + 0x1000c75c]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x168c]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.winhttp.dll_WinHttpSetCredentials]
sub esp, 0x18
test eax, eax
je 0x10004459
add esi, 1
add ebx, 0x10
cmp esi, 5
jne 0x10003afa
mov eax, dword [ebp - 0x166c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov esi, dword [ebp - 0x168c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1684]
mov dword [esp + 0xc], 0
mov ebx, dword [ebp - 0x1690]
mov dword [esp + 8], 0xffffffff
mov eax, dword [eax + 0x78]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.winhttp.dll_WinHttpSendRequest]
sub esp, 0x1c
test eax, eax
je 0x100038bd
mov eax, dword [ebp - 0x1684]
call sym._wait_for_completion
test eax, eax
jne 0x100038bd
mov eax, dword [ebp - 0x1684]
mov eax, dword [eax + 0x124]
test eax, eax
js 0x100038bd
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.winhttp.dll_WinHttpReceiveResponse]
sub esp, 8
test eax, eax
je 0x100038bd
mov eax, dword [ebp - 0x1684]
call sym._wait_for_completion
test eax, eax
jne 0x100038bd
mov eax, dword [ebp - 0x1684]
cmp dword [eax + 0x124], 0
js 0x100038bd
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._transitionJobState
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x100038bd
lea edx, [ebp - 0x1010]
mov dword [ebp - 0x168c], esi
mov esi, dword [ebp - 0x1684]
mov dword [ebp - 0x1694], ebx
mov ebx, edx
mov dword [ebp - 0x1690], eax
jmp 0x10003d3e
mov eax, esi
call sym._wait_for_completion
test eax, eax
jne 0x10003d7c
mov eax, dword [esi + 0x124]
test eax, eax
js 0x10003d7c
mov eax, dword [ebp - 0x166c]
mov eax, dword [eax + 0x23c]
test eax, eax
je 0x10004231
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1690]
lea ecx, [ebp - 0x1668]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
je 0x10003d7c
lea eax, [esi + 0x58]
mov ecx, dword [ebp - 0x1674]
mov dword [ebp - 0x1698], eax
mov dword [esp], eax
call ecx
mov ecx, dword [ebp - 0x166c]
xor edx, edx
sub esp, 4
mov eax, dword [ecx + 0x23c]
add dword [ecx + 0x18], eax
adc dword [ecx + 0x1c], edx
add dword [esi + 0x38], eax
mov eax, dword [ebp - 0x1698]
adc dword [esi + 0x3c], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x1678]
call eax
sub esp, 4
mov eax, dword [ebp - 0x166c]
mov dword [eax + 0x23c], 0
mov eax, dword [ebp - 0x168c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1000
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.winhttp.dll_WinHttpReadData]
sub esp, 0x10
test eax, eax
jne 0x10003c94
mov ecx, dword [ebp - 0x1690]
mov esi, dword [ebp - 0x168c]
mov ebx, dword [ebp - 0x1694]
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
push eax
jmp 0x100038bd
mov edx, dword [ebx + 8]
jmp 0x1000359c
movzx esi, si
mov dword [esp], 0x1000c551
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf_3
mov dword [ebp - 0x1684], eax
mov eax, edi
shr eax, 0x10
je 0x100042a0
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x1680], 0x1000c547
sub esp, 8
test eax, eax
jne 0x10003ee8
cmp word [ebp - 0x1420], 0
je 0x100043d3
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x10003e10
mov esi, 0x224c
mov dword [ebp - 0x1680], ebx
lea ecx, [ebp - 0x100e]
mov word [ebp - 0x1010], si
mov esi, edi
jmp 0x10003e73
cmp ax, 9
je 0x100040d8
cmp ax, 0xa
jne 0x10004066
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x10003eb0
lea ebx, [ebp - 0xeee]
cmp ecx, ebx
ja 0x10003eb0
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x10004048
jbe 0x10003e40
cmp ax, 0x22
je 0x100040c0
cmp ax, 0x5c
jne 0x10004059
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10003e60
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x1680]
test eax, eax
jle 0x100043ec
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
lea edx, [ebp - 0x1010]
mov byte [eax], 0
mov dword [esp], edx
call sym.___wine_dbg_strdup
mov dword [ebp - 0x1680], eax
mov esi, dword [ebx + 8]
test esi, esi
je 0x100043c9
mov eax, esi
shr eax, 0x10
je 0x10004380
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1000c547
sub esp, 8
test eax, eax
jne 0x10004004
cmp word [esi], 0
je 0x100043f4
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x10003f30
mov eax, 0x224c
mov dword [ebp - 0x1688], ebx
lea ecx, [ebp - 0x100e]
mov word [ebp - 0x1010], ax
jmp 0x10003f93
cmp ax, 9
je 0x100040f0
cmp ax, 0xa
jne 0x1000410e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x10003fd0
lea ebx, [ebp - 0xeee]
cmp ecx, ebx
ja 0x10003fd0
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x10004178
jbe 0x10003f60
cmp ax, 0x22
je 0x10004160
cmp ax, 0x5c
jne 0x10004101
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003f80
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x1688]
test eax, eax
jle 0x1000440d
mov esi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], si
lea edx, [ebp - 0x1010]
mov byte [eax], 0
mov dword [esp], edx
call sym.___wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0x1684]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Transferring:__s_____s_____s_n
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1680]
mov dword [esp + 8], str.processFile
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10003485
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003e60
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x10004370
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + 0x1000c7c4]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + 0x1000c7c4]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + 0x1000c7c4]
and ebx, 0xf
movzx ebx, byte [ebx + 0x1000c7c4]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10003e60
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003e60
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003e60
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003f80
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x100043a0
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + 0x1000c7c4]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + 0x1000c7c4]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + 0x1000c7c4]
and ebx, 0xf
movzx ebx, byte [ebx + 0x1000c7c4]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10003f80
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003f80
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003f80
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003790
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003790
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x100043b0
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + 0x1000c7c4]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + 0x1000c7c4]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + 0x1000c7c4]
and ebx, 0xf
movzx ebx, byte [ebx + 0x1000c7c4]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x10003790
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10003790
mov ecx, dword [ebp - 0x1690]
mov esi, dword [ebp - 0x168c]
mov ebx, dword [ebp - 0x1694]
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [esp], esi
mov esi, dword [sym.imp.winhttp.dll_WinHttpCloseHandle]
call esi
mov eax, dword [ebp - 0x1688]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x1680]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x1684]
sub esp, 4
mov eax, dword [eax + 0x134]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEvent]
sub esp, 4
jmp 0x10003614
movzx eax, di
mov dword [esp], 0x1000c551
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_3
mov dword [ebp - 0x1680], eax
jmp 0x10003ee8
mov dword [esp + 0xc], str.local_transfer_failed_n
mov dword [esp + 8], str.processFile
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x10003614
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Local_file_copy_failed:_error__lu_n
mov dword [esp + 8], str.transfer_file_local
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1000a04c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x100035dd
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x1680]
test eax, eax
jle 0x1000442e
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
lea edx, [ebp - 0x1010]
mov byte [eax], 0
mov dword [esp], edx
call sym.___wine_dbg_strdup
mov dword [ebp - 0x1684], eax
jmp 0x10003dc9
mov byte [ecx], al
add ecx, 1
jmp 0x10003e60
movzx esi, si
mov dword [esp], 0x1000c551
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf_3
mov edx, eax
jmp 0x10004004
mov byte [ecx], al
add ecx, 1
jmp 0x10003f80
mov byte [ecx], al
add ecx, 1
jmp 0x10003790
mov dword [ebp - 0x1684], 0x1000c540
jmp 0x10003dc9
mov edx, 0x1000c540
jmp 0x10004004
mov byte [ebp - 0x100e], 0x22
mov ecx, 0x224c
mov word [ebp - 0x1010], cx
lea ecx, [ebp - 0x100e]
lea eax, [ecx + 1]
jmp 0x10003ed1
mov eax, 0x224c
mov byte [ebp - 0x100e], 0x22
lea ecx, [ebp - 0x100e]
mov word [ebp - 0x1010], ax
lea eax, [ecx + 1]
jmp 0x10003ff1
mov edx, 0x224c
mov byte [ebp - 0x100e], 0x22
lea ecx, [ebp - 0x100e]
mov word [ebp - 0x1010], dx
lea eax, [ecx + 1]
jmp 0x10004351
mov eax, dword [ebp - 0x1684]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call sym._transitionJobState
jmp 0x1000390d
mov esi, dword [ebp - 0x168c]
mov ebx, dword [ebp - 0x1690]
jmp 0x100038bd