Function at 0x433970
Capabilities:
Check http status code
Create thread
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1894
call fcn.0043e420
mov eax, dword [0x471080]
xor eax, esp
mov dword [esp + 0x1890], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
push 0x1800
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x9c]
push ebx
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], ebx
movlpd qword [esp + 0x54], xmm0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], ebx
call fcn.0043fa60
lea eax, [esp + 0x14a4]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x90], eax
add esp, 0xc
lea eax, [esp + 0x498]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], eax
mov ecx, edi
lea eax, [esp + 0xc98]
mov dword [esp + 0x50], 0x3c
mov dword [esp + 0x74], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x1098]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x898]
mov dword [esp + 0x6c], eax
mov eax, dword [edi]
mov dword [esp + 0x70], 0x200
mov dword [esp + 0x80], 0x200
mov dword [esp + 0x58], 0x200
mov dword [esp + 0x78], 0x200
mov dword [esp + 0x64], 0x200
mov dword [esp + 0x88], 0x200
call dword [eax + 0xc]
mov eax, dword [0x4a85ac]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x433a9a
call fcn.004349b0
push str.WinHttpCrackUrl
push dword [0x4a8228]
call esi
mov dword [0x4a85ac], eax
test eax, eax
je 0x433aac
lea ecx, [esp + 0x50]
push ecx
push connect
push 0
push dword [esp + 0x18]
call eax
mov edx, dword [esp + 0x7c]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x14], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433ac0
sub ecx, dword [esp + 0x14]
sar ecx, 1
cmp ecx, 1
jbe 0x433ae7
push edx
push dword [esp + 0x10]
call fcn.0043f427
add esp, 8
mov dword [esp + 0x7c], eax
sub esp, 0xc
call fcn.00434be0
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x433f03
mov eax, dword [0x4a8584]
test eax, eax
jne 0x433b22
call fcn.004349b0
push str.WinHttpSetStatusCallback
push dword [0x4a8228]
call esi
mov dword [0x4a8584], eax
test eax, eax
je 0x433b34
mov ebx, dword [esp + 0x24]
push 0
push 0xffffffffffffffff
push 0x433770
push ebx
call eax
jmp 0x433b38
mov ebx, dword [esp + 0x24]
mov edx, dword [0x4a8594]
mov dword [esp + 0x34], 0xaa0
test edx, edx
jne 0x433b68
call fcn.004349b0
push str.WinHttpSetOption
push dword [0x4a8228]
call esi
mov edx, eax
mov dword [0x4a8594], edx
test edx, edx
je 0x433b7a
push 4
lea eax, [esp + 0x38]
push eax
push 0x54
push ebx
call edx
mov edx, dword [0x4a8594]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x433bfe
mov ecx, eax
lea eax, [ecx + 2]
mov dword [esp + 0x14], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433b90
sub ecx, dword [esp + 0x14]
sar ecx, 1
je 0x433bfe
mov eax, dword [esp + 0x18]
mov dword [esp + 0x8c], 3
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0
test edx, edx
jne 0x433bea
call fcn.004349b0
push str.WinHttpSetOption
push dword [0x4a8228]
call esi
mov edx, eax
mov dword [0x4a8594], edx
test edx, edx
je 0x433cf2
push 0xc
lea eax, [esp + 0x90]
push eax
push 0x26
push ebx
call edx
jmp 0x433cf2
push 0x28
call fcn.0043dbc3
mov edx, dword [esp + 0x10]
mov esi, eax
mov ecx, edx
add esp, 4
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ecx + 2]
mov dword [esp + 0x14], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433c30
sub ecx, dword [esp + 0x14]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004017c0
lea eax, [esp + 0x18]
mov dword [esi + 0x24], 2
push eax
push 0
push esi
push 0x434490
xorps xmm0, xmm0
movq qword [esi + 0x18], xmm0
push 0
mov dword [esi + 0x20], 0
push 0
mov dword [esp + 0x30], 0
call fcn.00448d77
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x433c92
mov ecx, esi
call fcn.004332c0
jmp 0x433cec
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x433cdb
cmp dword [esi + 0x18], 3
jne 0x433cdb
mov eax, dword [0x4a8594]
test eax, eax
jne 0x433cd0
call fcn.004349b0
push str.WinHttpSetOption
push dword [0x4a8228]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4a8594], eax
test eax, eax
je 0x433cdb
push 0xc
lea ecx, [esi + 0x18]
push ecx
push 0x26
push ebx
call eax
mov ecx, esi
call fcn.004332c0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx eax, word [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [0x4a8580]
mov dword [esp + 0x28], 4
test eax, eax
jne 0x433d3e
call fcn.004349b0
push str.WinHttpConnect
push dword [0x4a8228]
call esi
mov dword [0x4a8580], eax
test eax, eax
jne 0x433d3e
mov eax, dword [esp + 0x60]
movzx ebx, word [esp + 0x68]
mov dword [esp + 0xc], eax
jmp 0x433d67
push 0
push dword [esp + 0x18]
push dword [esp + 0x14]
push ebx
call eax
mov ebx, eax
test ebx, ebx
jne 0x433da0
mov eax, dword [esp + 0x60]
movzx ebx, word [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [0x4a8580]
test eax, eax
jne 0x433d89
call fcn.004349b0
push str.WinHttpConnect
push dword [0x4a8228]
call esi
mov dword [0x4a8580], eax
test eax, eax
jne 0x433d89
xor ebx, ebx
jmp 0x433f03
push 0
push ebx
push dword [esp + 0x14]
push dword [esp + 0x30]
call eax
mov ebx, eax
test ebx, ebx
je 0x433f03
cmp dword [esp + 0x5c], 2
mov eax, 0x100
mov ecx, 0x800100
cmove eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [0x4a8598]
test eax, eax
jne 0x433de2
call fcn.004349b0
push str.WinHttpOpenRequest
push dword [0x4a8228]
call esi
mov dword [0x4a8598], eax
test eax, eax
je 0x433e06
mov esi, dword [esp + 0xc]
push esi
push 0
push 0
push str.HTTP_1.1
push dword [esp + 0x24]
push 0x469474
push ebx
call eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x433e2b
jmp 0x433e0a
mov esi, dword [esp + 0xc]
push esi
sub esp, 0xc
mov ecx, ebx
push dword [esp + 0x8c]
call fcn.00434a50
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x433f03
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x30], eax
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x34], eax
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x38], eax
call esi
mov dword [esp + 0x1c], eax
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x203c
push 8
mov dword [esp + 0x14], eax
mov dword [edi + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x433ee9
push 0x3e8
lea eax, [esi + 4]
mov dword [esi], 1
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x433f4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [esp + 0x18]
call fcn.00433350
test esi, esi
je 0x433fde
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x3c], 0
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [edi + 0x40]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x24]
push esi
mov dword [edi + 8], ebx
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x433f31
call fcn.00433350
mov ecx, dword [esp + 0x189c]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 8
push 2
push 1
push 0x1f0003
lea eax, [esi + 0x24]
mov dword [esi + 0x1c], 1
mov esi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
mov eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x4c]
push eax
call esi
mov eax, dword [esp + 0x18]
push 2
push 1
push 0x1f0003
add eax, 0x28
push eax
mov eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x50]
push eax
call esi
mov eax, dword [esp + 0x18]
push 2
push 1
push 0x1f0003
add eax, 0x2c
push eax
mov eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x54]
push eax
call esi
mov eax, dword [esp + 0x18]
push 2
push 1
push 0x1f0003
add eax, 0x30
push eax
mov eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x30]
push eax
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x34], 0
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x433ee9
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push eax
call esi
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push 4
push eax
mov edx, 0x2d
mov ecx, dword [ecx + 0x20]
call fcn.00434ca0
add esp, 8
test eax, eax
jne 0x43404b
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x3c], 0
jmp 0x433f09
mov ecx, dword [esp + 0x10]
call fcn.00433400
xor ecx, ecx
test eax, eax
sete cl
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x433f09
mov ecx, dword [esp + 0x10]
sub esp, 0x14
mov ecx, dword [ecx + 0x20]
call fcn.00434aa0
add esp, 0x14
test eax, eax
jne 0x43409f
mov ecx, dword [esp + 0x10]
sub esp, 0x14
mov ecx, dword [ecx + 0x20]
call fcn.00434aa0
add esp, 0x14
test eax, eax
jne 0x43409f
mov eax, dword [esp + 0x10]
add eax, 4
jmp 0x433efc
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 4
push eax
call esi
mov eax, dword [edi + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x38]
push 0xea60
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x433f09
mov ecx, dword [esp + 0x10]
call fcn.00433400
xor ecx, ecx
test eax, eax
sete cl
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x433f09
mov ecx, dword [esp + 0x10]
mov edx, 0x20000013
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, dword [ecx + 0x20]
lea eax, [esp + 0x34]
push eax
push 0
call fcn.00434ae0
add esp, 0x10
cmp dword [esp + 0x2c], 0xc8
je 0x434137
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x20], 0
push eax
call esi
jmp 0x433f03
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x2c]
mov edx, 0x20000005
push eax
mov ecx, dword [ecx + 0x20]
lea eax, [esp + 0x38]
push eax
push 0
call fcn.00434ae0
add esp, 0x10
test eax, eax
je 0x434167
mov eax, dword [esp + 0x30]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x10]
add eax, 4
push eax
call esi
jmp 0x433f09