Function at 0x44d5f0
Capabilities:
Check for time delay via gettickcount
Check http status code
Get socket status

Disassembly:
sub esp, 0x374
mov eax, dword [esp + 0x37c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x388]
mov ebp, dword [edi]
xor esi, esi
mov dword [esp + 0x64], esi
mov ecx, dword [ebp + 0x19c]
mov dword [esp + 0x4c], ecx
cmp ecx, esi
jne 0x44d626
mov dword [esp + 0x4c], 0x36ee80
cmp dword [edi + eax*4 + 0x47c], 2
mov ecx, dword [edi + eax*4 + 0x134]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x24], esi
je 0x44e2a7
mov dword [edi + 0x1fc], esi
lea esp, [esp]
cmp dword [edi + eax*4 + 0x47c], esi
je 0x44decb
lea ebx, [ebp + 0x564]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 1
jmp 0x44d690
cmp dword [esp + 0x18], 0
je 0x44de13
cmp dword [esp + 0x24], 0
jne 0x44e23b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov esi, edx
shr esi, 6
mov edx, esi
imul edx, edx, 0x3e8
sub ecx, edx
imul ecx, ecx, 0x3e8
mov eax, ecx
sub eax, dword [edi + 0x128]
mov ecx, dword [edi + 0x124]
mov edx, eax
mov eax, 0x10624dd3
imul edx
sub ecx, esi
imul ecx, ecx, 0x3e8
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, dword [esp + 0x4c]
test ecx, ecx
jle 0x44deac
cmp ecx, 0x3e8
mov edi, ecx
jl 0x44d710
mov edi, 0x3e8
mov eax, dword [esp + 0x50]
xor esi, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
cmp eax, 0xffffffff
jne 0x44d74a
cmp edi, esi
je 0x44d743
jge 0x44d73c
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
jmp 0x44d8d7
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x44d8d7
cmp edi, esi
jle 0x44d77e
mov esi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov eax, edx
imul eax, eax, 0x3e8
sub ecx, eax
mov eax, dword [esp + 0x50]
imul ecx, ecx, 0x3e8
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov ecx, 1
mov dword [esp + 0x68], ecx
mov dword [esp + 0x170], ecx
xor ecx, ecx
test edi, edi
setl cl
lea edx, [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x174], eax
mov dword [esp + 0x278], 0
dec ecx
and ecx, edx
mov dword [esp + 0x14], ecx
xor eax, eax
cmp edi, eax
jle 0x44d7e7
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x5c], eax
imul eax, eax, 0x3e8
mov ecx, esi
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [esp + 0x60], ecx
jmp 0x44d7f1
jne 0x44d7f1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x174]
push eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x280]
push ecx
lea edx, [esp + 0x74]
push edx
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44d894
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x44d838
cmp dword [0x4cbda8], 0
jne 0x44d894
cmp eax, 0x2714
jne 0x44d894
test edi, edi
jle 0x44d7b6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov esi, dword [esp + 0x54]
mov eax, edx
imul eax, eax, 0x3e8
sub ecx, eax
imul ecx, ecx, 0x3e8
sub ecx, dword [esp + 0x58]
sub esi, edx
mov eax, 0x10624dd3
imul esi, esi, 0x3e8
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
add esi, edi
test esi, esi
jg 0x44d7b6
jmp 0x44dde2
test ebx, ebx
jl 0x44ddcb
je 0x44dde2
mov edi, dword [esp + 0x50]
lea edx, [esp + 0x68]
push edx
push edi
xor esi, esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44d8bc
mov esi, 1
lea eax, [esp + 0x170]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44d8d1
or esi, 4
mov ebx, dword [esp + 0x40]
mov eax, esi
cmp eax, 0xffffffff
je 0x44ddcb
test eax, eax
je 0x44dde2
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x388]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x54]
mov edx, 0x4000
sub edx, dword [esp + 0x40]
push eax
call fcn.00434210
add esp, 8
cmp eax, 0x51
je 0x44ddfe
xor edi, edi
cmp eax, edi
je 0x44d926
mov dword [esp + 0x18], edi
jmp 0x44dde2
mov eax, dword [esp + 0x20]
cmp eax, edi
jg 0x44d95b
mov dword [esp + 0x18], edi
cmp dword [ebp + 0x118], edi
je 0x44d951
cmp dword [ebp + 0x8604], edi
je 0x44d951
mov dword [esi + 0x1fc], 1
jmp 0x44dde2
push str.Proxy_CONNECT_aborted
jmp 0x44ddd0
add dword [esp + 0x3c], eax
cmp dword [esp + 0x18], 1
jle 0x44da0e
mov ebx, dword [esp + 0x30]
lea ecx, [ebp + 0x564]
mov edx, ecx
mov ecx, dword [esp + 0x34]
mov esi, ebx
or esi, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], edx
je 0x44d9b0
cdq
sub ebx, eax
sbb ecx, edx
cmp ecx, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
jg 0x44dde2
jl 0x44d9a7
cmp ebx, edi
ja 0x44dde2
mov dword [esp + 0x18], edi
jmp 0x44dde2
mov esi, dword [esp + 0x388]
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, edx
mov dword [esp + 0x1c], edi
call fcn.004565c0
add esp, 8
mov ecx, ebp
cmp eax, 0xffffffff
jne 0x44d9f7
push str.chunk_reading_DONE_n
call fcn.00433c20
mov edx, dword [esp + 0x390]
mov dword [esp + 0x1c], edi
mov dword [esi + edx*4 + 0x47c], 2
jmp 0x44dddf
mov eax, dword [esp + 0x14]
push eax
push str.Read__zd_bytes_of_chunk__continue_n
call fcn.00433c20
add esp, 8
jmp 0x44dde2
cmp eax, edi
mov dword [esp + 0x14], edi
jle 0x44dde2
mov edi, dword [esp + 0x1c]
mov edi, edi
mov ecx, dword [esp + 0x28]
inc edi
cmp byte [ecx], 0xa
mov dword [esp + 0x1c], edi
jne 0x44dc0c
cmp dword [ebp + 0x2e4], 0
je 0x44da65
mov edx, dword [esp + 0x388]
mov ecx, dword [esp + 0x40]
push edx
mov eax, edi
push eax
push ecx
mov ebx, 1
mov esi, ebp
call fcn.00434330
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x394]
add esp, 0xc
cmp dword [ebp + 0x2c8], 0
mov edx, 2
je 0x44da78
mov edx, 3
push ebx
mov ecx, edi
mov eax, esi
call fcn.004340c0
add dword [ebp + 0x86c0], edi
add dword [ebp + 0x48], edi
add esp, 4
test eax, eax
jne 0x44e2a9
mov al, byte [ebx]
cmp al, 0xd
je 0x44dc28
cmp al, 0xa
je 0x44dc28
mov dl, byte [edi + ebx]
push 0x11
mov eax, ebx
mov ecx, str.WWW_Authenticate:
mov byte [esp + 0x33], dl
mov byte [edi + ebx], 0
call fcn.004485e0
add esp, 4
test eax, eax
je 0x44dad5
mov eax, dword [ebp + 0x90]
cmp eax, 0x191
je 0x44daf7
push 0x13
mov eax, ebx
mov ecx, str.Proxy_authenticate:
call fcn.004485e0
add esp, 4
test eax, eax
je 0x44db10
mov eax, dword [ebp + 0x90]
cmp eax, 0x197
jne 0x44db10
push eax
push esi
mov eax, ebx
call fcn.0044f000
add esp, 8
test eax, eax
jne 0x44e2a9
jmp 0x44dbf4
push 0xf
mov eax, ebx
mov ecx, str.Content_Length:
call fcn.004485e0
add esp, 4
test eax, eax
je 0x44db42
push 0xa
lea eax, [ebx + 0xf]
push 0
push eax
call fcn.004906c4
add esp, 0xc
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x44dbf4
push str.close
mov eax, str.Connection:
mov ecx, ebx
call fcn.0044f690
add esp, 4
test eax, eax
je 0x44db67
mov dword [esp + 0x44], 1
jmp 0x44dbf4
push str.chunked
mov eax, str.Transfer_Encoding:
mov ecx, ebx
call fcn.0044f690
add esp, 4
test eax, eax
je 0x44dba4
push str.CONNECT_responded_chunked_n
mov ecx, ebp
call fcn.00433c20
add esp, 4
mov ecx, 1
xor eax, eax
mov dword [esp + 0x48], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x1c], ecx
jmp 0x44dbf4
push str.close
mov eax, str.Proxy_Connection:
mov ecx, ebx
call fcn.0044f690
add esp, 4
test eax, eax
je 0x44dbc6
mov dword [esp + 0x44], 1
jmp 0x44dbf4
lea esi, [ebp + 0x90]
push esi
lea ecx, [esp + 0x68]
push ecx
push str.HTTP_1._d__d
push ebx
call fcn.0048d213
add esp, 0x10
cmp eax, 2
jne 0x44dbed
mov edx, dword [esi]
mov dword [ebp + 0x86b0], edx
mov esi, dword [esp + 0x388]
mov al, byte [esp + 0x2f]
mov ecx, dword [esp + 0x28]
mov byte [edi + ebx], al
xor edi, edi
lea ebx, [ecx + 1]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x14]
inc dword [esp + 0x28]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jl 0x44da20
jmp 0x44dde2
xor ecx, ecx
cmp dword [ebp + 0x90], 0x197
lea eax, [ebp + 0x564]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
jne 0x44dd8a
cmp dword [ebp + 0x8614], ecx
jne 0x44dd8a
mov edx, dword [esp + 0x30]
or edx, dword [esp + 0x34]
mov dword [esp + 0x18], 2
je 0x44dcc5
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
push edi
push ebx
push str.Ignore__lld_bytes_of_response_body_n
mov ecx, ebp
call fcn.00433c20
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x20]
add esp, 0xc
cdq
sub ebx, eax
sbb edi, edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
test edi, edi
jg 0x44ddb7
jl 0x44dca6
test ebx, ebx
ja 0x44ddb7
mov ecx, dword [esp + 0x38c]
mov dword [esp + 0x18], 0
mov dword [esi + ecx*4 + 0x47c], 2
jmp 0x44dde2
cmp dword [esp + 0x48], ecx
je 0x44dd72
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x14]
mov esi, 1
push eax
push str._zd_bytes_of_chunk_left_n
mov ecx, ebp
mov dword [ebp + 0xc8], esi
call fcn.00433c20
add esp, 8
cmp byte [ebx + 1], 0xa
jne 0x44dd01
inc ebx
add dword [esp + 0x14], esi
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x14]
mov esi, dword [esp + 0x388]
lea ecx, [esp + 0x20]
push ecx
push eax
lea eax, [ebx + 1]
call fcn.004565c0
add esp, 8
mov ecx, ebp
cmp eax, 0xffffffff
jne 0x44dd61
push str.chunk_reading_DONE_n
call fcn.00433c20
mov edx, dword [esp + 0x390]
mov ecx, edx
mov dword [esi + edx*4 + 0x47c], 2
add esp, 4
mov dword [esp + 0x18], 0
mov dword [esi + ecx*4 + 0x47c], 2
jmp 0x44dde2
mov eax, dword [esp + 0x20]
push eax
push str.Read__zd_bytes_of_chunk__continue_n
call fcn.00433c20
jmp 0x44ddb4
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38c]
mov dword [esi + ecx*4 + 0x47c], 2
jmp 0x44dde2
cmp dword [ebp + 0x86b0], 0xc8
mov dword [esp + 0x18], ecx
jne 0x44ddb7
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x14]
dec eax
cmp eax, ecx
je 0x44ddb7
push eax
push str.Proxy_CONNECT_followed_by__zd_bytes_of_opaque_data._Data_ignored__known_bug_39_
mov eax, ebp
call fcn.00433ce0
add esp, 8
mov ecx, dword [esp + 0x38c]
mov dword [esi + ecx*4 + 0x47c], 2
jmp 0x44dde2
push str.Proxy_CONNECT_aborted_due_to_select_poll_error
mov eax, ebp
mov dword [esp + 0x28], 1
call fcn.00433ce0
add esp, 4
mov edx, dword [esp + 0x388]
push edx
call fcn.00439c90
add esp, 4
test eax, eax
jne 0x44e179
mov ebx, dword [esp + 0x40]
cmp dword [esp + 0x3c], 0x4000
mov edi, dword [esp + 0x388]
jb 0x44d690
xor ebx, ebx
cmp dword [esp + 0x24], ebx
jne 0x44e23b
cmp dword [ebp + 0x86b0], 0xc8
je 0x44de4c
mov eax, edi
call fcn.0044ec10
cmp eax, ebx
jne 0x44e2a9
cmp dword [edi + 0x1a4], ebx
je 0x44de4c
mov dword [esp + 0x44], 1
jmp 0x44de52
cmp dword [esp + 0x44], ebx
je 0x44de5e
cmp dword [ebp + 0xd4], ebx
jne 0x44e189
mov esi, dword [esp + 0x38c]
cmp dword [ebp + 0xd4], ebx
je 0x44e1e5
cmp dword [edi + esi*4 + 0x47c], 2
jne 0x44de92
push ebx
push str.TUNNEL_STATE_switched_to:__d_n
mov ecx, ebp
mov dword [edi + esi*4 + 0x47c], ebx
call fcn.00433c20
add esp, 8
cmp dword [ebp + 0xd4], ebx
je 0x44e1e5
mov eax, dword [esp + 0x38c]
xor esi, esi
jmp 0x44d660
push str.Proxy_CONNECT_aborted_due_to_timeout
mov eax, ebp
call fcn.00433ce0
add esp, 4
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x374
ret
movzx eax, word [esp + 0x394]
mov ebx, dword [esp + 0x390]
push eax
push ebx
push str.Establish_HTTP_proxy_tunnel_to__s:_hu_n
mov ecx, ebp
call fcn.00433c20
mov eax, dword [ebp + 0xd4]
add esp, 0xc
cmp eax, esi
je 0x44df05
push eax
call dword [0x4c9970]
add esp, 4
mov dword [ebp + 0xd4], esi
push 0xc
push 1
call dword [0x4c997c]
add esp, 8
mov dword [esp + 0x1c], eax
cmp eax, esi
je 0x44df45
movzx eax, word [esp + 0x394]
push eax
push ebx
push str._s:_hu
call sym.SGWPNote.exe_curl_maprintf
mov ebx, eax
add esp, 0xc
cmp ebx, esi
jne 0x44df55
mov eax, dword [esp + 0x1c]
push eax
call dword [0x4c9970]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x374
ret
push 1
push ebx
push str.CONNECT
mov esi, edi
call fcn.0044ef00
add esp, 0xc
push ebx
mov esi, eax
call dword [0x4c9970]
add esp, 4
test esi, esi
jne 0x44e146
cmp dword [edi + 0x118], 1
mov ecx, 0x4b94d7
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], ecx
mov esi, ecx
mov dword [esp + 0x4c], 0x4be884
je 0x44dfa3
mov dword [esp + 0x4c], 0x4be888
mov edi, dword [edi + 0x1bc]
mov edx, 0x4ba6bc
test edi, edi
jne 0x44dfb6
mov edx, ecx
jmp 0x44dfbb
mov ecx, 0x4ba6c0
movzx eax, word [esp + 0x394]
push eax
push edx
mov edx, dword [esp + 0x398]
push edx
push ecx
push str._s_s_s:_hu
call sym.SGWPNote.exe_curl_maprintf
mov edi, eax
add esp, 0x14
test edi, edi
je 0x44df37
push ebp
mov ebx, str.Host:
call fcn.0044e7f0
add esp, 4
test eax, eax
jne 0x44e035
push edi
push str.Host:__s_r_n
call sym.SGWPNote.exe_curl_maprintf
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
jne 0x44e035
push edi
call dword [0x4c9970]
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
call dword [0x4c9970]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x374
ret
push ebp
mov ebx, str.Proxy_Connection:
call fcn.0044e7f0
add esp, 4
test eax, eax
jne 0x44e04f
mov dword [esp + 0x48], str.Proxy_Connection:_Keep_Alive_r_n
push ebp
mov ebx, str.User_Agent:
call fcn.0044e7f0
add esp, 4
test eax, eax
jne 0x44e076
cmp dword [ebp + 0x3a4], eax
je 0x44e076
mov edx, dword [esp + 0x388]
mov esi, dword [edx + 0x230]
mov eax, dword [esp + 0x388]
mov eax, dword [eax + 0x22c]
test eax, eax
jne 0x44e08c
mov eax, 0x4b94d7
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
push ecx
push esi
push eax
mov eax, dword [esp + 0x58]
push edx
push eax
push edi
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
mov eax, ebx
call fcn.0044f550
mov esi, eax
mov eax, dword [esp + 0x40]
add esp, 0x1c
test eax, eax
je 0x44e0ca
cmp byte [eax], 0
je 0x44e0ca
push eax
call dword [0x4c9970]
add esp, 4
push edi
call dword [0x4c9970]
add esp, 4
test esi, esi
jne 0x44e12a
mov ecx, dword [esp + 0x388]
push ecx
call fcn.0044f9b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x44e12a
push 0x4b9ef0
mov eax, ebx
call fcn.0044f550
mov esi, eax
add esp, 4
test esi, esi
jne 0x44e12a
mov edi, dword [esp + 0x388]
push eax
lea edx, [ebp + 0x86c4]
push edx
push ebx
mov ebx, dword [esp + 0x398]
mov ecx, ebx
call fcn.0044f330
mov esi, eax
add esp, 0xc
test esi, esi
je 0x44e161
push str.Failed_sending_CONNECT_to_proxy
mov eax, ebp
call fcn.00433ce0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x374
ret
mov eax, dword [esp + 0x1c]
push eax
call dword [0x4c9970]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x374
ret
mov dword [edi + ebx*4 + 0x47c], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x374
ret
mov eax, 0x2a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x374
ret
mov eax, dword [edi + 0x28]
mov esi, dword [esp + 0x38c]
mov ebx, dword [edi + esi*4 + 0x134]
test eax, eax
je 0x44e1c1
cmp ebx, dword [edi + 0x138]
jne 0x44e24b
cmp dword [edi + 0x140], 0
je 0x44e24b
mov dword [edi + 0x140], 0
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edi, dword [esp + 0x388]
push ebx
call fcn.00431cb0
add esp, 4
mov dword [edi + esi*4 + 0x134], 0xffffffff
xor ebx, ebx
mov eax, dword [ebp + 0x90]
cmp eax, 0xc8
je 0x44e257
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
mov eax, ebp
call fcn.00433ce0
add esp, 8
cmp dword [esp + 0x44], ebx
je 0x44e21a
cmp dword [ebp + 0xd4], ebx
je 0x44e21a
mov dword [edi + 0x1fc], 1
mov eax, dword [ebp + 0xd4]
cmp eax, ebx
je 0x44e234
push eax
call dword [0x4c9970]
add esp, 4
mov dword [ebp + 0xd4], ebx
mov dword [edi + esi*4 + 0x47c], ebx
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x374
ret
mov ecx, dword [edi + 0x2c]
push ebx
push ecx
call eax
add esp, 8
jmp 0x44e1d8
mov dword [edi + esi*4 + 0x47c], 2
mov eax, dword [edi + 0x22c]
cmp eax, ebx
je 0x44e27c
push eax
call dword [0x4c9970]
add esp, 4
mov dword [edi + 0x22c], ebx
mov dword [edi + 0x22c], ebx
push str.Proxy_replied_OK_to_CONNECT_request_n
mov ecx, ebp
mov dword [ebp + 0x8608], 1
call fcn.00433c20
mov dword [ebp + 0xc8], ebx
add esp, 4
mov dword [edi + 0x1e0], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x374
ret