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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d68c1
mov eax, dword fs:[0]
push eax
sub esp, 0x178
push ebx
push esi
push edi
mov eax, dword [0x51b260]
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], 0x4dc264
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 + 0xfd8]
mov dword [esp + 0x28], edi
mov byte [esp + 0x17], dl
mov dword [esp + 0x18], edi
jle 0x4267bc
add esi, 0xbc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
call fcn.0041e250
test eax, eax
je 0x425eb1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x178]
push edx
mov ecx, esi
call fcn.0041f760
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 0x425d7b
cmp ebx, eax
je 0x425d80
call fcn.0049eacd
cmp edi, dword [esp + 0xf0]
je 0x426771
lea ecx, [ecx]
test ebx, ebx
jne 0x425e6d
call fcn.0049eacd
cmp edi, dword [ebx + 0x18]
jne 0x425da7
call fcn.0049eacd
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 0x425e42
cmp ebx, 0xfffffb2e
je 0x425e42
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x12c]
sub ecx, dword [eax + 0x128]
sar ecx, 2
cmp ebx, ecx
jb 0x425e28
call fcn.0049eacd
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 0x425e42
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x1c]
call fcn.0041a2f0
mov esi, dword [esi + 0x18]
mov eax, dword [esi + 4]
cmp byte [eax + 0x41], 0
mov dword [esp + 0x24], esi
jne 0x425e7d
mov ecx, dword [esp + 0x18]
nop
cmp ecx, dword [eax + 0xc]
jge 0x425e74
mov dword [esp + 0x24], eax
mov eax, dword [eax]
jmp 0x425e77
mov ebx, dword [ebx]
jmp 0x425d9d
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x425e60
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0xbc]
add esi, 0xbc
test ebx, ebx
je 0x425e99
cmp ebx, eax
je 0x425e9e
call fcn.0049eacd
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x24]
jne 0x425d90
jmp 0x426771
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x160]
push eax
mov ecx, esi
call fcn.0041f760
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 0x425ee6
cmp ebx, eax
je 0x425eeb
call fcn.0049eacd
cmp edi, dword [esp + 0xe8]
je 0x426771
mov edx, dword [esi + 0x18]
mov eax, dword [esi]
mov dword [esp + 0xe0], edx
test ebx, ebx
je 0x425f0c
cmp ebx, eax
je 0x425f11
call fcn.0049eacd
cmp edi, dword [esp + 0xe0]
je 0x426771
test ebx, ebx
jne 0x42666b
call fcn.0049eacd
cmp edi, dword [ebx + 0x18]
jne 0x425f35
call fcn.0049eacd
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 0x426701
cmp esi, 0xfffffb2e
je 0x426701
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x12c]
sub edx, dword [edi + 0x128]
sar edx, 2
cmp esi, edx
jb 0x425fba
call fcn.0049eacd
mov eax, dword [edi + 0x128]
mov esi, dword [eax + esi*4]
cmp dword [esi + 0xd4], 1
jne 0x426701
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.00456840
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x50]
call eax
cmp dword [esi + 0x188], edi
jne 0x426202
lea edi, [esi + 0x190]
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x188], 0
call fcn.004227d0
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.0040ffe0
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 0x42607a
call fcn.0049eacd
mov edx, dword [esi + 0x240]
mov eax, dword [edx + edi*4]
mov edi, dword [eax + 8]
cmp edi, 0xffffffff
jne 0x4260b1
mov ecx, dword [esi + 0x244]
mov edi, dword [esi + 0x9c]
sub ecx, edx
sar ecx, 2
cmp edi, ecx
jb 0x4260a5
call fcn.0049eacd
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.0040ee90
lea edx, [esp + 0x24]
lea ecx, [esi + 0x1c]
push edx
mov dword [esp + 0x28], edi
call fcn.0040ffe0
mov ebx, dword [eax]
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0x1c]
inc ebx
call fcn.0040ffe0
mov ecx, dword [ebp + 8]
push 1
push edi
mov dword [eax], ebx
call fcn.0040fe70
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.004250f0
mov eax, dword [esp + 0x148]
test eax, eax
je 0x42613d
push eax
call fcn.004a05a9
add esp, 4
mov edi, dword [esp + 0x10]
push ebx
mov ecx, edi
call fcn.0041f990
mov ecx, dword [ebp + 0xc]
add ebx, 0x4c
push ebx
call fcn.00406970
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jle 0x426169
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jle 0x42617d
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 0x42619f
mov dword [esp + 0x28], 1
mov eax, dword [ebp + 0x18]
push eax
push edi
mov ecx, ebx
call fcn.00470870
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x180]
push edx
lea ecx, [edi + 0xbc]
call fcn.0041f760
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 0x4261de
cmp eax, 9
jne 0x426202
mov eax, dword [esi + 0x178]
sub eax, dword [esi + 0x174]
sar eax, 2
test eax, eax
ja 0x4261f6
call fcn.0049eacd
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 0x42621a
call fcn.0049eacd
mov eax, dword [esi + 0x174]
cmp dword [eax], 1
jne 0x426701
mov ecx, dword [esi + 0x244]
sub ecx, dword [esi + 0x240]
mov edi, dword [esi + 0x9c]
sar ecx, 2
cmp edi, ecx
jb 0x426247
call fcn.0049eacd
mov edx, dword [esi + 0x240]
mov eax, dword [edx + edi*4]
cmp dword [eax + 8], 0xffffffff
jne 0x426365
mov ecx, dword [esi + 0x244]
mov edi, dword [esi + 0x9c]
sub ecx, edx
sar ecx, 2
cmp edi, ecx
jb 0x426274
call fcn.0049eacd
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.004202c0
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 0x426328
push eax
call fcn.004a05a9
add esp, 4
cmp edi, ebx
je 0x42635d
push edi
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.00421250
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x158]
push ecx
lea ecx, [edi + 0xbc]
call fcn.0041f760
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 0x4263d1
mov ecx, dword [esi + 0x160]
sub ecx, dword [esi + 0x15c]
sar ecx, 2
test ecx, ecx
ja 0x426384
call fcn.0049eacd
mov edx, dword [esi + 0x15c]
mov eax, dword [edx]
cmp eax, dword [esp + 0x54]
jne 0x4263d1
mov ecx, dword [esi + 0x1a8]
sub ecx, dword [esi + 0x1a4]
lea edi, [esi + 0x198]
sar ecx, 3
test ecx, ecx
ja 0x4263b0
call fcn.0049eacd
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 4]
cmp eax, dword [esp + 0x5c]
jne 0x4263d1
push 0
mov ecx, edi
call fcn.0041a1d0
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x58]
je 0x426701
mov edx, dword [esi + 0x160]
sub edx, dword [esi + 0x15c]
sar edx, 2
test edx, edx
ja 0x4263e9
call fcn.0049eacd
mov eax, dword [esi + 0x15c]
cmp dword [eax], 0xffffffff
je 0x4265b2
mov ecx, dword [esi + 0x1a8]
sub ecx, dword [esi + 0x1a4]
sar ecx, 3
test ecx, ecx
ja 0x426410
call fcn.0049eacd
mov ebx, dword [esi + 0x1a4]
mov edx, dword [esi + 0x1a8]
sub edx, ebx
sar edx, 3
test edx, edx
ja 0x42642a
call fcn.0049eacd
mov eax, dword [esi + 0x160]
sub eax, dword [esi + 0x15c]
mov edi, dword [esi + 0x1a4]
sar eax, 2
test eax, eax
ja 0x426448
call fcn.0049eacd
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.0040ee90
mov edx, dword [esi + 0x160]
sub edx, dword [esi + 0x15c]
sar edx, 2
test edx, edx
ja 0x42647a
call fcn.0049eacd
mov eax, dword [esi + 0x15c]
mov eax, dword [eax]
push 0
push eax
mov ecx, edi
call fcn.0040fe70
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 0x4264b0
call fcn.0049eacd
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 0x4264d4
call fcn.0049eacd
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 0x4264f9
call fcn.0049eacd
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 0x42651f
call fcn.0049eacd
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.00406970
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jle 0x42654b
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jle 0x42655f
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 0x426581
mov dword [esp + 0x28], 1
push edi
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.00421250
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x168]
push edx
lea ecx, [edi + 0xbc]
call fcn.0041f760
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 0x426701
cmp dword [eax + 0xb78], 0
jne 0x426701
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
je 0x426701
cmp eax, 0xffffd8f1
je 0x426701
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.0040ee90
mov eax, dword [esp + 0x54]
push 0
push eax
mov ecx, edi
call fcn.0040fe70
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.0041a200
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 0x426672
push 0xfffffb2e
jmp 0x426675
mov ebx, dword [ebx]
jmp 0x425f2b
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.004250f0
lea ecx, [esp + 0x124]
call fcn.0041a630
mov ecx, dword [esp + 0x10]
push edi
call fcn.0041f990
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.00406970
lea ecx, [esp + 0x30]
call fcn.00404300
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 0x4266db
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.004201f0
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
jmp 0x426712
lea ecx, [esp + 0x1c]
call fcn.0041a2f0
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 0x42674a
mov edi, edi
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0xc]
jge 0x426741
mov dword [esp + 0x24], eax
mov eax, dword [eax]
jmp 0x426744
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x426730
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xbc]
add esi, 0xbc
test ebx, ebx
je 0x426762
cmp ebx, eax
je 0x426767
call fcn.0049eacd
cmp edi, dword [esp + 0x24]
jne 0x425ef8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, dword [ecx + 0x104]
mov dword [esp + 0x18], eax
jl 0x425d30
cmp dword [esp + 0x28], 1
jne 0x4267a0
mov edx, dword [ebp + 0x18]
mov eax, ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
call fcn.00470870
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