Function at 0x40ef20
Capabilities:
Get disk size
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x514cb5
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
xor ebp, ebp
lea ecx, [esp + 0x74]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], 1
call fcn.004c294f
push 0x529b37
lea ecx, [esp + 0x24]
mov dword [esp + 0xb8], ebp
call fcn.0041aa20
push 0x529b37
lea ecx, [esp + 0x34]
mov byte [esp + 0xb8], 1
call fcn.0041aa20
push 0x529b37
lea ecx, [esp + 0x40]
mov byte [esp + 0xb8], 2
call fcn.0041aa20
push 0x529b37
lea ecx, [esp + 0x48]
mov byte [esp + 0xb8], 3
call fcn.0041aa20
push 0x529b37
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 4
call fcn.0041aa20
lea esi, [esp + 0x8c]
mov byte [esp + 0xb4], 5
call fcn.004058c0
mov eax, esi
push eax
mov esi, str._y__m__d
lea edi, [esp + 0x68]
call fcn.00405a40
mov byte [esp + 0xb4], 6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.0041b2d0
mov byte [esp + 0xb4], 5
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f036
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [0x5737f4]
mov eax, dword [ebx + 0x58]
xor esi, esi
cmp eax, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], esi
jle 0x40f49d
test esi, esi
jl 0x40f4c9
cmp esi, dword [ebx + 0x58]
jge 0x40f4c9
mov ecx, dword [ebx + 0x54]
lea eax, [ecx + esi*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00405250
add eax, 0x10
add esp, 4
mov dword [esp + 0x5c], eax
mov byte [esp + 0xb4], 7
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40f4ba
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
push 0x637
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0xbc], 8
call fcn.0041c760
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb8], 9
call fcn.00404e60
mov byte [esp + 0xb4], 8
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f0fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.0041ac70
add esp, 0xc
push 0x52aec4
push eax
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0xc0], 0xa
call fcn.00404c80
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xb8], 0xb
call fcn.00404e60
mov byte [esp + 0xb4], 0xa
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f166
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 8
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f18e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x52aec8
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.00404c80
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb8], 0xc
call fcn.00404e60
mov byte [esp + 0xb4], 8
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f1df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push 0
push ecx
lea ecx, [esp + 0x7c]
call fcn.004c29db
test eax, eax
je 0x40f434
lea ecx, [esp + 0x74]
call fcn.004c26e0
lea ecx, [esp + 0x74]
mov dword [esp + 0x1c], eax
call fcn.004c2916
test eax, eax
jne 0x40f425
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x78]
call fcn.004c2c0a
mov byte [esp + 0xb4], 0xd
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 0x38]
push 0x10
lea ecx, [esp + 0x78]
call edx
test eax, eax
je 0x40f3fd
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x64], esp
mov ebp, esp
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40f274
cmp eax, dword [esi]
jne 0x40f274
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40f2aa
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40f4c4
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004e1967
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
call fcn.00412980
test eax, eax
je 0x40f3fd
push 0x529b37
lea ecx, [esp + 0x1c]
call fcn.0041aa20
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0xc0], 0xe
call fcn.0041ac70
add esp, 0xc
push 0x52aec4
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0xc0], 0xf
call fcn.00404c80
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 0x10
call fcn.00404e60
mov byte [esp + 0xb4], 0xf
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f33f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 0xe
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f367
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x50], 0
je 0x40f394
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call fcn.00404e60
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x2c]
call fcn.00404e60
mov dword [esp + 0x50], 0
jmp 0x40f3d5
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40f4ba
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.004e3135
add esp, 8
test eax, eax
jle 0x40f3d5
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call fcn.00404e60
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x2c]
call fcn.00404e60
mov byte [esp + 0xb4], 0xd
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f3fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f425
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], 0
jne 0x40f1f7
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x74]
call fcn.004c2610
mov byte [esp + 0xb4], 7
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f465
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 5
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f48d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 1
cmp esi, dword [ebx + 0x58]
mov dword [esp + 0x2c], esi
jl 0x40f051
mov ecx, dword [esp + 0x30]
cmp dword [ecx - 0xc], 0
je 0x40f9a7
mov eax, dword [esp + 0x44]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f4ce
push 0x80004005
call fcn.00404150
call fcn.00405420
call fcn.004c463b
mov edx, dword [esp + 0x28]
push eax
push edx
call fcn.004e3135
add esp, 8
test eax, eax
setne al
test al, al
je 0x40f9a7
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x64], esp
mov esi, esp
push eax
call fcn.00405250
mov ecx, dword [esp + 0xc4]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040ebc0
xor esi, esi
cmp dword [ebx + 0x58], esi
jle 0x40f6f1
mov bl, 0x14
mov edi, edi
test esi, esi
jl 0x40f4c9
mov eax, dword [esp + 0x34]
cmp esi, dword [eax + 0x58]
jge 0x40f4c9
mov eax, dword [eax + 0x54]
lea eax, [eax + esi*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00405250
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x1c], ebp
push 0x637
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0xbc], 0x11
call fcn.0041c760
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0xc0], 0x12
call fcn.0041ac70
add esp, 0xc
push 0x52aec4
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0xc0], 0x13
call fcn.00404c80
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0xc0], bl
call fcn.0041ac70
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb8], 0x15
call fcn.00404e60
mov byte [esp + 0xb4], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f5ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 0x13
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f614
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 0x12
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f63c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push 0
push ecx
lea ecx, [esp + 0x7c]
call fcn.004c29db
lea ecx, [esp + 0x74]
mov edi, eax
call fcn.004c2610
test edi, edi
je 0x40f693
push 1
push 0x52aec4
lea ecx, [esp + 0x28]
call fcn.0041b2d0
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x64], esp
mov edi, esp
push eax
call fcn.00405250
mov ecx, dword [esp + 0xc4]
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040ebc0
mov byte [esp + 0xb4], 0x11
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f6bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0xb4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f6df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
add esi, 1
cmp esi, dword [ecx + 0x58]
jl 0x40f520
mov ebx, ecx
push 3
lea edx, [esp + 0x18]
lea ebp, [ebx + 0x3c]
push edx
mov ecx, ebp
call fcn.00404c00
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xa0]
push ecx
mov byte [esp + 0xbc], 0x16
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
lea edx, [esp + 0x9c]
push edx
push eax
call edi
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
shrd eax, ecx, 0x14
shr ecx, 0x14
mov ecx, dword [ebx + 0x44]
lea edx, [ecx + ecx*4]
cmp eax, edx
jbe 0x40f752
mov dword [esp + 0x40], 2
jmp 0x40f97d
xor esi, esi
cmp dword [ebx + 0x58], esi
jle 0x40f97d
mov ebx, dword [esp + 0x34]
test esi, esi
jl 0x40f4c9
cmp esi, dword [ebx + 0x58]
jge 0x40f4c9
mov eax, dword [ebx + 0x54]
lea eax, [eax + esi*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00404e60
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x9c]
push eax
push ecx
call edi
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ecx, dword [ebx + 0x44]
shrd eax, edx, 0x14
lea ecx, [ecx + ecx*4]
shr edx, 0x14
cmp eax, ecx
ja 0x40f7c4
add esi, 1
cmp esi, dword [ebx + 0x58]
jl 0x40f761
jmp 0x40f97d
push 0x637
lea edx, [esp + 0x1c]
push edx
call fcn.0041c760
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0xc0], 0x17
call fcn.0041ac70
add esp, 0xc
push 0x52aec4
push eax
lea eax, [esp + 0x24]
mov bl, 0x18
push eax
mov byte [esp + 0xc0], bl
call fcn.00404c80
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0xb8], 0x19
call fcn.00404e60
mov byte [esp + 0xb4], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f845
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 0x17
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f86d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x638
lea ecx, [esp + 0x3c]
push ecx
call fcn.0041c760
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 0x1a
call fcn.00404e60
mov byte [esp + 0xb4], 0x17
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f8b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0041ac70
add esp, 0xc
push 0x52aec4
push eax
lea ecx, [esp + 0x24]
mov bl, 0x1b
push ecx
mov byte [esp + 0xc0], bl
call fcn.00404c80
add esp, 0xc
mov ecx, dword [esp + 0x34]
add ecx, 0x40
push eax
mov byte [esp + 0xb8], 0x1c
call fcn.00404e60
mov byte [esp + 0xb4], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f925
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 0x17
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f94d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 0x16
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f97d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f9af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40f9af
mov dword [esp + 0x40], 1
mov byte [esp + 0xb4], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f9d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 3
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f9ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 2
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fa27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fa4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fa77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x74]
mov dword [esp + 0xb4], 0xffffffff
call fcn.004c2973
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 4