Function at 0x4a75c0
Capabilities:
Check if file exists
Delete file
Get file attributes
Get file size
Get thread local storage value
Move file
Set file attributes
Timestomp file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x545822
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
mov dword [0x5991d0], ebp
call edi
mov dword [0x5991d8], eax
mov eax, dword [esp + 0x16c]
cmp eax, ebp
je 0x4a827f
cmp word [eax], bp
je 0x4a827f
mov ebx, dword [esp + 0x170]
cmp ebx, ebp
je 0x4a827f
cmp word [ebx], bp
je 0x4a827f
cmp dword [0x5991dc], ebp
jne 0x4a7645
mov dword [0x5991d0], 2
mov dword [0x5991d4], 0x231f
jmp 0x4a8293
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
test al, 0x10
mov dword [esp + 0x6c], eax
je 0x4a766f
mov dword [0x5991d0], 0x1d
mov dword [0x5991d4], 0x2327
jmp 0x4a8293
push ebx
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a7697
test bl, 0x10
je 0x4a7697
mov dword [0x5991d0], 0x1e
mov dword [0x5991d4], 0x2331
jmp 0x4a8293
mov ecx, dword [0x550434]
mov eax, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x180]
mov dword [esp + 0x164], ebp
cmp ecx, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x4c], ebp
je 0x4a76e3
mov ecx, dword [esp + 0x184]
mov dword [esp + 0x34], eax
cmp ecx, ebp
jne 0x4a76e7
mov dword [esp + 0x34], ebp
cmp ebx, 0xffffffff
jne 0x4a76f0
mov dword [esp + 0x34], ebp
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x71]
mov byte [esp + 0x70], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x194]
stosw word es:[edi], ax
cmp esi, ebp
stosb byte es:[edi], al
je 0x4a7718
cmp dword [esi], ebp
je 0x4a7718
xor eax, eax
jmp 0x4a771d
mov eax, 1
lea edx, [esp + 0x70]
test edx, edx
jne 0x4a777a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d0], 1
mov dword [0x5991d4], 0x21e6
call esi
mov dword [0x5991d8], eax
mov dword [0x5991d0], 7
mov dword [0x5991d4], 0x234f
call esi
lea ecx, [esp + 0x10]
mov dword [0x5991d8], eax
mov dword [esp + 0x164], 0xffffffff
call fcn.0043bf80
jmp 0x4a829a
mov ecx, dword [0x57b748]
mov edx, dword [0x57b74c]
neg eax
sbb eax, eax
mov edi, dword [0x599208]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x57b750]
add eax, 0x40002
mov dword [esp + 0x74], edx
mov edx, dword [0x57b754]
mov dword [esp + 0x90], eax
mov eax, dword [0x57b300]
mov dword [esp + 0x78], ecx
mov ecx, dword [0x5991e8]
cmp eax, 0xffffffff
mov dword [esp + 0x7c], edx
mov word [esp + 0xa0], 0x40
mov dword [esp + 0xa8], ecx
mov word [esp + 0xa2], 1
je 0x4a77f0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebp
je 0x4a77f0
mov edi, eax
mov dword [esp + 0x9c], edi
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0xd8]
mov dword [esp + 0xd4], ebp
mov dword [esp + 0x124], ebp
rep stosd dword es:[edi], eax
mov ecx, 0xd
lea edi, [esp + 0x128]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
call fcn.0051fff0
lea ecx, [esp + 0x20]
mov byte [esp + 0x164], 1
call fcn.0051fff0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x164], 2
call fcn.0051fff0
mov eax, dword [esp + 0x178]
mov byte [esp + 0x164], 3
cmp eax, ebp
mov dword [esp + 0x50], ebp
je 0x4a7884
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004adab0
add esp, 8
cmp eax, ebp
je 0x4a7884
lea ecx, [esp + 0x2c]
call fcn.005208f0
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x30]
call fcn.0051fff0
cmp esi, ebp
mov byte [esp + 0x164], 4
mov dword [esp + 0x58], ebp
je 0x4a78ca
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x38]
call fcn.00520200
lea ecx, [esp + 0x30]
call fcn.00520910
mov ecx, dword [esi]
mov edi, eax
mov edx, ecx
mov dword [esp + 0x58], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x16c]
push esi
call fcn.00478a20
add esp, 4
cmp eax, ebp
jne 0x4a7e68
mov ecx, dword [esp + 0x18c]
mov eax, 5
cmp ecx, ebp
je 0x4a78f7
mov eax, 7
push ebp
push 0x80
push 3
push ebp
push eax
push SysReAllocStringLen
push esi
call fcn.004c0f00
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [esp + 0x48], eax
je 0x4a80e1
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
call fcn.00474020
add esp, 0x28
test eax, eax
jne 0x4a8105
cmp ebx, 0xffffffff
setne al
mov esi, eax
cmp esi, ebp
je 0x4a7a2d
mov edx, dword [esp + 0x170]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0xb4]
mov dword [esp + 0xb0], ebp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xb0]
push ecx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x4a7a14
cmp dword [esp + 0xd0], ebp
jne 0x4a7992
cmp dword [esp + 0xcc], ebp
je 0x4a7a14
mov eax, dword [0x599710]
mov edi, dword [esp + 0x170]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x57b304
push edi
call fcn.004c0bd0
add esp, 0x10
test eax, eax
je 0x4a79f3
mov edx, dword [esp + 0x10]
push 2
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4a79d2
mov dword [esp + 0x18], 1
jmp 0x4a7a1b
mov dword [0x5991d0], 0x28
mov dword [0x5991d4], 0x23d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
jmp 0x4a7a1b
mov dword [0x5991d0], 0x24
mov dword [0x5991d4], 0x23dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
jmp 0x4a7a1b
mov edi, dword [esp + 0x170]
test bl, 1
je 0x4a7a34
and ebx, 0xfffffffe
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x4a7a34
mov edi, dword [esp + 0x170]
push ebp
push 0x80
push 4
push ebp
push ebp
push 0xc0000000
push edi
call fcn.004c0f00
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [esp + 0x40], eax
je 0x4a811b
cmp esi, ebp
je 0x4a7a69
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ebp
cmp ecx, ebp
je 0x4a7a71
mov dword [esp + 0x14], 1
cmp esi, ebp
mov ebx, 1
je 0x4a7c5a
mov ecx, dword [esp + 0x18]
or esi, 0xffffffff
or edi, 0xffffffff
cmp ecx, ebp
je 0x4a7aef
mov eax, dword [esp + 0x10]
push ebp
push 0x80
push 4
push ebp
push 7
push SysReAllocStringLen
push eax
call fcn.004c0f00
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x4a7af1
cmp dword [esp + 0x34], ebp
je 0x4a7aeb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebp
jne 0x4a7ad0
cmp dword [esp + 0x1c], ebp
je 0x4a7ae7
cmp dword [esp + 0x180], 1
jne 0x4a7aeb
push edi
call fcn.00478200
add esp, 4
test eax, eax
je 0x4a7aeb
mov dword [esp + 0x34], ebp
mov esi, edi
jmp 0x4a7af1
mov esi, eax
cmp dword [esp + 0x174], ebp
jne 0x4a7c4e
cmp esi, 0xffffffff
je 0x4a7c4e
lea ecx, [esp + 0x60]
call fcn.0051fff0
lea edx, [esp + 0x44]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x64]
push eax
lea edx, [esp + 0x12c]
push ecx
lea eax, [esp + 0xe0]
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
push esi
mov byte [esp + 0x180], 5
mov dword [esp + 0x38], ebp
mov dword [esp + 0x60], ebp
call fcn.004ae1f0
add esp, 0x1c
test eax, eax
je 0x4a7c3d
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x28]
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
push eax
push ebp
push 1
push ecx
lea eax, [esp + 0x84]
push edx
push eax
push esi
mov dword [esp + 0x58], ebp
call fcn.004ad850
add esp, 0x20
test eax, eax
je 0x4a7b8a
xor ebx, ebx
cmp dword [esp + 0x50], ebp
jne 0x4a7bd4
test byte [esp + 0x94], 8
je 0x4a7bd4
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 1
push 3
push eax
lea edx, [esp + 0x84]
push ecx
push edx
push esi
mov dword [esp + 0x58], ebp
call fcn.004ad850
add esp, 0x20
test eax, eax
je 0x4a7bd4
lea ecx, [esp + 0x2c]
call fcn.005208f0
cmp dword [esp + 0x58], ebp
jne 0x4a7c20
mov eax, dword [esp + 0x94]
test ah, 1
je 0x4a7c20
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x20]
push ecx
push 2
push 4
push edx
lea ecx, [esp + 0x84]
push eax
push ecx
push esi
mov dword [esp + 0x58], ebp
call fcn.004ad850
add esp, 0x20
test eax, eax
je 0x4a7c20
lea ecx, [esp + 0x30]
call fcn.005208f0
mov eax, dword [esp + 0x94]
mov edx, dword [0x5991e8]
and al, 0x7f
mov dword [esp + 0xa8], edx
mov dword [esp + 0x94], eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x164], 4
call fcn.00520150
cmp edi, 0xffffffff
je 0x4a7c5a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [esp + 0x12e], bp
jne 0x4a8131
push 0xffffffffffffffff
push 0x110
lea ecx, [esp + 0x28]
call fcn.00520200
lea ecx, [esp + 0x20]
call fcn.00520910
mov ebp, eax
mov ecx, 0x44
mov esi, 0x5991e0
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x57b300]
cmp eax, 0xffffffff
je 0x4a7ca9
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a7ca9
mov dword [ebp + 0x28], eax
lea eax, [ebp + 0x48]
push eax
call fcn.004c00d0
mov eax, dword [0x5991e4]
mov cl, byte [0x5991ec]
mov edx, dword [0x5991e8]
mov dword [esp + 0xf0], eax
mov al, byte [0x5991f0]
add esp, 4
mov byte [esp + 0xea], cl
mov dword [esp + 0xf0], edx
mov byte [esp + 0xeb], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov cx, ax
mov dword [esp + 0x104], eax
test ebx, ebx
mov word [esp + 0xac], cx
je 0x4a7d59
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.005201f0
push eax
lea ecx, [esp + 0x30]
call fcn.00520200
lea ecx, [esp + 0x28]
call fcn.005201f0
lea ecx, [esp + 0x20]
mov ebx, eax
call fcn.00520910
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00520910
mov ecx, ebx
mov edi, eax
mov edx, ecx
lea eax, [esp + 0x80]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004c0100
add esp, 4
lea ecx, [esp + 0x30]
lea edx, [esp + 0x68]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x134]
push edx
lea ecx, [esp + 0xe8]
push eax
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ecx
mov dword [esp + 0x90], 0
call fcn.004a82c0
mov ecx, dword [esp + 0x90]
add esp, 0x28
test ecx, ecx
je 0x4a7dc2
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4a7dc2
mov dword [esp + 0x14], 1
test eax, eax
je 0x4a8150
mov bl, byte [esp + 0x188]
test bl, 1
je 0x4a7e26
mov esi, dword [esp + 0x48]
lea edx, [esp + 0x60]
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x54]
push eax
xor edi, edi
push ecx
push esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebp, dword [esp + 0x40]
lea edx, [esp + 0x60]
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x4a7e30
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
xor edi, edi
test bl, 4
je 0x4a7e48
lea edx, [esp + 0x4c]
lea eax, [esp + 0x3c]
push edx
push eax
push esi
call fcn.004c06f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x190], edi
je 0x4a7e5f
push ebp
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [esp + 0x24], edi
jmp 0x4a8161
xor eax, eax
cmp ebx, 0xffffffff
setne al
cmp eax, ebp
mov esi, 0x24
je 0x4a7f38
mov ecx, 8
xor eax, eax
lea edi, [esp + 0xb4]
mov dword [esp + 0xb0], ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x170]
lea ecx, [esp + 0xb0]
push ecx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x4a7f2c
cmp dword [esp + 0xd0], ebp
jne 0x4a7ec1
cmp dword [esp + 0xcc], ebp
je 0x4a7f2c
mov edx, dword [0x599710]
lea eax, [esp + 0x10]
push edx
push eax
push 0x57b304
push edi
call fcn.004c0bd0
add esp, 0x10
test eax, eax
je 0x4a7f11
mov ecx, dword [esp + 0x10]
push 2
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4a7efb
mov dword [esp + 0x18], 1
jmp 0x4a7f2c
mov dword [0x5991d0], 0x28
mov dword [0x5991d4], 0x2385
jmp 0x4a7f21
mov dword [0x5991d0], esi
mov dword [0x5991d4], 0x238c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
cmp dword [esp + 0x18], ebp
jne 0x4a7f3f
mov dword [esp + 0x14], ebp
jmp 0x4a7f47
mov edi, dword [esp + 0x170]
mov dword [esp + 0x14], 1
test byte [esp + 0x188], 4
je 0x4a7f6b
mov ecx, dword [esp + 0x16c]
lea edx, [esp + 0x4c]
lea eax, [esp + 0x3c]
push edx
push eax
push ecx
call fcn.004c08c0
add esp, 0xc
mov edx, dword [esp + 0x190]
mov eax, dword [esp + 0x16c]
push edx
push 0xffffffffffffffff
push ebp
push edi
push eax
call fcn.00475d90
add esp, 0x14
test eax, eax
je 0x4a7fef
mov dword [esp + 0x24], ebp
mov ebx, dword [esp + 0x170]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a7fad
mov ecx, dword [esp + 0x4c]
push ecx
push eax
push ebx
call fcn.004c0970
add esp, 0xc
test byte [esp + 0x188], 2
je 0x4a7fc3
mov edx, dword [esp + 0x6c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a8067
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a825a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x184]
push 0x103
push eax
push ecx
jmp 0x4a805f
mov dword [0x5991d0], esi
mov dword [0x5991d4], 0x23a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a8020
mov ecx, dword [esp + 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a8067
mov edx, dword [esp + 0x170]
mov eax, dword [esp + 0x10]
push 3
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4a8067
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x24], 0xffffffff
test eax, eax
je 0x4a8067
mov ecx, dword [esp + 0x10]
push 0x103
push ecx
push eax
call fcn.00422f84
add esp, 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a8080
push eax
call fcn.00526473
add esp, 4
mov dword [esp + 0x3c], 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x164], 3
call fcn.00520150
lea ecx, [esp + 0x2c]
mov byte [esp + 0x164], 2
call fcn.00520150
lea ecx, [esp + 0x20]
mov byte [esp + 0x164], 1
call fcn.00520150
lea ecx, [esp + 0x28]
mov byte [esp + 0x164], 0
call fcn.00520150
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.0043bf80
mov eax, dword [esp + 0x24]
jmp 0x4a829f
mov dword [0x5991d0], 3
mov dword [0x5991d4], 0x23b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
jmp 0x4a8067
mov dword [0x5991d0], 0x2a
mov dword [0x5991d4], 0x23bf
jmp 0x4a8145
mov dword [0x5991d0], 4
mov dword [0x5991d4], 0x23f3
jmp 0x4a8145
mov dword [0x5991d0], 1
mov dword [0x5991d4], 0x2459
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d8], eax
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x40]
xor edi, edi
cmp ebp, 0xffffffff
je 0x4a816d
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x24], edi
jne 0x4a800a
mov eax, dword [0x599708]
test eax, eax
je 0x4a7f8f
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5991d0], 0
call ebp
mov ebx, dword [esp + 0x170]
mov dword [0x5991d8], eax
push ebx
call fcn.00422fc1
add esp, 4
test eax, eax
je 0x4a823a
push 0
push 0
push 3
push 0
push 7
push SysReAllocStringLen
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a81f0
mov dword [0x5991d0], 3
mov dword [0x5991d4], 0x2b91
call ebp
mov dword [0x5991d8], eax
jmp 0x4a7f96
lea edx, [esp + 0xd4]
push edx
push esi
call fcn.004ab630
add esp, 8
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x4a7f96
mov dword [0x5991d0], 0x1c
mov dword [0x5991d4], 0x2495
call ebp
mov dword [0x5991d8], eax
mov dword [esp + 0x24], 0xffffffff
jmp 0x4a800a
mov dword [0x5991d0], 1
mov dword [0x5991d4], 0x2b82
call ebp
mov dword [0x5991d8], eax
jmp 0x4a7f96
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4a8067
mov eax, dword [esp + 0x10]
push eax
call fcn.004c09f0
add esp, 4
jmp 0x4a8067
mov dword [0x5991d0], 1
mov dword [0x5991d4], 0x2319
call edi
mov dword [0x5991d8], eax
mov eax, 1
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret