Function at 0x4797e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c097e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov edx, ecx
mov eax, dword [edx]
push esi
mov esi, dword [eax + 0x2c]
xor ecx, ecx
mov dword [esp + 0x3c], esi
mov esi, dword [0x50fcb0]
mov dword [esp + 0x30], edx
mov byte [esp + 0x17], 1
mov byte [esp + 7], 1
mov byte [esp + 0x16], cl
mov byte [esp + 0x1f], cl
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], esi
cmp dword [eax + 0x20], ecx
mov dword [esp + 0x8c], ecx
jbe 0x479854
lea esp, [esp]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + ecx*4]
mov byte [eax + 0x18], 0
mov eax, dword [edx]
mov esi, dword [eax + 0x20]
inc ecx
cmp ecx, esi
jb 0x479840
mov ecx, dword [0x50fcb0]
push ebx
push ebp
push edi
mov dword [esp + 0x1c], ecx
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
mov ebp, dword [esp + 0x3c]
mov byte [esp + 0x98], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], 1
mov edi, edi
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x40]
jae 0x47a061
mov ecx, dword [ebp]
lea ebx, [eax*4]
mov eax, dword [ecx + 0x14]
add eax, ebx
push eax
lea ecx, [esp + 0x20]
call fcn.004725c0
push 0x4e5514
lea ecx, [esp + 0x20]
call fcn.004727b0
test eax, eax
jne 0x4798c2
mov byte [esp + 0x23], al
jmp 0x47a047
mov al, byte [esp + 0x23]
test al, al
je 0x479f7f
mov edx, dword [esp + 0x1c]
cmp dword [edx - 8], 1
jbe 0x479f7f
lea ecx, [esp + 0x1c]
call fcn.00472030
mov ecx, dword [esp + 0x1c]
movsx edx, byte [ecx]
mov eax, dword [ebp]
mov eax, dword [eax]
push edx
push eax
call dword [sym.imp.MSVCR71.dll_strchr]
add esp, 8
test eax, eax
je 0x479f7f
mov eax, dword [0x50fcb0]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 2
or edi, 0xffffffff
call fcn.00472030
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0x2d
jne 0x479a72
lea ecx, [esp + 0x1c]
call fcn.00472030
mov eax, dword [esp + 0x1c]
cmp byte [eax + 1], 0x2d
jne 0x479a72
mov edx, dword [ebp]
mov bl, byte [edx + 4]
lea ecx, [eax + 2]
lea esi, [esp + 0x54]
mov byte [esp + 0x2a], 1
call fcn.00478ac0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 3
call fcn.004725c0
mov ecx, esi
mov byte [esp + 0x98], 2
call fcn.0041ef00
test bl, bl
je 0x4799e6
mov ecx, dword [ebp]
lea eax, [esp + 0x18]
push eax
call fcn.00478690
mov edi, eax
cmp edi, 0xffffffff
jne 0x479c8e
mov ecx, dword [esp + 0x18]
push ecx
push str.Unknown_long_option__s
call fcn.00403100
add esp, 4
push eax
lea edx, [esp + 0x8c]
push edx
call fcn.00473f50
add esp, 0xc
push 0x4d426c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 4
call fcn.00409b50
mov ecx, eax
call fcn.0040ee70
lea ecx, [esp + 0x84]
jmp 0x479c72
push 0x4e5514
lea ecx, [esp + 0x48]
call fcn.00402160
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 5
call fcn.00477380
lea ecx, [esp + 0x44]
mov byte [esp + 0x98], 2
call fcn.0041ef00
mov ecx, dword [esp + 0x18]
push ecx
push str.Unknown_option__s
call fcn.00403100
add esp, 4
push eax
lea edx, [esp + 0x94]
push edx
call fcn.00473f50
add esp, 0xc
push 0x4d426c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 6
call fcn.00409b50
mov ecx, eax
call fcn.0040ee70
lea ecx, [esp + 0x8c]
call fcn.0041ef00
mov byte [esp + 0x13], 0
jmp 0x479f4c
lea ecx, [eax + 1]
lea esi, [esp + 0x80]
mov byte [esp + 0x2a], 0
call fcn.00478aa0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 7
call fcn.004725c0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x98], 2
je 0x479ac1
dec ecx
mov dword [eax], ecx
jne 0x479ac1
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov eax, dword [esp + 0x18]
mov esi, dword [eax - 8]
test esi, esi
je 0x479b1c
push esi
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x20]
call fcn.00473780
mov ecx, dword [ebp]
push eax
mov byte [esp + 0x9c], 9
call fcn.00478630
mov edi, eax
mov eax, dword [esp + 0x60]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x98], 2
je 0x479b14
dec ecx
mov dword [eax], ecx
jne 0x479b14
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
dec esi
cmp edi, 0xffffffff
je 0x479ac8
jmp 0x479b8c
mov edx, dword [esp + 0x18]
push edx
push str.Unknown_option__s
call fcn.00403100
add esp, 4
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00473f50
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 8
call fcn.00472de0
push 0x4d426c
lea ecx, [esp + 0x18]
call fcn.0040ee70
mov eax, dword [esp + 0x78]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x98], 2
je 0x479b8c
dec ecx
mov dword [eax], ecx
jne 0x479b8c
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
inc esi
cmp edi, 0xffffffff
je 0x479c84
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx - 8]
je 0x479c7f
push esi
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x20]
call fcn.00473780
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 0xa
call fcn.004725c0
lea ecx, [esp + 0x68]
mov byte [esp + 0x98], 2
call fcn.0041ef00
mov eax, dword [ebp]
mov ecx, dword [eax + 0x24]
mov eax, dword [ecx + edi*4]
cmp dword [eax], 0
jne 0x479c7f
lea ecx, [esp + 0x1c]
call fcn.00472030
mov edx, dword [esp + 0x1c]
mov al, byte [edx]
mov byte [esp + 0x88], al
mov ecx, dword [esp + 0x88]
push ecx
push 1
lea ecx, [esp + 0x34]
call fcn.00472ef0
mov edx, dword [0x4e4f74]
push edx
inc esi
push esi
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0xb
call fcn.004735b0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 0xc
call fcn.00409b50
lea ecx, [esp + 0x70]
mov byte [esp + 0x98], 0xb
call fcn.0041ef00
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x2c]
lea ecx, [ecx + ebx + 4]
push edx
push ecx
lea ecx, [eax + 0xc]
call fcn.00471fb0
inc dword [esp + 0x40]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 2
call fcn.0041ef00
cmp edi, 0xffffffff
jne 0x479c8e
mov byte [esp + 0x13], 0
jmp 0x479f4c
mov edx, dword [ebp]
mov eax, dword [edx + 0x24]
mov esi, dword [eax + edi*4]
cmp dword [esi], 0
jne 0x479cb9
test byte [esi + 0x14], 8
mov byte [esi + 0x18], 1
je 0x479f4c
mov byte [esp + 0x22], 1
mov byte [esp + 0x13], 0
jmp 0x479f4c
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi - 8]
lea eax, [eax + ecx + 1]
mov cl, byte [esp + 0x2a]
test cl, cl
je 0x479d2b
mov dl, byte [eax + 1]
inc eax
inc eax
cmp dl, 0x3d
je 0x479df9
push edi
push str.Option__s_requires_a_value___expected.
call fcn.00403100
add esp, 4
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00473f50
add esp, 0xc
push 0x4d426c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0xd
call fcn.00409b50
mov ecx, eax
call fcn.0040ee70
lea ecx, [esp + 0x58]
call fcn.0041ef00
mov byte [esp + 0x13], 0
jmp 0x479f4c
mov cl, byte [eax]
test cl, cl
je 0x479d95
cmp cl, 0x3a
je 0x479d92
cmp cl, 0x3d
je 0x479d92
test byte [esi + 0x14], 0x10
je 0x479df9
push edi
push str.Separator_expected_after_the_option__s.
call fcn.00403100
add esp, 4
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.00473f50
add esp, 0xc
push 0x4d426c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0xf
call fcn.00409b50
mov ecx, eax
call fcn.0040ee70
lea ecx, [esp + 0x5c]
call fcn.0041ef00
mov byte [esp + 0x13], 0
jmp 0x479f4c
inc eax
jmp 0x479df9
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jne 0x479df3
push edi
push str.Option__s_requires_a_value.
call fcn.00403100
add esp, 4
push eax
lea edx, [esp + 0x6c]
push edx
call fcn.00473f50
add esp, 0xc
push 0x4d426c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0xe
call fcn.00409b50
mov ecx, eax
call fcn.0040ee70
lea ecx, [esp + 0x64]
call fcn.0041ef00
mov byte [esp + 0x13], 0
jmp 0x479f4c
mov ecx, dword [edx + 0x14]
mov eax, dword [ecx + eax*4]
mov cl, byte [esp + 0x13]
test cl, cl
je 0x479f4c
push eax
lea ecx, [esp + 0x38]
call fcn.00402160
mov eax, dword [esi + 0x10]
sub eax, 0
mov byte [esp + 0x98], 0x10
je 0x479f37
dec eax
je 0x479ec0
dec eax
jne 0x479f37
mov edx, dword [esp + 0x34]
or eax, 0xffffffff
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.004866a0
test eax, eax
je 0x479e6a
cmp byte [eax], 0
jne 0x479e6a
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x18], 1
jmp 0x479f43
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
push edx
push eax
push str.Option__s:__s_cannot_be_converted_to_a_date.
call fcn.00403100
add esp, 4
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.00473f50
add esp, 0x10
push 0x4d426c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0x12
call fcn.00409b50
mov ecx, eax
call fcn.0040ee70
lea ecx, [esp + 0x6c]
call fcn.0041ef00
mov byte [esp + 0x13], 0
jmp 0x479f43
push 0xa
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x3c]
call fcn.00471c50
test al, al
je 0x479ee1
mov eax, dword [esp + 0x74]
mov dword [esi + 0x1c], eax
mov byte [esi + 0x18], 1
jmp 0x479f43
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
push ecx
push edx
push str._s_is_not_a_correct_numeric_value_for_option__s.
call fcn.00403100
add esp, 4
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00473f50
add esp, 0x10
push 0x4d426c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 0x11
call fcn.00409b50
mov ecx, eax
call fcn.0040ee70
lea ecx, [esp + 0x7c]
call fcn.0041ef00
mov byte [esp + 0x13], 0
jmp 0x479f43
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00478440
lea ecx, [esp + 0x34]
call fcn.0041ef00
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x98], 1
je 0x47a047
dec ecx
mov dword [eax], ecx
jne 0x47a047
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
jmp 0x47a047
mov edx, dword [esp + 0x48]
cmp dword [esp + 0x38], edx
jae 0x479fc0
mov eax, dword [ebp]
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x38]
mov esi, dword [ecx + edx*4]
push 1
lea ecx, [esp + 0x20]
add eax, 0x34
push ecx
mov ecx, eax
call fcn.00472b50
test byte [esi + 8], 4
jne 0x479fb6
inc dword [esp + 0x38]
jmp 0x47a047
mov byte [esp + 0x2b], 1
jmp 0x47a047
call fcn.004758f0
test eax, eax
je 0x479fd9
push 0
push str.Unexpected_parameter__s
mov ecx, eax
call fcn.00475d60
jmp 0x479fde
mov eax, str.Unexpected_parameter__s
mov edx, dword [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00473f50
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 0x13
call fcn.00472de0
push 1
push 0x4d426c
push 1
lea ecx, [esp + 0x20]
call fcn.00472de0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x98], 1
je 0x47a042
dec ecx
mov dword [eax], ecx
jne 0x47a042
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov byte [esp + 0x13], 0
mov ecx, dword [esp + 0x24]
mov al, byte [esp + 0x13]
inc ecx
test al, al
mov dword [esp + 0x24], ecx
jne 0x479880
jmp 0x47a2c2
mov al, byte [esp + 0x13]
test al, al
je 0x47a2c2
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov ebp, dword [edx + 0x20]
mov edi, dword [sym.imp.MSVCR71.dll_free]
xor ebx, ebx
mov edi, edi
cmp ebx, ebp
jae 0x47a1d9
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov eax, dword [edx + ebx*4]
test byte [eax + 0x14], 1
je 0x47a1c7
mov dl, byte [eax + 0x18]
test dl, dl
jne 0x47a1c7
mov edx, dword [0x50fcb0]
mov dword [esp + 0x24], edx
mov esi, dword [eax + 8]
mov edx, dword [esi - 8]
test edx, edx
mov byte [esp + 0x98], 0x14
jne 0x47a0d4
add eax, 4
push eax
lea ecx, [esp + 0x28]
call fcn.004725c0
jmp 0x47a12a
mov dl, byte [ecx + 4]
test dl, dl
je 0x47a114
mov edi, dword [eax + 4]
call fcn.004758f0
test eax, eax
je 0x47a0f7
push 0
push str._s__or__s_
mov ecx, eax
call fcn.00475d60
jmp 0x47a0fc
mov eax, str._s__or__s_
push esi
push edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00473fc0
mov edi, dword [sym.imp.MSVCR71.dll_free]
add esp, 0x10
jmp 0x47a12a
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x28]
push 0x4e5378
push ecx
call fcn.00473fc0
add esp, 0xc
call fcn.004758f0
test eax, eax
je 0x47a143
push 0
push str.The_value_for_the_option__s_must_be_specified.
mov ecx, eax
call fcn.00475d60
jmp 0x47a148
mov eax, str.The_value_for_the_option__s_must_be_specified.
mov edx, dword [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00473f50
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 0x15
call fcn.00472de0
push 1
push 0x4d426c
push 1
lea ecx, [esp + 0x20]
call fcn.00472de0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x47a1a0
dec ecx
mov dword [eax], ecx
jne 0x47a1a0
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x13], 0
mov byte [esp + 0x98], 1
je 0x47a1c7
dec ecx
mov dword [eax], ecx
jne 0x47a1c7
push eax
call edi
add esp, 4
mov al, byte [esp + 0x13]
inc ebx
test al, al
jne 0x47a080
jmp 0x47a2c2
mov al, byte [esp + 0x13]
test al, al
je 0x47a2c2
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x38]
mov bl, 0x16
nop
cmp ebp, edi
jae 0x47a2ba
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + ebp*4]
lea ecx, [edi - 1]
cmp ebp, ecx
jne 0x47a21d
test byte [eax + 8], 4
je 0x47a21d
mov cl, byte [esp + 0x2b]
test cl, cl
jne 0x47a2ab
test byte [eax + 8], 2
jne 0x47a2ab
mov esi, dword [eax]
call fcn.004758f0
test eax, eax
je 0x47a242
push 0
push str.The_required_parameter__s_was_not_specified.
mov ecx, eax
call fcn.00475d60
jmp 0x47a247
mov eax, str.The_required_parameter__s_was_not_specified.
push esi
push eax
lea edx, [esp + 0x38]
push edx
call fcn.00473f50
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], bl
call fcn.00472de0
push 1
push 0x4d426c
push 1
lea ecx, [esp + 0x20]
call fcn.00472de0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x98], 1
je 0x47a2a6
dec ecx
mov dword [eax], ecx
jne 0x47a2a6
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov byte [esp + 0x13], 0
mov al, byte [esp + 0x13]
inc ebp
test al, al
jne 0x47a1f0
jmp 0x47a2c2
test al, al
jne 0x47a398
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x47a2e8
mov al, byte [esp + 0x22]
test al, al
je 0x47a390
mov al, byte [esp + 0xa0]
test al, al
je 0x47a390
call fcn.00484bc0
mov esi, eax
test esi, esi
je 0x47a390
mov ecx, dword [0x50fcb0]
mov dword [esp + 0x2c], ecx
mov al, byte [esp + 0xa0]
test al, al
mov bl, 0x17
mov byte [esp + 0x98], bl
je 0x47a35a
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x30]
push edx
call fcn.00478f20
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 0x18
call fcn.004725c0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov byte [esp + 0x98], bl
je 0x47a35a
dec ecx
mov dword [eax], ecx
jne 0x47a35a
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi]
push ecx
push edx
push str._s_s
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
add esp, 0x10
cmp ecx, 0xffffffff
je 0x47a390
dec ecx
mov dword [eax], ecx
jne 0x47a390
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov al, byte [esp + 0x13]
test al, al
je 0x47a39c
xor esi, esi
jmp 0x47a3ad
mov cl, byte [esp + 0x22]
xor eax, eax
test cl, cl
sete al
lea eax, [eax + eax - 1]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
pop edi
pop ebp
pop ebx
je 0x47a3ce
dec ecx
mov dword [eax], ecx
jne 0x47a3ce
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov eax, dword [esp + 8]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x47a3ec
dec ecx
mov dword [eax], ecx
jne 0x47a3ec
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov ecx, dword [esp + 0x84]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x8c
ret 4