Function at 0x4fe1f5
Capabilities:
Get remote cert context via schannel
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb0
lea eax, [edx + 0xc]
mov edi, edx
mov dword [esp + 8], ecx
mov dword [esp + 0x98], eax
lea eax, [edx + 0x70]
mov dword [esp + 0x64], eax
lea eax, [edx + 0x14]
mov dword [esp + 0xa8], eax
lea eax, [edx + 4]
mov dword [esp + 0x94], eax
lea eax, [edx + 0x60]
mov dword [esp + 0x9c], eax
push 2
pop ebp
mov dword [esp], edx
movzx eax, byte [edi + 8]
test eax, eax
jne 0x4fec37
mov cl, byte [edi + 0xb]
mov al, byte [edi + 0xa]
mov dword [esp + 0x10], ebx
mov bh, byte [edi + 9]
mov bl, byte [edi + 0xc]
mov edx, edi
mov byte [esp + 7], cl
lea ecx, [esp + 0x3c]
mov byte [esp + 0x18], al
call fcn.004ff15c
cmp byte [esp + 0x3c], 4
jne 0x4fe276
mov eax, dword [esp + 0x40]
jmp 0x4fe287
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp cl, 4
jne 0x4fec77
test eax, eax
je 0x4fe297
cmp byte [edi + 8], 0
jne 0x4fe29b
mov byte [edi + 9], 1
jmp 0x4fe29b
test bh, bh
je 0x4fe2c9
mov eax, dword [edi + 0x24]
push dword [edi + 0x20]
lea ecx, [esp + 0x40]
push ecx
call dword [eax + 0x38]
add esp, 8
cmp byte [esp + 0x3c], 4
je 0x4fe2bf
mov eax, dword [esp + 0x3c]
cmp al, 4
jne 0x4feca6
cmp byte [edi + 8], 0
jne 0x4fe2c9
mov byte [edi + 9], 0
or bl, byte [esp + 7]
je 0x4fe2d8
mov ebx, dword [esp + 0x10]
jmp 0x4fe787
cmp byte [edi + 0xa6], 0
je 0x4fe2e8
xor eax, eax
jmp 0x4fe76f
and dword [esp + 0x24], 0
lea eax, [esp + 0x24]
push eax
push 0x53
push dword [esp + 0x6c]
call dword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x4fe328
and dword [esp + 0x3c], 0
cmp byte [esp + 0x18], 0
mov ecx, eax
mov dword [esp + 0x40], eax
je 0x4fe335
lea eax, [esp + 0x3c]
push eax
call fcn.004fdf2b
pop eax
mov bl, 4
xor eax, eax
jmp 0x4fe766
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
mov byte [esp + 0x3c], 4
mov ebx, dword [esp + 0x3c]
cmp bl, 4
jne 0x4fe3cb
mov ebx, dword [ecx + 0x10]
mov dword [esp + 0xc], ecx
test ebx, ebx
je 0x4fe3e3
push ebx
call dword [sym.imp.crypt32.dll_CertDuplicateStore]
cmp dword [edi], 0
mov esi, eax
je 0x4fe405
mov eax, dword [esp + 0x94]
and dword [esp + 0x3c], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x3c]
call fcn.004d4b0b
test eax, eax
je 0x4fe3ee
mov ebp, edx
lea ecx, [esp + 0x24]
mov edx, esi
push ebp
call fcn.004d4ad3
pop eax
cmp byte [esp + 0x24], 4
jne 0x4fe3a9
mov edi, dword [esp + 0x28]
and ebx, 0xffffff00
or ebx, 4
jmp 0x4fe3b1
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cmp bl, 4
jne 0x4fe56f
push edi
mov edi, dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call edi
push ebp
call edi
mov edi, dword [esp]
jmp 0x4fe377
mov eax, ebx
shrd eax, ecx, 0x10
shr ecx, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov al, bh
jmp 0x4fe766
mov esi, dword [edi]
test esi, esi
je 0x4fe410
mov esi, dword [edi + 4]
jmp 0x4fe410
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
call fcn.004d4b5d
cmp dword [esp + 0x14], 0
push 2
pop ebp
je 0x4fe40c
mov ecx, esi
call fcn.004d4ac1
mov ecx, dword [esp + 0xc]
and dword [esp + 0x78], 0
lea eax, [esp + 0x24]
mov dword [esp + 0x3c], 0x10
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 3
mov dword [esp + 0x24], str.1.3.6.1.5.5.7.3.1
mov dword [esp + 0x28], str.1.3.6.1.4.1.311.10.3.3
mov dword [esp + 0x2c], str.2.16.840.1.113730.4.1
mov dword [esp + 0x48], eax
lea eax, [esp + 0x78]
push eax
push 0
push 0xc0000001
lea eax, [esp + 0x48]
push eax
push esi
push 0
push ecx
push 0
call dword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x4fe54a
mov eax, dword [esp + 0x78]
cmp dword [edi], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x74], eax
je 0x4fe540
lea ecx, [esp + 0x24]
lea edx, [esp + 0x74]
call fcn.004d49e7
cmp dword [esp + 0x24], 0
je 0x4fe540
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x78], ecx
and dword [esp + 0x7c], 0
lea ecx, [esp + 0x78]
call fcn.004d4a7e
mov edi, edx
cmp eax, 1
jne 0x4fe5af
mov eax, dword [esp + 0x94]
mov dword [esp + 0x44], eax
and dword [esp + 0x3c], 0
lea ecx, [esp + 0x3c]
call fcn.004d4b0b
mov ebp, eax
mov esi, edx
cmp eax, 1
jne 0x4fe514
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push dword [edi + 8]
push dword [edi + 4]
call fcn.00418dbd
pop ecx
pop edx
mov ebx, eax
push esi
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test bl, bl
je 0x4fe4e0
jmp 0x4fe51d
mov ecx, ebp
mov edx, esi
call fcn.004d4b5d
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
call fcn.004d4b5d
push edi
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp ebp, 1
push 2
pop ebp
jne 0x4fe4bc
mov esi, 0xf10
jmp 0x4fe5bd
mov esi, 0xf00
jmp 0x4fe5ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
shl eax, 0x10
mov dword [esp + 0x14], 0
xor ebx, ebx
shr ecx, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
jmp 0x4fe757
mov eax, ebx
shrd eax, edi, 0x10
shr edi, 0x10
mov dword [esp + 0x38], eax
push ebp
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
call fcn.004d4b5d
xor ecx, ecx
mov edx, esi
inc ecx
call fcn.004fe12d
mov dword [esp + 0x34], edi
mov edi, dword [esp]
mov al, bh
mov dword [esp + 0x14], eax
push 2
pop ebp
jmp 0x4fe757
mov ecx, eax
mov edx, edi
call fcn.004d4b5d
mov esi, 0xf00
push dword [esp + 0x6c]
call dword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov edi, dword [esp]
mov eax, dword [edi + 0x84]
and dword [esp + 0x84], 0
and dword [esp + 0x80], 0
mov dword [esp + 0x78], 0x10
mov dword [esp + 0x7c], 2
test eax, eax
je 0x4fe604
cmp byte [edi + 0xa5], 0
jne 0x4fe604
mov dword [esp + 0x84], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x68], 0xc
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], eax
lea eax, [esp + 0x40]
and dword [eax + 4], 0
and dword [eax], 0
and dword [eax + 0xc], 0
and dword [eax + 8], 0
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x14
push eax
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x68]
push 4
call dword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x4fe660
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4fe685
and dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
jmp 0x4fe68a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
shl eax, 0x10
mov dword [esp + 0x14], 0
xor ebx, ebx
shr ecx, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
jmp 0x4fe74d
mov byte [esp + 0x1c], 4
mov edx, dword [edi + 0x78]
test edx, edx
je 0x4fe6e9
mov ecx, dword [edi + 0x7c]
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x48]
mov esi, dword [ecx + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
dec esi
and esi, 0xfffffff8
lea edx, [esi + edx + 8]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
push eax
push edx
lea eax, [esp + 0x90]
push eax
call dword [ecx + 0x14]
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00522035
mov ebx, dword [esp + 0x88]
cmp bl, 4
jne 0x4fe70f
mov edi, dword [esp]
jmp 0x4fe6fc
mov ebx, dword [esp + 0x1c]
cmp bl, 4
jne 0x4fe732
push dword [esp + 0x60]
call dword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov al, 1
jmp 0x4fe773
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp]
mov eax, ebx
shrd eax, ecx, 0x10
shr ecx, 0x10
mov dword [esp + 0x38], eax
mov al, bh
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
jmp 0x4fe757
mov ecx, dword [esp + 0x20]
mov eax, ebx
shrd eax, ecx, 0x10
shr ecx, 0x10
mov dword [esp + 0x38], eax
mov al, bh
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
push dword [esp + 0x60]
call dword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov eax, dword [esp + 0x14]
cmp bl, 4
jne 0x4fecc5
mov ebx, dword [esp + 0x10]
test al, al
je 0x4fe787
cmp byte [edi + 8], 0
jne 0x4fe787
mov eax, dword [esp + 0x98]
mov byte [eax], 1
cmp byte [esp + 0x18], 0
je 0x4feba6
cmp dword [edi + 0x90], 0
je 0x4fe7cc
lea ecx, [esp + 0x3c]
mov edx, edi
call fcn.004ff1f3
cmp byte [esp + 0x3c], 4
jne 0x4fe7b3
mov eax, dword [esp + 0x40]
jmp 0x4fe7c4
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp cl, 4
jne 0x4fec77
test eax, eax
je 0x4fec83
mov eax, dword [esp]
mov edi, dword [eax + 0x40]
push 0x18
pop ecx
push 4
pop edx
call fcn.004b8ae6
mov esi, eax
mov eax, dword [esp]
mov ecx, dword [eax + 0x48]
mov eax, dword [esp]
mov edx, dword [eax + 0x50]
push 0x62fbe0
push edi
mov edi, dword [esp + 8]
call fcn.004ff2c3
pop ecx
pop ecx
test eax, eax
cmove edx, eax
mov dword [esi], edx
mov dword [esi + 4], ebp
mov dword [esi + 8], eax
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov edx, dword [edi + 0x98]
test edx, edx
je 0x4fe893
lea ecx, [esp + 0x68]
push dword [edi + 0xa0]
call fcn.004d4b75
pop eax
mov eax, dword [esp + 0x68]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4fe898
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
lea ecx, [esp + 0x88]
mov edx, ebp
call fcn.004d493d
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x88]
imul eax, ebp, 0xc
inc ebp
mov dword [esi + eax], edi
mov edi, dword [esp]
mov dword [esi + eax + 4], 0x12
mov dword [esi + eax + 8], ebx
mov dword [esp + 0x90], ebp
jmp 0x4fe8a0
and dword [esp + 0x68], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x40]
and dword [esp + 0x78], 0
and dword [esp + 0x3c], 0
mov dword [esp + 0x40], 2
and dword [esp + 0x44], 0
and dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x11
and dword [esp + 0x24], 0
and dword [esp + 0x74], 0
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], esi
mov dword [esp + 0x28], 3
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
and dword [eax + 0x1c], 0
and dword [eax + 0x18], 0
cmp byte [edi + 0xa6], 0
lea eax, [esp + 0x3c]
mov dword [esp + 0x2c], eax
je 0x4fe957
mov ecx, dword [edi + 0x80]
cmp byte [edi + 0xa7], 0
mov ebx, dword [esp + 0x64]
mov eax, 0
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmove eax, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
push 0
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push ebx
push 0
push 0x1011c
lea ecx, [esp + 0x90]
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.secur32.dll_AcceptSecurityContext]
jmp 0x4fe9bb
mov ecx, dword [edi + 0x84]
cmp byte [edi + 0xa4], 0
mov edx, 0
mov eax, ecx
cmove eax, edx
test ecx, ecx
cmove eax, ecx
mov ecx, dword [edi + 0x80]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
push 0
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
push 0
push 0x9819c
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov ebx, eax
push 0xffffffffffffffe8
pop edi
test edi, edi
je 0x4fe9d8
mov eax, dword [esp + edi + 0x68]
test eax, eax
je 0x4fe9d3
push eax
call dword [sym.imp.secur32.dll_FreeContextBuffer]
add edi, 0xc
jmp 0x4fe9c0
cmp ebx, 0x80090318
je 0x4fea79
test ebx, ebx
je 0x4feab9
cmp ebx, 0x90312
jne 0x4fecbc
mov edi, dword [esp]
mov edx, ebp
mov ecx, esi
mov byte [edi + 0xa7], 0
push 0x62fc10
call fcn.004ff2d8
pop ecx
cmp dword [eax + 4], 5
mov edx, dword [edi + 0x40]
jne 0x4fea31
mov edi, edx
mov edx, ebp
mov ecx, esi
push 0x62fc20
call fcn.004ff2d8
mov edx, edi
add esp, 4
sub edx, dword [eax]
mov edi, dword [esp]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov ecx, edi
call fcn.004ff2f2
mov eax, dword [edi + 0x40]
xor ecx, ecx
mov edx, ebx
or eax, dword [edi + 0x44]
mov eax, str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
sete cl
test ebp, ebp
mov dword [edi + 0x90], ecx
mov ecx, dword [esp + 0x9c]
cmove edx, eax
add ebp, edx
push ebp
call fcn.00464149
pop eax
push ebx
call dword [sym.imp.secur32.dll_FreeContextBuffer]
jmp 0x4feaad
mov ecx, esi
mov edx, ebp
push 0x62fc30
call fcn.004ff2d8
pop ecx
cmp dword [eax + 4], 4
mov eax, 1
jne 0x4feaa4
mov ecx, esi
mov edx, ebp
push 0x62fc40
call fcn.004ff2d8
pop ecx
mov eax, dword [eax]
mov edi, dword [esp]
mov dword [edi + 0x90], eax
push 2
pop ebp
mov ebx, dword [esp + 0x10]
jmp 0x4feb86
mov ecx, esi
mov edx, ebp
push 0x62fbf0
call fcn.004ff2d8
pop ecx
mov ecx, dword [esp]
cmp dword [eax + 4], 5
mov ebx, dword [ecx + 0x40]
jne 0x4feae5
mov ecx, esi
mov edx, ebp
push 0x62fc00
call fcn.004ff2d8
pop ecx
sub ebx, dword [eax]
mov edi, dword [esp + 0x44]
test edi, edi
je 0x4feaf8
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xac], eax
mov ebp, dword [esp]
mov edx, ebx
mov ecx, ebp
call fcn.004ff2f2
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x44]
xor edx, edx
mov ebx, eax
or ebx, ecx
mov ebx, dword [esp + 0x10]
sete dl
test edi, edi
mov dword [ebp + 0x90], edx
cmovne ebx, edi
mov edi, ebp
je 0x4feb57
mov ecx, dword [esp + 0xac]
mov edx, ebx
mov eax, str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
test ecx, ecx
cmove edx, eax
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x9c]
push eax
call fcn.00464149
pop eax
push ebx
call dword [sym.imp.secur32.dll_FreeContextBuffer]
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x44]
or eax, ecx
push 2
pop ebp
je 0x4feb7c
lea ecx, [esp + 0x1c]
mov edx, edi
call fcn.004ff36c
cmp byte [esp + 0x1c], 4
je 0x4feb7c
mov eax, dword [esp + 0x1c]
cmp al, 4
jne 0x4fecf1
cmp byte [edi + 8], 0
jne 0x4feb86
mov byte [edi + 0xa], 0
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
call fcn.004ff4d5
mov edx, dword [esp + 0x8c]
mov ecx, esi
call fcn.004d49c5
jmp 0x4fe23a
cmp byte [esp + 7], 0
mov al, 2
jne 0x4fec03
and dword [esp + 0x4c], 0
xorps xmm0, xmm0
lea eax, [esp + 0x3c]
movups xmmword [esp + 0x3c], xmm0
push eax
push 4
push dword [esp + 0x6c]
call dword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x4fed44
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x40]
movsd xmm0, qword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
mov al, 1
movsd qword [esp + 0x24], xmm0
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov byte [edi + 8], al
movsd xmm0, qword [esp + 0x24]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x2c]
mov dword [ecx + 8], edx
movsd qword [ecx], xmm0
jmp 0x4fe23a
cmp eax, 1
jne 0x4fec6b
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 8]
mov eax, dword [edx + 0x10]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov dword [ecx + 0x14], eax
movsd qword [ecx + 0xc], xmm1
movsd qword [ecx + 4], xmm0
mov dword [ecx], 1
jmp 0x4fed39
mov eax, dword [esp + 8]
and dword [eax], 0
jmp 0x4fed39
mov edx, dword [esp + 8]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
jmp 0x4fecb4
mov esi, dword [esp + 8]
lea ecx, [esi + 4]
push 0x25
pop edx
push 0x1f
push str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
call fcn.004d4767
pop eax
pop ecx
mov dword [esi], 2
jmp 0x4fed39
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [edx], 2
jmp 0x4fed39
mov edi, ebx
shl ebx, 0x18
xor ebp, ebp
jmp 0x4fecfd
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov esi, eax
movzx eax, bl
shld edx, ecx, 0x10
shl ecx, 0x10
or eax, ecx
mov ecx, esi
mov esi, dword [esp + 8]
movzx ecx, cl
shl ecx, 8
or ecx, eax
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
jmp 0x4fec9b
mov edi, dword [esp + 0x20]
mov ebx, eax
mov ebp, eax
shrd ebx, edi, 8
shr edi, 8
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
call fcn.004ff4d5
mov edx, dword [esp + 0x8c]
mov ecx, esi
call fcn.004d49c5
mov ecx, dword [esp + 8]
mov eax, ebp
shld edi, ebx, 8
shl ebx, 8
movzx eax, al
or eax, ebx
mov dword [ecx + 8], edi
mov dword [ecx + 4], eax
mov dword [ecx], 2
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 8]
and dword [ecx + 4], 0
mov dword [ecx + 8], eax
jmp 0x4fed33