Function at 0x50712b
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
lea esi, [edi + 0x18]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x60], eax
push dword [ecx]
push 0xa
push eax
call dword [sym.imp.MSVCR120.dll_memchr]
mov ebx, eax
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, esi
mov dword [esi + 0x64], ebx
mov ecx, edi
test ebx, ebx
je 0x507d18
sub ebx, dword [esi + 0x5c]
inc ebx
sub dword [eax], ebx
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.00506fe8
pop ecx
test eax, eax
jne 0x507d51
mov eax, dword [esi + 0x54]
mov edx, dword [esi + 0x50]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x554]
mov dword [esi + 0x68], eax
test edx, edx
jne 0x5071be
cmp dword [esi + 0x58], 5
jbe 0x5071be
push dword [edi + 0x554]
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.00506fb8
pop ecx
test eax, eax
je 0x507c2b
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x68]
mov al, byte [ecx]
cmp al, 0xa
je 0x507a45
cmp al, 0xd
je 0x507a49
lea eax, [edx + 1]
mov dword [esi + 0x50], eax
test edx, edx
jne 0x5073b7
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x214]
mov eax, dword [eax + 0x3c]
test al, 1
je 0x50731e
lea eax, [esi + 0x78]
push eax
lea ebx, [edx + 0x118]
push ebx
lea eax, [ebp - 0xc]
push eax
push str._HTTP__d._d__3d
push ecx
call dword [sym.imp.MSVCR120.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x5072d7
imul eax, dword [ebp - 0xc], 0xa
add dword [ebx], eax
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x78]
mov dword [edi + 0x86ac], eax
mov eax, dword [ebx]
mov dword [edi + 0x86b4], eax
mov eax, dword [edi + 0x8640]
test eax, eax
je 0x507244
cmp eax, dword [ebx]
jle 0x50724c
mov eax, dword [ebx]
mov dword [edi + 0x8640], eax
xor edx, edx
cmp dword [edi + 0x2b8], edx
je 0x5072ad
lea eax, [esi + 0x78]
cmp dword [eax], 0x190
jl 0x5072ad
cmp dword [eax], 0x191
jne 0x507271
cmp dword [ecx + 0x1b0], edx
jne 0x5072ad
cmp dword [eax], 0x197
jne 0x507281
cmp dword [ecx + 0x1b4], edx
jne 0x5072ad
mov eax, dword [edi + 0x8670]
or eax, dword [edi + 0x8674]
je 0x507c51
cmp dword [edi + 0x218], 1
jne 0x507c51
cmp dword [esi + 0x78], 0x1a0
jne 0x507c51
cmp dword [ebx], 0xa
jne 0x50736a
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.00500cc1
mov eax, dword [ebp - 4]
xor edx, edx
pop ecx
pop ecx
mov dword [eax + 0x1a0], 1
jmp 0x507381
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push dword [esi + 0x68]
call dword [sym.imp.MSVCR120.dll_sscanf]
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x507222
mov edx, dword [esi + 0x68]
mov ecx, edi
call fcn.00506f63
test eax, eax
je 0x507d4b
mov dword [esi + 0x78], 0xc8
mov dword [ebx], 0xa
jmp 0x507222
test eax, 0x40000
je 0x507d4b
lea eax, [esi + 0x78]
push eax
lea ebx, [edx + 0x11c]
push ebx
lea eax, [ebp - 0x10]
push eax
push str._RTSP__d._d__3d
push ecx
call dword [sym.imp.MSVCR120.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x507d4b
imul eax, dword [ebp - 0x10], 0xa
mov ecx, dword [ebp - 4]
add dword [ebx], eax
lea ebx, [ecx + 0x118]
mov dword [ebx], 0xb
jmp 0x507225
cmp dword [ebx], 0xb
jl 0x507381
cmp dword [ecx + 0x1a0], edx
jne 0x507381
mov dword [ecx + 0x25c], 1
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x507390
sub eax, 0x64
jne 0x5073b7
cmp dword [edi + 0x208], edx
je 0x5073a2
mov dword [edi + 0x86bc], 1
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
jne 0x507466
cmp dword [edi + 0x318], 0
jne 0x507466
mov ebx, dword [esi + 0x68]
mov ecx, str.Content_Length:
push 0xf
mov edx, ebx
call fcn.00514e2d
pop ecx
test eax, eax
je 0x507466
push 0xa
lea eax, [ebx + 0xf]
push 0
push eax
call dword [sym.imp.MSVCR120.dll__strtoi64]
mov ecx, dword [edi + 0x280]
add esp, 0xc
mov ebx, dword [edi + 0x284]
or ecx, ebx
je 0x50741e
cmp edx, ebx
jg 0x507c5d
jl 0x50741e
cmp eax, dword [edi + 0x280]
ja 0x507c5d
test edx, edx
jl 0x507444
jg 0x507428
test eax, eax
jb 0x507444
push edx
push eax
mov ecx, edi
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.005085fd
add esp, 8
jmp 0x5079e5
mov ebx, dword [ebp - 4]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push edi
mov dword [ebx + 0x1a0], 1
call fcn.00500cc1
add esp, 0x10
jmp 0x507586
mov edx, dword [esi + 0x68]
mov ecx, str.Content_Type:
push 0xd
call fcn.00514e2d
pop ecx
test eax, eax
je 0x5074c2
mov ecx, dword [esi + 0x68]
call fcn.0050498a
mov ebx, eax
test ebx, ebx
je 0x507c71
cmp byte [ebx], 0
jne 0x50749e
push ebx
call dword [0x5b6c48]
pop ecx
jmp 0x5079e5
mov eax, dword [edi + 0x86d4]
test eax, eax
je 0x5074b7
push eax
call dword [0x5b6c48]
and dword [edi + 0x86d4], 0
pop ecx
mov dword [edi + 0x86d4], ebx
jmp 0x5079e5
mov ebx, dword [ebp - 4]
cmp dword [ebx + 0x118], 0xa
jne 0x5074f5
cmp dword [ebx + 0x1ac], 0
je 0x5074f5
mov ecx, dword [esi + 0x68]
mov edx, str.Proxy_Connection:
push str.keep_alive
call fcn.00505564
pop ecx
test eax, eax
je 0x5074f5
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
jmp 0x507554
cmp dword [ebx + 0x118], 0xb
jne 0x50752f
cmp dword [ebx + 0x1ac], 0
je 0x50752f
mov ecx, dword [esi + 0x68]
mov edx, str.Proxy_Connection:
push str.close
call fcn.00505564
pop ecx
test eax, eax
je 0x50752f
mov dword [ebx + 0x1a0], 1
push str.HTTP_1.1_proxy_connection_set_close__n
jmp 0x50755b
cmp dword [ebx + 0x118], 0xa
jne 0x507565
mov ecx, dword [esi + 0x68]
mov edx, str.Connection:
push str.keep_alive
call fcn.00505564
pop ecx
test eax, eax
je 0x507565
push str.HTTP_1.0_connection_set_to_keep_alive__n
and dword [ebx + 0x1a0], 0
push edi
call fcn.00500cc1
pop ecx
pop ecx
jmp 0x507586
mov ecx, dword [esi + 0x68]
mov edx, str.Connection:
push str.close
call fcn.00505564
pop ecx
test eax, eax
je 0x50758d
mov dword [ebx + 0x1a0], 1
mov ecx, ebx
jmp 0x5079e8
mov ebx, dword [esi + 0x68]
mov ecx, str.Transfer_Encoding:
push 0x12
mov edx, ebx
call fcn.00514e2d
pop ecx
test eax, eax
je 0x5076e0
add ebx, 0x12
jmp 0x5075c1
movzx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_isspace]
pop ecx
test eax, eax
jne 0x5075c0
cmp byte [ebx], 0x2c
jne 0x5075c7
inc ebx
mov al, byte [ebx]
test al, al
jne 0x5075ac
push 7
mov edx, ebx
mov ecx, str.chunked
call fcn.00514e2d
pop ecx
test eax, eax
je 0x5075f9
mov eax, dword [ebp - 4]
mov dword [esi + 0xc8], 1
and dword [eax + 0x18], 0
and dword [eax + 0x24], 0
add ebx, 7
mov dword [eax + 0x1c], 1
cmp dword [esi + 0x88], 0
jne 0x5079e5
push 8
mov edx, ebx
mov ecx, str.identity
call fcn.00514e2d
pop ecx
test eax, eax
je 0x507625
and dword [esi + 0x88], 0
jmp 0x5076b0
push 7
mov edx, ebx
mov ecx, str.deflate
call fcn.00514e2d
pop ecx
test eax, eax
je 0x50764a
mov dword [esi + 0x88], 1
add ebx, 7
jmp 0x5075c1
push 4
mov edx, ebx
mov ecx, str.gzip
call fcn.00514e2d
pop ecx
test eax, eax
je 0x50766f
mov dword [esi + 0x88], 2
add ebx, 4
jmp 0x5075c1
push 6
mov edx, ebx
mov ecx, str.x_gzip
call fcn.00514e2d
pop ecx
test eax, eax
je 0x507694
mov dword [esi + 0x88], 2
add ebx, 6
jmp 0x5075c1
push 8
mov edx, ebx
mov ecx, str.compress
call fcn.00514e2d
pop ecx
test eax, eax
je 0x5076b8
push 3
pop eax
mov dword [esi + 0x88], eax
add ebx, 8
jmp 0x5075c1
push 0xa
mov edx, ebx
mov ecx, str.x_compress
call fcn.00514e2d
pop ecx
test eax, eax
je 0x5079e5
push 3
pop eax
mov dword [esi + 0x88], eax
add ebx, 0xa
jmp 0x5075c1
push 0x11
mov edx, ebx
mov ecx, str.Content_Encoding:
call fcn.00514e2d
pop ecx
test eax, eax
je 0x5077cd
cmp dword [edi + 0x358], 0
je 0x5077cd
add ebx, 0x11
jmp 0x507719
movzx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_isspace]
pop ecx
test eax, eax
je 0x50771f
inc ebx
mov al, byte [ebx]
test al, al
jne 0x507709
push 8
mov edx, ebx
mov ecx, str.identity
call fcn.00514e2d
pop ecx
test eax, eax
je 0x50773e
and dword [esi + 0x88], 0
jmp 0x5079e5
push 7
mov edx, ebx
mov ecx, str.deflate
call fcn.00514e2d
pop ecx
test eax, eax
je 0x507760
mov dword [esi + 0x88], 1
jmp 0x5079e5
push 4
mov edx, ebx
mov ecx, str.gzip
call fcn.00514e2d
pop ecx
test eax, eax
jne 0x5077be
push 6
mov edx, ebx
mov ecx, str.x_gzip
call fcn.00514e2d
pop ecx
test eax, eax
jne 0x5077be
push 8
mov edx, ebx
mov ecx, str.compress
call fcn.00514e2d
pop ecx
test eax, eax
jne 0x5077b0
push 0xa
mov edx, ebx
mov ecx, str.x_compress
call fcn.00514e2d
pop ecx
test eax, eax
je 0x5079e5
push 3
pop ecx
mov dword [esi + 0x88], ecx
jmp 0x5079e5
mov dword [esi + 0x88], 2
jmp 0x5079e5
push 0xe
mov edx, ebx
mov ecx, str.Content_Range:
call fcn.00514e2d
pop ecx
test eax, eax
je 0x507839
add ebx, 0xe
jmp 0x5077f5
movzx eax, al
push eax
call dword [sym.imp.MSVCR120.dll_isdigit]
pop ecx
test eax, eax
jne 0x5077fb
inc ebx
mov al, byte [ebx]
test al, al
jne 0x5077e5
push 0xa
push 0
push ebx
call dword [sym.imp.MSVCR120.dll__strtoi64]
mov dword [esi + 0x70], eax
add esp, 0xc
mov dword [esi + 0x74], edx
mov eax, dword [edi + 0x8670]
cmp eax, dword [esi + 0x70]
jne 0x5079e5
mov ecx, dword [ebp - 4]
cmp dword [edi + 0x8674], edx
jne 0x5079e8
mov dword [esi + 0x6c], 1
jmp 0x5079e8
cmp dword [edi + 0x430], 0
je 0x5078a3
push 0xb
mov edx, ebx
mov ecx, str.Set_Cookie:
call fcn.00514e2d
pop ecx
test eax, eax
je 0x5078a3
push ecx
push 2
pop edx
mov ecx, edi
call fcn.0050cb91
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x244]
test eax, eax
jne 0x507874
mov eax, dword [ecx + 0x80]
push dword [edi + 0x8658]
mov edx, dword [edi + 0x430]
mov ecx, edi
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
call fcn.00502fec
add esp, 0x10
mov ecx, edi
push 2
pop edx
call fcn.0050cbc4
jmp 0x5079e5
push 0xe
mov edx, ebx
mov ecx, str.Last_Modified:
call fcn.00514e2d
pop ecx
test eax, eax
je 0x507902
xor eax, eax
cmp dword [edi + 0x208], eax
jne 0x5078c8
cmp dword [edi + 0x29c], eax
je 0x507902
push eax
call dword [sym.imp.MSVCR120.dll__time64]
pop ecx
mov ecx, dword [esi + 0x68]
add ecx, 0xe
call fcn.005196a0
mov ecx, dword [ebp - 4]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [edi + 0x29c], 0
je 0x5079e8
mov dword [edi + 0x86b8], eax
jmp 0x5079e8
push 0x11
mov edx, ebx
mov ecx, str.WWW_Authenticate:
call fcn.00514e2d
pop ecx
test eax, eax
je 0x507920
mov edx, dword [esi + 0x78]
cmp edx, 0x191
je 0x50793e
push 0x13
mov edx, ebx
mov ecx, str.Proxy_authenticate:
call fcn.00514e2d
pop ecx
test eax, eax
je 0x50794d
mov edx, dword [esi + 0x78]
cmp edx, 0x197
jne 0x50794d
mov ecx, dword [ebp - 4]
push ebx
call fcn.0050506d
pop ecx
jmp 0x5079dd
cmp dword [esi + 0x78], 0x12c
jl 0x5079c4
cmp dword [esi + 0x78], 0x190
jge 0x5079c4
push 9
mov edx, ebx
mov ecx, str.Location:
call fcn.00514e2d
pop ecx
test eax, eax
je 0x5079c4
cmp dword [edi + 0xd0], 0
jne 0x5079c4
mov ecx, ebx
call fcn.0050498a
test eax, eax
je 0x507c71
cmp byte [eax], 0
jne 0x507995
push eax
jmp 0x507492
cmp dword [edi + 0x2bc], 0
mov dword [edi + 0xd0], eax
je 0x5079e5
push eax
call dword [0x5b6c44]
mov dword [edi + 0xd4], eax
pop ecx
test eax, eax
je 0x507c71
mov ecx, dword [ebp - 4]
call fcn.00504b51
jmp 0x5079dd
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x214]
test dword [eax + 0x3c], 0x40000
je 0x5079e8
mov edx, ebx
call fcn.0050d706
test eax, eax
jne 0x507d51
mov ecx, dword [ebp - 4]
cmp dword [edi + 0x2c8], 0
push 2
pop ebx
push 3
pop eax
cmovne ebx, eax
cmp dword [edi + 0x2e4], 0
je 0x507a15
push ecx
push dword [esi + 0x58]
xor edx, edx
mov ecx, edi
push dword [esi + 0x68]
inc edx
call fcn.005012e0
add esp, 0xc
push dword [esi + 0x58]
mov ecx, dword [ebp - 4]
mov edx, ebx
push dword [esi + 0x68]
call fcn.0050104b
pop ecx
pop ecx
test eax, eax
jne 0x507d51
mov eax, dword [esi + 0x58]
add dword [edi + 0x86c0], eax
mov eax, dword [esi + 0x58]
add dword [edi + 0x48], eax
xor edx, edx
jmp 0x507c03
cmp al, 0xd
jne 0x507a4f
lea eax, [ecx + 1]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x507a5b
inc eax
mov dword [esi + 0x68], eax
cmp dword [esi + 0x78], 0x64
jl 0x507a90
cmp dword [esi + 0x78], 0xc7
jg 0x507a90
mov ebx, dword [ebp - 4]
xor eax, eax
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], eax
cmp dword [esi + 0x84], eax
je 0x507aea
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], eax
jmp 0x507aea
mov eax, dword [esi]
xor ecx, ecx
and eax, dword [esi + 4]
mov ebx, dword [ebp - 4]
mov dword [esi + 0x48], ecx
cmp eax, 0xffffffff
jne 0x507aea
cmp dword [esi + 0xc8], ecx
jne 0x507aea
cmp dword [ebx + 0x1a0], ecx
jne 0x507aea
cmp dword [ebx + 0x118], 0xb
jl 0x507aea
mov eax, dword [ebx + 0x214]
test dword [eax + 0x3c], 0x40000
jne 0x507aea
cmp dword [edi + 0x218], 5
je 0x507aea
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.00500cc1
pop ecx
pop ecx
mov dword [ebx + 0x1a0], 1
mov ecx, ebx
call fcn.005051a7
test eax, eax
jne 0x507d02
cmp dword [edi + 0x2c8], eax
mov ebx, dword [esi + 0x68]
mov ecx, dword [ebp - 4]
push 2
pop edx
push 3
pop eax
cmovne edx, eax
mov eax, dword [edi + 0x554]
sub ebx, eax
push ebx
push eax
call fcn.0050104b
pop ecx
pop ecx
test eax, eax
jne 0x507d51
add dword [edi + 0x48], ebx
add dword [edi + 0x86c0], ebx
cmp dword [esi + 0x78], 0x64
mov eax, dword [edi + 0x48]
jl 0x507b46
cmp dword [esi + 0x78], 0xc7
jg 0x507b46
xor edx, edx
jmp 0x507b4a
xor edx, edx
mov eax, edx
mov dword [edi + 0x4c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], edx
jne 0x507bfe
mov ecx, dword [ebp - 4]
call fcn.00504cde
test eax, eax
jne 0x507d51
mov ecx, dword [ebp - 4]
xor edx, edx
cmp dword [esi + 0x78], 0x12c
jl 0x507bdd
cmp dword [ecx + 0x1d8], edx
jne 0x507bdd
cmp dword [ecx + 0x1a0], edx
jne 0x507bdd
cmp dword [ecx + 0x1dc], edx
jne 0x507be5
mov eax, dword [edi + 0x218]
add eax, 0xfffffffe
cmp eax, 2
ja 0x507bdd
cmp dword [esi + 0xac], edx
jne 0x507bdd
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.00500cc1
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor eax, eax
inc eax
xor edx, edx
mov dword [ecx + 0x1a0], eax
and dword [esi + 0xa8], 0xfffffffd
mov dword [esi + 0xac], eax
cmp dword [edi + 0x8644], edx
je 0x507bdd
push 3
pop eax
mov dword [esi + 0x84], eax
cmp dword [ecx + 0x1dc], edx
je 0x507bfb
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.00500cc1
or dword [esi + 0xa8], 2
xor edx, edx
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp dword [esi + 0x48], edx
je 0x507c78
mov eax, dword [edi + 0x554]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x58], edx
cmp dword [eax], edx
jne 0x507d4f
mov eax, dword [esi + 0x5c]
cmp byte [eax], 0
jne 0x50713c
jmp 0x507d4f
mov eax, dword [ebp + 8]
and dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x507c43
mov dword [esi + 0x4c], 1
jmp 0x507d4f
mov dword [esi + 0x4c], 2
mov dword [eax], ebx
jmp 0x507d4f
mov ecx, edi
call fcn.00507096
jmp 0x507d13
push str.Maximum_file_size_exceeded
push edi
call fcn.00500d35
pop ecx
pop ecx
push 0x3f
jmp 0x507d15
push 0x1b
jmp 0x507d15
cmp dword [edi + 0x2d4], edx
je 0x507c88
mov dword [eax], 1
jmp 0x507c9f
cmp dword [esi + 0xc8], edx
je 0x507c9f
or dword [esi], 0xffffffff
or dword [esi + 4], 0xffffffff
or dword [esi + 0x10], 0xffffffff
or dword [esi + 0x14], 0xffffffff
cmp dword [esi], 0xffffffff
jne 0x507caa
cmp dword [esi + 4], 0xffffffff
je 0x507cc6
push dword [esi + 4]
mov ecx, edi
push dword [esi]
call fcn.005085fd
mov eax, dword [esi]
add esp, 8
mov dword [esi + 0x10], eax
xor edx, edx
mov eax, dword [esi + 4]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
cmp dword [esi + 0x10], edx
jne 0x507cd9
cmp dword [esi + 0x14], edx
jne 0x507cd9
mov dword [eax], 1
cmp dword [eax], edx
je 0x507ce4
and dword [esi + 0xa8], 0xfffffffe
cmp dword [edi + 0x2e4], edx
je 0x507d4f
push dword [ebp - 4]
xor edx, edx
mov ecx, edi
push ebx
push dword [esi + 0x60]
inc edx
call fcn.005012e0
add esp, 0xc
jmp 0x507d4f
push dword [esi + 0x78]
push str.The_requested_URL_returned_error:__d
push edi
call fcn.00500d35
add esp, 0xc
push 0x16
pop eax
jmp 0x507d51
push dword [eax]
call fcn.00506fe8
pop ecx
test eax, eax
jne 0x507d51
cmp dword [esi + 0x50], eax
jne 0x507d4f
cmp dword [esi + 0x58], 5
jbe 0x507d4f
push dword [edi + 0x554]
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.00506fb8
pop ecx
test eax, eax
jne 0x507d4f
mov dword [esi + 0x4c], 2
and dword [esi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret