Function at 0x4279a0
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5aec23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c8
mov dword [esp + 0x70], ecx
push ebx
push ebp
xor ebx, ebx
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], ebx
mov word [esp + 0x34], bx
mov eax, dword [0x67a008]
mov dword [esp + 0x3e0], ebx
cmp eax, ebx
jne 0x4279e9
mov eax, 0x67a00c
mov edx, 0x651fac
test edx, edx
je 0x427ac6
cmp eax, ebx
je 0x427ac6
push eax
lea ecx, [esp + 0x28]
call fcn.00403bb0
lea ecx, [esp + 0x30]
mov byte [esp + 0x3e0], 1
call fcn.00401070
push 0x651fac
lea ecx, [esp + 0x58]
call fcn.00401f30
mov eax, dword [esp + 0x24]
mov byte [esp + 0x3e0], 2
cmp eax, ebx
jne 0x427a3b
lea eax, [esp + 0x28]
mov esi, dword [esp + 0x5c]
push eax
call fcn.0057e90a
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005970d9
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x30], edi
je 0x427aa1
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x24]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x58]
call fcn.00401fb0
push eax
mov eax, dword [esp + 0x38]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0057e90a
add esp, 0x14
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x3e0], 1
call fcn.00401070
lea ecx, [esp + 0x24]
mov byte [esp + 0x3e0], bl
call fcn.00401070
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
mov eax, ecx
jne 0x427ad0
lea eax, [esp + 0x34]
lea edx, [esp + 0x188]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x8c], eax
je 0x4286fa
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], bx
mov esi, dword [0x67a008]
mov byte [esp + 0x3e0], 3
cmp esi, ebx
jne 0x427b1b
mov esi, 0x67a00c
mov ecx, 0x651f9c
test ecx, ecx
je 0x427c75
cmp esi, ebx
je 0x427c75
lea edx, [esp + 0x1b4]
test edx, edx
je 0x427c75
push ecx
lea ecx, [esp + 0x174]
call fcn.00401f30
push esi
lea ecx, [esp + 0x15c]
mov byte [esp + 0x3e4], 4
call fcn.00403bb0
lea eax, [esp + 0x1b4]
lea ecx, [esp + 0x134]
push eax
mov byte [esp + 0x3e4], 5
call fcn.00403bb0
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e0], 6
call fcn.00401070
mov esi, dword [esp + 0x178]
lea ecx, [esp + 0x134]
call fcn.00401fb0
push eax
call fcn.0057e90a
add esp, 4
lea ecx, [esp + 0x158]
mov edi, eax
call fcn.00401fb0
push eax
call fcn.0057e90a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005970d9
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x18], edi
je 0x427c2f
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x134]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x15c]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x178]
call fcn.00401fb0
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0057e90a
add esp, 0x18
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x134]
mov byte [esp + 0x3e0], 5
call fcn.00401070
lea ecx, [esp + 0x158]
mov byte [esp + 0x3e0], 4
call fcn.00401070
lea ecx, [esp + 0x170]
mov byte [esp + 0x3e0], 3
call fcn.00401070
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
jne 0x427c7d
lea eax, [esp + 0x1c]
push 0x651438
push eax
call fcn.0057ff6f
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [esp + 0x84], esi
je 0x428668
push esi
lea edx, [esp + 0xbc]
push 0x40
push edx
call fcn.0058017a
add esp, 0xc
test eax, eax
je 0x42865f
lea ecx, [esp + 0xb8]
mov eax, 0x651f98
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x42865f
lea eax, [esp + 0xb4]
lea ecx, [esp + 0xba]
push eax
push 0x64eff4
push ecx
call fcn.005803bc
add esp, 0xc
cmp eax, 1
jne 0x42865f
cmp dword [esp + 0xb4], 3
jne 0x42865f
mov edx, dword [0x6754d4]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x3e0], 7
mov byte [esp + 0x14], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x13], bl
mov byte [esp + 0x15], bl
mov byte [esp + 0x17], bl
mov dword [esp + 0x88], ebx
jmp 0x427d49
mov esi, dword [esp + 0x84]
push esi
lea eax, [esp + 0xbc]
push 0x40
push eax
call fcn.0058017a
add esp, 0xc
test eax, eax
je 0x42861c
mov ecx, 5
mov edi, 0x651f14
lea esi, [esp + 0xb8]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x427dde
lea eax, [esp + 0xbd]
test eax, eax
je 0x428615
lea ecx, [esp + 0xbd]
push 0xd
push ecx
call fcn.0057e940
add esp, 8
cmp eax, ebx
je 0x427da2
mov byte [eax], bl
lea edx, [esp + 0xbd]
push 0xa
push edx
call fcn.0057e940
add esp, 8
cmp eax, ebx
je 0x427dba
mov byte [eax], bl
lea eax, [esp + 0xbd]
lea ecx, [esp + 0x6c]
push eax
push 0x64efb0
push ecx
call fcn.00593b08
add esp, 0xc
mov byte [esp + 0x14], 1
jmp 0x4285fd
mov ecx, 3
mov edi, 0x651f90
lea esi, [esp + 0xb8]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x42803a
lea eax, [esp + 0xbe]
test eax, eax
je 0x4285fd
lea ecx, [esp + 0xbe]
push 0xd
push ecx
call fcn.0057e940
add esp, 8
cmp eax, ebx
je 0x427e21
mov byte [eax], bl
lea edx, [esp + 0xbe]
push 0xa
push edx
call fcn.0057e940
add esp, 8
cmp eax, ebx
je 0x427e39
mov byte [eax], bl
lea eax, [esp + 0xbe]
push ebx
push eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb8], ebx
mov word [esp + 0xb4], bx
call fcn.004028e0
xor eax, eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], eax
mov word [esp + 0x64], bx
mov edi, dword [esp + 0xa8]
mov byte [esp + 0x3e0], 9
cmp edi, ebx
jne 0x427e8d
lea edi, [esp + 0xac]
mov esi, dword [0x67a008]
cmp esi, ebx
jne 0x427e9c
mov esi, 0x67a00c
mov ecx, 0x651f9c
test ecx, ecx
je 0x427fe8
cmp esi, ebx
je 0x427fe8
cmp edi, ebx
je 0x427fe8
push ecx
lea ecx, [esp + 0x180]
call fcn.00401f30
push esi
lea ecx, [esp + 0x120]
mov byte [esp + 0x3e4], 0xa
call fcn.00403bb0
push edi
lea ecx, [esp + 0x150]
mov byte [esp + 0x3e4], 0xb
call fcn.00403bb0
lea ecx, [esp + 0x60]
mov byte [esp + 0x3e0], 0xc
call fcn.00401070
mov esi, dword [esp + 0x184]
lea ecx, [esp + 0x14c]
call fcn.00401fb0
push eax
call fcn.0057e90a
add esp, 4
lea ecx, [esp + 0x11c]
mov edi, eax
call fcn.00401fb0
push eax
call fcn.0057e90a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005970d9
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x60], edi
je 0x427fa2
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x14c]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x120]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x184]
call fcn.00401fb0
push eax
mov eax, dword [esp + 0x6c]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0057e90a
add esp, 0x18
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x14c]
mov byte [esp + 0x3e0], 0xb
call fcn.00401070
lea ecx, [esp + 0x11c]
mov byte [esp + 0x3e0], 0xa
call fcn.00401070
lea ecx, [esp + 0x17c]
mov byte [esp + 0x3e0], 9
call fcn.00401070
mov eax, dword [esp + 0x60]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
mov esi, eax
jne 0x427ff2
lea esi, [esp + 0x64]
mov edx, dword [esp + 0x70]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [esp + 0x74], eax
call ebp
cmp eax, 0xffffffff
je 0x428015
mov byte [esp + 0x16], 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x3e0], 8
call fcn.00401070
mov byte [esp + 0x3e0], 7
lea ecx, [esp + 0xa8]
jmp 0x4285f8
mov ecx, 9
mov edi, 0x651f84
lea esi, [esp + 0xb8]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x428295
lea ecx, [esp + 0xc1]
test ecx, ecx
je 0x4285fd
lea edx, [esp + 0xc1]
push 0xd
push edx
call fcn.0057e940
add esp, 8
cmp eax, ebx
je 0x42807c
mov byte [eax], bl
lea eax, [esp + 0xc1]
push 0xa
push eax
call fcn.0057e940
add esp, 8
cmp eax, ebx
je 0x428094
mov byte [eax], bl
lea ecx, [esp + 0xc1]
push ebx
push ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xac], ebx
mov word [esp + 0xa8], bx
call fcn.004028e0
xor eax, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], eax
mov word [esp + 0x40], bx
mov edi, dword [esp + 0x9c]
mov byte [esp + 0x3e0], 0xe
cmp edi, ebx
jne 0x4280e8
lea edi, [esp + 0xa0]
mov esi, dword [0x67a008]
cmp esi, ebx
jne 0x4280f7
mov esi, 0x67a00c
mov edx, 0x651f9c
test edx, edx
je 0x428243
cmp esi, ebx
je 0x428243
cmp edi, ebx
je 0x428243
push edx
lea ecx, [esp + 0x108]
call fcn.00401f30
push esi
lea ecx, [esp + 0x168]
mov byte [esp + 0x3e4], 0xf
call fcn.00403bb0
push edi
lea ecx, [esp + 0xfc]
mov byte [esp + 0x3e4], 0x10
call fcn.00403bb0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3e0], 0x11
call fcn.00401070
mov esi, dword [esp + 0x10c]
lea ecx, [esp + 0xf8]
call fcn.00401fb0
push eax
call fcn.0057e90a
add esp, 4
lea ecx, [esp + 0x164]
mov edi, eax
call fcn.00401fb0
push eax
call fcn.0057e90a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005970d9
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x3c], edi
je 0x4281fd
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0xf8]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x168]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x10c]
call fcn.00401fb0
push eax
mov eax, dword [esp + 0x48]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0057e90a
add esp, 0x18
mov dword [esp + 0x44], eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x3e0], 0x10
call fcn.00401070
lea ecx, [esp + 0x164]
mov byte [esp + 0x3e0], 0xf
call fcn.00401070
lea ecx, [esp + 0x104]
mov byte [esp + 0x3e0], 0xe
call fcn.00401070
mov eax, dword [esp + 0x3c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
mov esi, eax
jne 0x42824d
lea esi, [esp + 0x40]
mov edx, dword [esp + 0x74]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [esp + 0x78], eax
call ebp
cmp eax, 0xffffffff
je 0x428270
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3e0], 0xd
call fcn.00401070
mov byte [esp + 0x3e0], 7
lea ecx, [esp + 0x9c]
jmp 0x4285f8
mov ecx, 3
mov edi, 0x651f7c
lea esi, [esp + 0xb8]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x4284f1
lea ecx, [esp + 0xbe]
test ecx, ecx
je 0x4285fd
lea edx, [esp + 0xbe]
push 0xd
push edx
call fcn.0057e940
add esp, 8
cmp eax, ebx
je 0x4282d8
mov byte [eax], bl
lea eax, [esp + 0xbe]
push 0xa
push eax
call fcn.0057e940
add esp, 8
cmp eax, ebx
je 0x4282f0
mov byte [eax], bl
lea ecx, [esp + 0xbe]
push ebx
push ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa0], ebx
mov word [esp + 0x9c], bx
call fcn.004028e0
xor eax, eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], eax
mov word [esp + 0x4c], bx
mov edi, dword [esp + 0x90]
mov byte [esp + 0x3e0], 0x13
cmp edi, ebx
jne 0x428344
lea edi, [esp + 0x94]
mov esi, dword [0x67a008]
cmp esi, ebx
jne 0x428353
mov esi, 0x67a00c
mov edx, 0x651f9c
test edx, edx
je 0x42849f
cmp esi, ebx
je 0x42849f
cmp edi, ebx
je 0x42849f
push edx
lea ecx, [esp + 0x144]
call fcn.00401f30
push esi
lea ecx, [esp + 0x12c]
mov byte [esp + 0x3e4], 0x14
call fcn.00403bb0
push edi
lea ecx, [esp + 0x114]
mov byte [esp + 0x3e4], 0x15
call fcn.00403bb0
lea ecx, [esp + 0x48]
mov byte [esp + 0x3e0], 0x16
call fcn.00401070
mov esi, dword [esp + 0x148]
lea ecx, [esp + 0x110]
call fcn.00401fb0
push eax
call fcn.0057e90a
add esp, 4
lea ecx, [esp + 0x128]
mov edi, eax
call fcn.00401fb0
push eax
call fcn.0057e90a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005970d9
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x48], edi
je 0x428459
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x110]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x12c]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x148]
call fcn.00401fb0
push eax
mov eax, dword [esp + 0x54]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0057e90a
add esp, 0x18
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x3e0], 0x15
call fcn.00401070
lea ecx, [esp + 0x128]
mov byte [esp + 0x3e0], 0x14
call fcn.00401070
lea ecx, [esp + 0x140]
mov byte [esp + 0x3e0], 0x13
call fcn.00401070
mov eax, dword [esp + 0x48]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
mov esi, eax
jne 0x4284a9
lea esi, [esp + 0x4c]
mov edx, dword [esp + 0x78]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [esp + 0x7c], eax
call ebp
cmp eax, 0xffffffff
je 0x4284cc
mov byte [esp + 0x15], 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x3e0], 0x12
call fcn.00401070
mov byte [esp + 0x3e0], 7
lea ecx, [esp + 0x90]
jmp 0x4285f8
mov ecx, 9
mov edi, 0x651f70
lea esi, [esp + 0xb8]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4285fd
lea ecx, [esp + 0xc1]
test ecx, ecx
je 0x4285fd
lea edx, [esp + 0xc1]
push 0xd
push edx
call fcn.0057e940
add esp, 8
cmp eax, ebx
je 0x428533
mov byte [eax], bl
lea eax, [esp + 0xc1]
push 0xa
push eax
call fcn.0057e940
add esp, 8
cmp eax, ebx
je 0x42854b
mov byte [eax], bl
lea ecx, [esp + 0xc1]
push ebx
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov word [esp + 0x30], bx
call fcn.004028e0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov word [esp + 0x58], bx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x3e0], 0x18
cmp ecx, ebx
jne 0x42858b
lea ecx, [esp + 0x28]
mov eax, dword [0x67a008]
cmp eax, ebx
jne 0x428599
mov eax, 0x67a00c
push ecx
push eax
push 0x651f9c
lea ecx, [esp + 0x60]
call fcn.00410280
mov esi, dword [esp + 0x54]
cmp esi, ebx
jne 0x4285b5
lea esi, [esp + 0x58]
mov edx, dword [esp + 0x7c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [esp + 0x80], eax
call ebp
cmp eax, 0xffffffff
je 0x4285db
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x3e0], 0x17
call fcn.00401070
mov byte [esp + 0x3e0], 7
lea ecx, [esp + 0x24]
call fcn.00401070
mov eax, dword [esp + 0x88]
inc eax
cmp eax, 7
mov dword [esp + 0x88], eax
jl 0x427d42
mov esi, dword [esp + 0x84]
cmp byte [esp + 0x14], bl
je 0x42864e
cmp byte [esp + 0x16], bl
je 0x42864e
cmp byte [esp + 0x13], bl
je 0x42864e
cmp byte [esp + 0x15], bl
je 0x42864e
cmp byte [esp + 0x17], bl
je 0x42864e
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x6c]
push eax
add ecx, 4
call fcn.00428890
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3e0], 3
call fcn.00428730
push esi
call fcn.0057fd88
add esp, 4
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x188]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov byte [esp + 0x3e0], bl
lea ecx, [esp + 0x18]
je 0x428697
call fcn.00401070
jmp 0x427af5
call fcn.00401070
mov ecx, dword [esp + 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [ebp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4286fa
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4286fa
xor edi, edi
cmp eax, ebx
jle 0x4286fa
xor esi, esi
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
mov eax, esi
add eax, ebx
mov eax, dword [eax]
push eax
push ecx
call fcn.0057ffb4
add esp, 8
test eax, eax
je 0x4286f6
mov eax, dword [ebp + 0xc]
inc edi
add esi, 0x14
cmp edi, eax
jl 0x4286cf
jmp 0x4286fa
inc edi
mov dword [ebp + 0x20], edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x3e0], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x3d8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3d4
ret