Function at 0x425a90
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d84b1
mov eax, dword fs:[0]
push eax
sub esp, 0x178
push ebx
push esi
push edi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
or eax, 0xffffffff
mov dword [esp + 0xfc], edi
mov dword [esp + 0x100], edi
mov dword [esp + 0x118], edi
mov dword [esp + 0x11c], edi
mov dword [esp + 0x120], edi
mov dword [esp + 0x104], edi
mov dword [esp + 0xf8], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x190], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x194], 1
mov dword [esp + 0x50], 0x4de284
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call dword [sym.imp.user32.dll_SetRectEmpty]
cmp dword [esi + 0x104], edi
mov ecx, dword [ebp + 0x14]
mov dl, byte [ecx + 0xfa4]
mov dword [esp + 0x28], edi
mov byte [esp + 0x17], dl
mov dword [esp + 0x18], edi
jle 0x42667c
add esi, 0xbc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
call fcn.0041dd60
test eax, eax
je 0x425d71
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x178]
push edx
mov ecx, esi
call fcn.0041f320
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esi + 0x18]
mov dword [esp + 0xf0], eax
mov eax, dword [esi]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
test ebx, ebx
je 0x425c3b
cmp ebx, eax
je 0x425c40
call fcn.004a067d
cmp edi, dword [esp + 0xf0]
je 0x426631
lea ecx, [ecx]
test ebx, ebx
jne 0x425d2d
call fcn.004a067d
cmp edi, dword [ebx + 0x18]
jne 0x425c67
call fcn.004a067d
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x80], ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x84], edx
mov edx, dword [edi + 0x24]
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x7c], ecx
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x8c], edx
mov edx, dword [edi + 0x30]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
cmp ebx, 0xffffffff
je 0x425d02
cmp ebx, 0xfffffb2e
je 0x425d02
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x12c]
sub ecx, dword [eax + 0x128]
sar ecx, 2
cmp ebx, ecx
jb 0x425ce8
call fcn.004a067d
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x128]
mov ecx, dword [edx + ebx*4]
mov eax, 1
cmp dword [ecx + 0xd4], eax
jne 0x425d02
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x1c]
call fcn.00419da0
mov esi, dword [esi + 0x18]
mov eax, dword [esi + 4]
cmp byte [eax + 0x41], 0
mov dword [esp + 0x24], esi
jne 0x425d3d
mov ecx, dword [esp + 0x18]
nop
cmp ecx, dword [eax + 0xc]
jge 0x425d34
mov dword [esp + 0x24], eax
mov eax, dword [eax]
jmp 0x425d37
mov ebx, dword [ebx]
jmp 0x425c5d
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x425d20
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0xbc]
add esi, 0xbc
test ebx, ebx
je 0x425d59
cmp ebx, eax
je 0x425d5e
call fcn.004a067d
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x24]
jne 0x425c50
jmp 0x426631
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x160]
push eax
mov ecx, esi
call fcn.0041f320
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0xe8], ecx
test ebx, ebx
je 0x425da6
cmp ebx, eax
je 0x425dab
call fcn.004a067d
cmp edi, dword [esp + 0xe8]
je 0x426631
mov edx, dword [esi + 0x18]
mov eax, dword [esi]
mov dword [esp + 0xe0], edx
test ebx, ebx
je 0x425dcc
cmp ebx, eax
je 0x425dd1
call fcn.004a067d
cmp edi, dword [esp + 0xe0]
je 0x426631
test ebx, ebx
jne 0x42652b
call fcn.004a067d
cmp edi, dword [ebx + 0x18]
jne 0x425df5
call fcn.004a067d
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x84], ecx
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x88], edx
mov edx, dword [edi + 0x28]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x78], esi
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
cmp esi, 0xffffffff
je 0x4265c1
cmp esi, 0xfffffb2e
je 0x4265c1
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x12c]
sub edx, dword [edi + 0x128]
sar edx, 2
cmp esi, edx
jb 0x425e7a
call fcn.004a067d
mov eax, dword [edi + 0x128]
mov esi, dword [eax + esi*4]
cmp dword [esi + 0xd4], 1
jne 0x4265c1
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
push 0
add ecx, 0x178
push ecx
push edx
lea eax, [esp + 0xb8]
mov edi, 1
push eax
lea ecx, [esi + 0xd8]
mov dword [esp + 0x3c], edi
call fcn.004586b0
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x50]
call eax
cmp dword [esi + 0x188], edi
jne 0x4260c2
lea edi, [esi + 0x190]
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x188], 0
call fcn.00422620
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp + 0x74], ecx
push edi
lea ecx, [esi + 0x5c]
mov dword [esp + 0x74], ebx
call fcn.0040e4d0
mov edx, dword [eax]
mov eax, dword [edi]
mov edi, dword [esi + 0x194]
mov dword [esi + 0xa4], eax
mov dword [esi + 0x9c], edi
mov ecx, dword [esi + 0x244]
sub ecx, dword [esi + 0x240]
mov dword [esp + 0xa8], edx
sar ecx, 2
cmp edi, ecx
jb 0x425f3a
call fcn.004a067d
mov edx, dword [esi + 0x240]
mov eax, dword [edx + edi*4]
mov edi, dword [eax + 8]
cmp edi, 0xffffffff
jne 0x425f71
mov ecx, dword [esi + 0x244]
mov edi, dword [esi + 0x9c]
sub ecx, edx
sar ecx, 2
cmp edi, ecx
jb 0x425f65
call fcn.004a067d
mov edx, dword [esi + 0x240]
mov eax, dword [edx + edi*4]
mov edi, dword [eax + 0x24]
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [ebp + 8]
push ebx
push edi
call fcn.0040eae0
lea edx, [esp + 0x24]
lea ecx, [esi + 0x1c]
push edx
mov dword [esp + 0x28], edi
call fcn.0040e4d0
mov ebx, dword [eax]
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0x1c]
inc ebx
call fcn.0040e4d0
mov ecx, dword [ebp + 8]
push 1
push edi
mov dword [eax], ebx
call fcn.0040fac0
mov cl, byte [esp + 0x17]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ebx, eax
mov eax, dword [esp + 0xb0]
push 1
mov byte [ebx + 0xdd], cl
mov edx, dword [esi]
push edx
mov edx, dword [ebp + 8]
push eax
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x28]
push edi
push edx
lea eax, [esp + 0x144]
push eax
call fcn.00424fb0
mov eax, dword [esp + 0x148]
test eax, eax
je 0x425ffd
push eax
call fcn.004a2159
add esp, 4
mov edi, dword [esp + 0x10]
push ebx
mov ecx, edi
call fcn.0041f550
mov ecx, dword [ebp + 0xc]
add ebx, 0x4c
push ebx
call fcn.00406600
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jle 0x426029
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jle 0x42603d
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
push ebx
mov ebx, dword [ebp + 0x14]
lea ecx, [ebx + 0xd8]
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.user32.dll_IntersectRect]
test eax, eax
je 0x42605f
mov dword [esp + 0x28], 1
mov eax, dword [ebp + 0x18]
push eax
push edi
mov ecx, ebx
call fcn.00471b30
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x180]
push edx
lea ecx, [edi + 0xbc]
call fcn.0041f320
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
cmp eax, 1
je 0x42609e
cmp eax, 9
jne 0x4260c2
mov eax, dword [esi + 0x178]
sub eax, dword [esi + 0x174]
sar eax, 2
test eax, eax
ja 0x4260b6
call fcn.004a067d
mov ecx, dword [esi + 0x174]
mov dword [ecx], 1
mov edx, dword [esi + 0x178]
sub edx, dword [esi + 0x174]
sar edx, 2
test edx, edx
ja 0x4260da
call fcn.004a067d
mov eax, dword [esi + 0x174]
cmp dword [eax], 1
jne 0x4265c1
mov ecx, dword [esi + 0x244]
sub ecx, dword [esi + 0x240]
mov edi, dword [esi + 0x9c]
sar ecx, 2
cmp edi, ecx
jb 0x426107
call fcn.004a067d
mov edx, dword [esi + 0x240]
mov eax, dword [edx + edi*4]
cmp dword [eax + 8], 0xffffffff
jne 0x426225
mov ecx, dword [esi + 0x244]
mov edi, dword [esi + 0x9c]
sub ecx, edx
sar ecx, 2
cmp edi, ecx
jb 0x426134
call fcn.004a067d
mov edx, dword [esi + 0x240]
mov eax, dword [edx + edi*4]
mov eax, dword [eax + 0x24]
xor ebx, ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov ecx, dword [esi]
push ecx
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x12c]
push edx
mov byte [esp + 0x19c], 2
call fcn.0041fe80
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0xb8], edx
mov edx, dword [eax]
mov dword [esp + 0xb0], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xac], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0xc0], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0xc4], edx
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x148]
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
mov dword [esp + 0x134], ebx
cmp eax, ebx
je 0x4261e8
push eax
call fcn.004a2159
add esp, 4
cmp edi, ebx
je 0x42621d
push edi
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.004210a0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x158]
push ecx
lea ecx, [edi + 0xbc]
call fcn.0041f320
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov byte [esp + 0x190], 1
cmp dword [esp + 0x50], 0xa
jne 0x426291
mov ecx, dword [esi + 0x160]
sub ecx, dword [esi + 0x15c]
sar ecx, 2
test ecx, ecx
ja 0x426244
call fcn.004a067d
mov edx, dword [esi + 0x15c]
mov eax, dword [edx]
cmp eax, dword [esp + 0x54]
jne 0x426291
mov ecx, dword [esi + 0x1a8]
sub ecx, dword [esi + 0x1a4]
lea edi, [esi + 0x198]
sar ecx, 3
test ecx, ecx
ja 0x426270
call fcn.004a067d
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 4]
cmp eax, dword [esp + 0x5c]
jne 0x426291
push 0
mov ecx, edi
call fcn.00419c80
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x58]
je 0x4265c1
mov edx, dword [esi + 0x160]
sub edx, dword [esi + 0x15c]
sar edx, 2
test edx, edx
ja 0x4262a9
call fcn.004a067d
mov eax, dword [esi + 0x15c]
cmp dword [eax], 0xffffffff
je 0x426472
mov ecx, dword [esi + 0x1a8]
sub ecx, dword [esi + 0x1a4]
sar ecx, 3
test ecx, ecx
ja 0x4262d0
call fcn.004a067d
mov ebx, dword [esi + 0x1a4]
mov edx, dword [esi + 0x1a8]
sub edx, ebx
sar edx, 3
test edx, edx
ja 0x4262ea
call fcn.004a067d
mov eax, dword [esi + 0x160]
sub eax, dword [esi + 0x15c]
mov edi, dword [esi + 0x1a4]
sar eax, 2
test eax, eax
ja 0x426308
call fcn.004a067d
mov ecx, dword [ebx + 4]
mov edx, dword [edi]
mov eax, dword [esi + 0x15c]
mov edi, dword [ebp + 8]
push ecx
mov ecx, dword [eax]
push edx
push ecx
mov ecx, edi
call fcn.0040eae0
mov edx, dword [esi + 0x160]
sub edx, dword [esi + 0x15c]
sar edx, 2
test edx, edx
ja 0x42633a
call fcn.004a067d
mov eax, dword [esi + 0x15c]
mov eax, dword [eax]
push 0
push eax
mov ecx, edi
call fcn.0040fac0
mov cl, byte [esp + 0x17]
mov edi, eax
mov byte [edi + 0xdd], cl
mov edx, dword [esi + 0x1a8]
sub edx, dword [esi + 0x1a4]
sar edx, 3
test edx, edx
ja 0x426370
call fcn.004a067d
mov eax, dword [esi + 0x1a4]
mov ecx, dword [eax + 4]
mov dword [edi + 0x50], ecx
mov edx, dword [esi + 0x1a8]
sub edx, dword [esi + 0x1a4]
sar edx, 3
test edx, edx
ja 0x426394
call fcn.004a067d
mov eax, dword [esi + 0x1a4]
mov ecx, dword [eax]
lea ebx, [edi + 0x4c]
mov dword [ebx], ecx
mov edx, dword [esi + 0x1a8]
sub edx, dword [esi + 0x1a4]
sar edx, 3
test edx, edx
ja 0x4263b9
call fcn.004a067d
mov eax, dword [esi + 0x1a4]
mov ecx, dword [edi + 0x10]
add ecx, dword [eax]
mov dword [edi + 0x54], ecx
mov edx, dword [esi + 0x1a8]
sub edx, dword [esi + 0x1a4]
sar edx, 3
test edx, edx
ja 0x4263df
call fcn.004a067d
mov eax, dword [esi + 0x1a4]
mov ecx, dword [eax + 4]
add ecx, dword [edi + 0xc]
push ebx
mov dword [edi + 0x58], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00406600
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jle 0x42640b
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jle 0x42641f
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov edx, dword [ebp + 0x14]
push ebx
add edx, 0xd8
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.user32.dll_IntersectRect]
test eax, eax
je 0x426441
mov dword [esp + 0x28], 1
push edi
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.004210a0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x168]
push edx
lea ecx, [edi + 0xbc]
call fcn.0041f320
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x134], 0
jne 0x4265c1
cmp dword [eax + 0xb78], 0
jne 0x4265c1
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
je 0x4265c1
cmp eax, 0xffffd8f1
je 0x4265c1
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov edi, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0040eae0
mov eax, dword [esp + 0x54]
push 0
push eax
mov ecx, edi
call fcn.0040fac0
mov cl, byte [esp + 0x17]
mov edi, eax
mov byte [edi + 0xdd], cl
mov edx, dword [esp + 0x5c]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x50], edx
mov eax, dword [esp + 0x58]
mov edx, dword [edi + 0xc]
mov dword [edi + 0x4c], eax
add ecx, dword [esp + 0x58]
lea ebx, [edi + 0x4c]
mov dword [edi + 0x54], ecx
add edx, dword [esp + 0x5c]
lea ecx, [esi + 0x234]
mov dword [edi + 0x58], edx
mov eax, dword [esi + 0x9c]
push eax
call fcn.00419cb0
mov ecx, dword [eax]
cmp dword [ecx + 8], 0xffffffff
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x60]
push 1
je 0x426532
push 0xfffffb2e
jmp 0x426535
mov ebx, dword [ebx]
jmp 0x425deb
mov ecx, dword [esi]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x144]
push eax
call fcn.00424fb0
lea ecx, [esp + 0x124]
call fcn.0041a0e0
mov ecx, dword [esp + 0x10]
push edi
call fcn.0041f550
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.00406600
lea ecx, [esp + 0x30]
call fcn.00403ff0
mov ecx, dword [ebp + 0x14]
push ebx
add ecx, 0xd8
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.user32.dll_IntersectRect]
test eax, eax
je 0x42659b
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x174]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0041fdb0
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
jmp 0x4265d2
lea ecx, [esp + 0x1c]
call fcn.00419da0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xd4]
add eax, 0xbc
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
mov dword [esp + 0x24], ecx
jne 0x42660a
mov edi, edi
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0xc]
jge 0x426601
mov dword [esp + 0x24], eax
mov eax, dword [eax]
jmp 0x426604
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x4265f0
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xbc]
add esi, 0xbc
test ebx, ebx
je 0x426622
cmp ebx, eax
je 0x426627
call fcn.004a067d
cmp edi, dword [esp + 0x24]
jne 0x425db8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, dword [ecx + 0x104]
mov dword [esp + 0x18], eax
jl 0x425bf0
cmp dword [esp + 0x28], 1
jne 0x426660
mov edx, dword [ebp + 0x18]
mov eax, ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
call fcn.00471b30
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, edi
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14