Function at 0x10004eb0
Capabilities:
Initialize winhttp library
Make an http request with a cookie
Prepare http request
Read http header
Receive http response
Send data
Send http request
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b789b
mov eax, dword fs:[0]
push eax
mov eax, 0x1110
call fcn.100664f0
mov eax, dword [0x100d9180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x18], 0
mov eax, dword [ebp + 8]
ja 0x10004efd
mov dword [esi + 0xf8], 3
xor al, al
jmp 0x10005bd2
push eax
lea ecx, [ebp - 0x1080]
call fcn.10002b60
cmp dword [ebp - 0x106c], 7
lea eax, [ebp - 0x1080]
push 0x100bd584
cmova eax, dword [ebp - 0x1080]
push eax
mov dword [ebp - 4], 0
call fcn.1007388a
add esp, 8
test eax, eax
jne 0x10004f42
mov eax, 0x100bd584
mov ecx, 3
jmp 0x10004f76
cmp dword [ebp - 0x106c], 7
lea eax, [ebp - 0x1080]
push str.POST
cmova eax, dword [ebp - 0x1080]
push eax
call fcn.1007388a
add esp, 8
test eax, eax
jne 0x10005baf
mov eax, str.POST
mov ecx, 4
push ecx
push eax
lea ecx, [ebp - 0x1080]
call fcn.10005e20
mov eax, dword [esi]
mov byte [ebp - 0x1081], 1
test eax, eax
jne 0x10004fc1
cmp dword [esi + 0x128], 7
lea eax, [esi + 0x114]
jbe 0x10004fa1
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi], eax
test eax, eax
jne 0x10004fc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10005bb4
push dword [esi + 0x184]
push dword [esi + 0x180]
push dword [esi + 0x17c]
push dword [esi + 0x178]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.10068bc0
xor eax, eax
push 0xa26
push eax
mov word [ebp - 0x1050], ax
lea eax, [ebp - 0x104e]
push eax
call fcn.10068bc0
lea eax, [ebp - 0x420]
mov dword [ebp - 0x1118], 0
mov dword [ebp - 0x110c], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1110], 0
add esp, 0x18
mov dword [ebp - 0x10f0], eax
cmp dword [esi + 0x1c], 7
lea eax, [esi + 8]
movlpd qword [ebp - 0x1104], xmm0
movlpd qword [ebp - 0x10fc], xmm0
mov dword [ebp - 0x10f4], 0
movlpd qword [ebp - 0x10e8], xmm0
mov dword [ebp - 0x111c], 0x3c
mov dword [ebp - 0x1108], 0x104
mov dword [ebp - 0x10ec], 0x514
mov dword [ebp - 0x1114], 1
jbe 0x1000509e
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x111c]
push ecx
push 0
push dword [esi + 0x18]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x10005bc1
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100050c2
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x20]
call fcn.10005e20
push 0
push dword [ebp - 0x1104]
lea eax, [ebp - 0x420]
push eax
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x10a4], eax
test eax, eax
je 0x10005bc1
xor ecx, ecx
mov edx, 0x800000
cmp dword [ebp - 0x1110], 2
cmove ecx, edx
cmp dword [ebp - 0x106c], 7
push ecx
push 0
push 0
push 0
push dword [ebp - 0x10f0]
lea edx, [ebp - 0x1080]
cmova edx, dword [ebp - 0x1080]
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
mov dword [ebp - 0x1094], edi
test edi, edi
je 0x10005ba1
cmp byte [esi + 4], 0
jne 0x1000517b
cmp dword [ebp - 0x1110], 2
jne 0x1000517b
push 4
lea eax, [ebp - 0x108c]
mov dword [ebp - 0x108c], 0x3100
push eax
push 0x1f
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov byte [ebp - 0x108d], 0
xor ecx, ecx
mov eax, ecx
inc ecx
mov dword [ebp - 0x1088], ecx
cmp eax, 3
jae 0x10005b88
mov ecx, dword [esi + 0xd8]
test ecx, ecx
je 0x100051cf
cmp dword [esi + 0xdc], 7
lea eax, [esi + 0xc8]
jbe 0x100051b1
mov eax, dword [eax]
push 0x1000000
push ecx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x100051cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xf8], eax
cmp dword [esi + 0xb8], 0
jbe 0x10005292
push str.Cookie:
lea ecx, [ebp - 0x1068]
call fcn.10002c10
cmp dword [esi + 0xbc], 7
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 1
jbe 0x10005205
mov ecx, dword [esi + 0xa8]
push dword [esi + 0xb8]
push ecx
lea ecx, [ebp - 0x1068]
call fcn.10005ca0
cmp dword [ebp - 0x1054], 7
lea eax, [ebp - 0x1068]
push 0x1000000
push dword [ebp - 0x1058]
cmova eax, dword [ebp - 0x1068]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1000524e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xf8], eax
mov ecx, dword [ebp - 0x1054]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x10005292
mov edx, dword [ebp - 0x1068]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005288
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bef
push ecx
push edx
call fcn.100664d1
add esp, 8
cmp dword [esi + 0xf0], 0
jbe 0x10005398
xor eax, eax
mov dword [ebp - 0x10c0], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x10c8], 3
call fcn.10068bc0
lea eax, [esi + 0xe0]
add esp, 0xc
cmp dword [eax + 0x14], 7
jbe 0x100052df
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1007368f
add esp, 0xc
lea eax, [ebp - 0x218]
mov dword [ebp - 0x10c4], eax
lea eax, [ebp - 0x10c8]
push 0xc
push eax
push 0x26
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x10005322
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xf8], eax
mov eax, dword [esi + 0x140]
test eax, eax
je 0x10005398
cmp dword [esi + 0x144], 7
lea ecx, [esi + 0x130]
jbe 0x1000533d
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push 0x1002
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1000535d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xf8], eax
mov eax, dword [esi + 0x158]
test eax, eax
je 0x10005398
cmp dword [esi + 0x15c], 7
lea ecx, [esi + 0x148]
jbe 0x10005378
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push 0x1003
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x10005398
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xf8], eax
cmp byte [ebp + 0xc], 0
je 0x100053ca
push 4
lea eax, [ebp - 0x108c]
mov dword [ebp - 0x108c], 2
push eax
push 0x3f
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x100053ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xf8], eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
mov byte [ebp - 0x1098], 0
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x10005612
lea eax, [ebp - 0x1060]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x1060], xmm0
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x10005658
mov eax, dword [ebp - 0x105c]
test eax, eax
je 0x100054fc
cmp dword [esi + 0x1c], 7
xorps xmm0, xmm0
mov dword [ebp - 0x10d8], eax
lea eax, [esi + 8]
mov dword [ebp - 0x10e0], 3
mov dword [ebp - 0x10dc], 1
mov dword [ebp - 0x10cc], 1
mov dword [ebp - 0x10d0], 0
mov dword [ebp - 0x10d4], 0
movq qword [ebp - 0x10b0], xmm0
mov dword [ebp - 0x10a8], 0
jbe 0x10005472
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x10b0]
push ecx
lea ecx, [ebp - 0x10e0]
push ecx
push eax
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x100055bc
push 0xc
lea eax, [ebp - 0x10b0]
push eax
push 0x26
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x100054d3
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ecx, dword [ebp - 0x1098]
test eax, eax
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x1098], ecx
mov eax, dword [ebp - 0x10ac]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x100054e6
push eax
call edi
mov eax, dword [ebp - 0x10a8]
test eax, eax
je 0x100055c8
push eax
call edi
jmp 0x100055c8
mov edi, dword [ebp - 0x1058]
test edi, edi
je 0x100055e8
xor eax, eax
mov dword [ebp - 0x10bc], 3
push 0x206
push eax
mov word [ebp - 0x218], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x216]
movlpd qword [ebp - 0x10b8], xmm0
push eax
call fcn.10068bc0
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1007368f
mov edi, dword [ebp - 0x1054]
lea eax, [ebp - 0x218]
add esp, 0x18
mov dword [ebp - 0x10b8], eax
test edi, edi
je 0x100055a1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.10068bc0
push edi
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.1007368f
lea eax, [ebp - 0x628]
add esp, 0x18
mov dword [ebp - 0x10b4], eax
push 0xc
lea eax, [ebp - 0x10bc]
push eax
push 0x26
push dword [ebp - 0x1094]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x100055c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xf8], eax
mov eax, dword [ebp - 0x105c]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x100055db
push eax
call edi
mov eax, dword [ebp - 0x1058]
test eax, eax
je 0x100055e8
push eax
call edi
mov eax, dword [ebp - 0x1054]
test eax, eax
je 0x100055f9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [ebp - 0x1098], 0
mov edi, dword [ebp - 0x1094]
mov ecx, dword [ebp - 0x1088]
je 0x10005184
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x1000564b
lea ecx, [ebp - 0x108c]
mov dword [ebp - 0x108c], 0
push ecx
push dword [esi + 0xc4]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x1000564b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xf8], eax
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x1000566f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1088]
mov dword [esi + 0xf8], eax
jmp 0x10005184
push 0
lea eax, [ebp - 0x1088]
mov dword [ebp - 0x1088], 0
push eax
push 0
push 0
push 0x16
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call edi
mov ecx, 2
test eax, eax
jne 0x100056ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000572d
mov ecx, 2
mov eax, dword [ebp - 0x1088]
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.100664df
mov edi, eax
add esp, 4
test edi, edi
je 0x10005727
mov ecx, dword [ebp - 0x1088]
add ecx, ecx
push ecx
push 0
push edi
call fcn.10068bc0
add esp, 0xc
lea eax, [ebp - 0x1088]
push 0
push eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push edi
push 0
push 0x16
push dword [ebp - 0x1094]
call eax
test eax, eax
je 0x1000571e
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005705
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x38]
call fcn.10005e20
push edi
call fcn.100664e8
add esp, 4
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x1088], 0
je 0x100057ec
push 0
lea eax, [ebp - 0x1088]
push eax
push 0
push 0
push 0x13
push dword [ebp - 0x1094]
call edi
test eax, eax
jne 0x1000576b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100057ec
mov eax, dword [ebp - 0x1088]
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.100664df
mov edi, eax
add esp, 4
test edi, edi
je 0x100057ec
mov ecx, dword [ebp - 0x1088]
add ecx, ecx
push ecx
push 0
push edi
call fcn.10068bc0
add esp, 0xc
lea eax, [ebp - 0x1088]
push 0
push eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push edi
push 0
push 0x13
push dword [ebp - 0x1094]
call eax
test eax, eax
je 0x100057e3
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100057c7
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0xfc]
call fcn.10005e20
push edi
call fcn.100664e8
add esp, 4
mov eax, dword [esi + 0x80]
mov ecx, 0x2800
xor edi, edi
mov dword [ebp - 0x109c], ecx
test eax, eax
je 0x10005812
push eax
call fcn.100664e8
add esp, 4
mov dword [esi + 0x80], edi
push 0x2800
call fcn.100664df
add esp, 4
mov dword [esi + 0x80], eax
test eax, eax
je 0x10005b7b
push 0x2800
push 0
push eax
call fcn.10068bc0
add esp, 0xc
nop dword [eax]
lea eax, [ebp - 0x1088]
mov dword [ebp - 0x1088], 0
push eax
push dword [ebp - 0x1094]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x100059bf
mov edx, dword [esi + 0x88]
test edx, edx
je 0x100058bc
mov ecx, dword [esi + 0x8c]
test ecx, ecx
je 0x100058bc
movd xmm1, edi
mov eax, edi
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
sub esp, 8
movd xmm0, ecx
addsd xmm1, qword [eax*8 + 0x100bd820]
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mulsd xmm1, qword [0x100bd6b8]
addsd xmm0, qword [ecx*8 + 0x100bd820]
divsd xmm1, xmm0
movsd qword [esp], xmm1
call edx
add esp, 8
mov eax, dword [ebp - 0x1088]
inc eax
push eax
call fcn.100664df
add esp, 4
mov dword [ebp - 0x10a0], eax
test eax, eax
je 0x100059cb
mov ecx, dword [ebp - 0x1088]
inc ecx
push ecx
push 0
push eax
call fcn.10068bc0
add esp, 0xc
mov dword [ebp - 0x1098], 0
lea eax, [ebp - 0x1098]
push eax
push dword [ebp - 0x1088]
push dword [ebp - 0x10a0]
push dword [ebp - 0x1094]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x100059af
mov ecx, dword [ebp - 0x1098]
mov edx, dword [ebp - 0x109c]
lea eax, [ecx + edi]
cmp eax, edx
jbe 0x10005991
mov eax, dword [esi + 0x80]
add edx, edx
push edx
mov dword [ebp - 0x108c], eax
mov dword [ebp - 0x109c], edx
call fcn.100664df
add esp, 4
mov dword [esi + 0x80], eax
test eax, eax
je 0x100059da
mov ecx, dword [ebp - 0x109c]
push ecx
push 0
push eax
call fcn.10068bc0
push edi
push dword [ebp - 0x108c]
push dword [esi + 0x80]
call fcn.10068e60
push dword [ebp - 0x108c]
call fcn.100664e8
mov ecx, dword [ebp - 0x1098]
add esp, 0x1c
mov eax, dword [esi + 0x80]
push ecx
push dword [ebp - 0x10a0]
add eax, edi
push eax
call fcn.10068e60
add esp, 0xc
add edi, dword [ebp - 0x1098]
push dword [ebp - 0x10a0]
call fcn.100664e8
add esp, 4
jmp 0x100059cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xf8], eax
cmp dword [ebp - 0x1088], 0
ja 0x10005840
jmp 0x100059ed
mov eax, dword [ebp - 0x108c]
mov dword [esi + 0x80], eax
mov byte [ebp - 0x1081], 0
mov edx, dword [esi + 0x88]
test edx, edx
je 0x10005a44
mov ecx, dword [esi + 0x8c]
test ecx, ecx
je 0x10005a44
movd xmm1, edi
mov eax, edi
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
sub esp, 8
movd xmm0, ecx
addsd xmm1, qword [eax*8 + 0x100bd820]
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mulsd xmm1, qword [0x100bd6b8]
addsd xmm0, qword [ecx*8 + 0x100bd820]
divsd xmm1, xmm0
movsd qword [esp], xmm1
call edx
add esp, 8
lea eax, [esi + 0x68]
mov dword [esi + 0x84], edi
cmp dword [eax + 0x14], 7
jbe 0x10005a55
mov eax, dword [eax]
push 5
push str.utf_8
push eax
call fcn.100739da
add esp, 0xc
xor edx, edx
test eax, eax
mov ecx, 0xfde9
setne dl
xor edi, edi
push edi
test eax, eax
mov dword [ebp - 0x10a0], edx
mov eax, dword [esi + 0x84]
cmovne ecx, edi
inc eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push dword [esi + 0x80]
mov dword [ebp - 0x109c], ecx
push edx
push ecx
call edi
mov dword [ebp - 0x108c], eax
test eax, eax
jg 0x10005ae2
mov eax, dword [esi + 0x84]
push 0
push 0
inc eax
mov dword [ebp - 0x109c], 0
push eax
push dword [esi + 0x80]
mov dword [ebp - 0x10a0], 1
push 1
push 0
call edi
mov dword [ebp - 0x108c], eax
test eax, eax
jle 0x10005b72
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.100664df
mov edi, eax
add esp, 4
test edi, edi
je 0x10005b72
mov ecx, dword [ebp - 0x108c]
add ecx, ecx
push ecx
push 0
push edi
call fcn.10068bc0
mov eax, dword [esi + 0x84]
add esp, 0xc
inc eax
push dword [ebp - 0x108c]
push edi
push eax
push dword [esi + 0x80]
push dword [ebp - 0x10a0]
push dword [ebp - 0x109c]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x10005b69
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005b50
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x50]
call fcn.10005e20
push edi
call fcn.100664e8
add esp, 4
mov byte [ebp - 0x108d], 1
jmp 0x10005b82
mov byte [ebp - 0x1081], 0
mov edi, dword [ebp - 0x1094]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov al, byte [ebp - 0x1081]
and al, byte [ebp - 0x108d]
mov byte [ebp - 0x1081], al
push dword [ebp - 0x10a4]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x10005bc1
mov eax, 0x57
mov dword [esi + 0xf8], eax
mov byte [ebp - 0x1081], 0
lea ecx, [ebp - 0x1080]
call fcn.10002fe0
mov al, byte [ebp - 0x1081]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006638a
mov esp, ebp
pop ebp
ret 0xc
call fcn.1007358d
int3