Function at 0x1003a910
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
mov edx, dword fs:[0]
push 0xffffffffffffffff
push 0x1003b55c
push edx
mov dword fs:[0], esp
sub esp, 8
sub esp, 0x20c
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
cmp byte [0x100827a1], 0
je 0x1003a9ff
mov ecx, dword [0x10091274]
or ecx, dword [0x10091270]
jne 0x1003a9a6
mov edx, 0x1003a888
mov ebx, 0x100229e8
mov eax, 0x81b
push edx
push 0x5c
push ebx
push 0xf
call fcn.100281d8
lea esi, [ebp - 0x134]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
push esi
call sub.KERNEL32.DLL_QueryPerformanceCounter
test eax, eax
jne 0x1003a9e4
mov ecx, 0x1003a8e8
mov edx, 0x100229e8
mov eax, 0x826
push ecx
push 0x27
push edx
push 0xf
call fcn.100281d8
mov ebx, dword [ebp - 0x134]
mov esi, dword [ebp - 0x130]
mov dword [ebp - 0x3c], ebx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], esi
mov edx, dword [ebp - 0x18]
lea eax, [edx + 0x40]
call fcn.10048210
mov eax, dword [ebp - 0x18]
call fcn.10048210
call fcn.100479f0
mov ebx, dword [ebp - 0x18]
xor edi, edi
cmp dword [ebx + 0xac], edi
je 0x1003aaa0
lea ecx, [ebx + 0xa8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx]
mov esi, dword [ecx + edi*4]
lea ebx, [esi + 8]
mov ecx, dword [ebx + 4]
add ecx, 0x1f
shr ecx, 5
mov edx, dword [ebx]
shl ecx, 2
mov dword [ebp - 0x218], ecx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], edx
call fcn.1006374c
movsx edx, byte [esi + 0x4c]
xor dl, 1
je 0x1003aa97
lea ebx, [esi + 0x10]
mov edx, dword [ebx + 4]
add edx, 0x1f
shr edx, 5
mov ecx, dword [ebx]
shl edx, 2
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], ecx
call fcn.1006374c
mov eax, dword [ebp - 0x24]
inc edi
cmp edi, dword [eax + 4]
jb 0x1003aa30
xor edi, edi
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + edi*4]
mov ebx, dword [edx + 0xb8]
test ebx, ebx
je 0x1003aac8
mov esi, dword [ebx + 4]
mov edx, ebx
mov ecx, dword [esi + 0x10]
sub edx, dword [esi]
shr edx, 4
bts dword [ecx], edx
mov ebx, dword [ebx]
test ebx, ebx
jne 0x1003aab2
inc edi
cmp edi, 8
jb 0x1003aaa2
mov eax, dword [ebp - 0x18]
xor edi, edi
cmp dword [eax + 0xac], edi
je 0x1003ab32
lea ebx, [eax + 0xa8]
mov dword [ebp - 0x208], ebx
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebx]
mov esi, dword [edx + edi*4]
movsx ecx, byte [esi + 0x4c]
xor cl, 1
je 0x1003ab29
lea edx, [esi + 8]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
add edx, 0x1f
shr edx, 5
shl edx, 2
mov dword [ebp - 0x218], edx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x220], ecx
call fcn.10063380
mov ecx, dword [ebp - 0x20]
inc edi
cmp edi, dword [ecx + 4]
jb 0x1003aaf0
cmp byte [0x100827a1], 0
je 0x1003ad1a
mov eax, dword [0x10091274]
or eax, dword [0x10091270]
jne 0x1003ab66
mov ebx, 0x1003a888
mov esi, 0x100229e8
mov eax, 0x81b
push ebx
push 0x5c
push esi
push 0xf
call fcn.100281d8
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
push ecx
call sub.KERNEL32.DLL_QueryPerformanceCounter
test eax, eax
jne 0x1003aba4
mov edx, 0x1003a8e8
mov ebx, 0x100229e8
mov eax, 0x826
push edx
push 0x27
push ebx
push 0xf
call fcn.100281d8
mov esi, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0xac], edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xa8], ebx
mov ebx, dword [0x10091270]
sub eax, dword [ebp - 0xac]
sbb edx, dword [ebp - 0xa8]
mov dword [ebp - 0xbc], eax
mov esi, dword [ebp - 0xbc]
mov dword [ebp - 0xb8], edx
mov edi, dword [ebp - 0xb8]
mov dword [ebp - 0x98], edi
mov eax, dword [0x10091274]
mov dword [ebp - 0x9c], esi
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x204], esi
mov dword [ebp - 0x200], edi
call fcn.10063626
mov esi, dword [ebp - 0x204]
mov edx, ecx
imul esi, edx, 0x989680
mov eax, ebx
mov edx, 0x989680
mul edx
mov edi, dword [ebp - 0x200]
add edx, esi
mov dword [ebp - 0x1fc], esi
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x1f8], edi
call fcn.10063626
mov esi, dword [ebp - 0x1fc]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x1e8], edx
mov edi, dword [ebp - 0x1f8]
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x1ec], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x1f4], esi
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x1f0], edi
call fcn.10063626
mov edi, dword [ebp - 0x1f0]
imul edi, edx, 0x989680
mov edx, 0x989680
mul edx
add edx, edi
mov ecx, edx
mov ebx, eax
mov eax, dword [ebp - 0x1ec]
mov edx, dword [ebp - 0x1e8]
add eax, ebx
mov esi, dword [ebp - 0x1f4]
adc edx, ecx
mov dword [ebp - 0xc4], eax
mov esi, dword [ebp - 0xc4]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], esi
push edx
mov eax, dword [ebp - 0xcc]
push eax
mov eax, 0x100912c0
call fcn.10047b0c
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ebx
push dword [ebp + 8]
mov eax, dword [ebp - 0x18]
call fcn.1003a2ac
mov edx, dword [ebp - 0x18]
mov esi, 0x1003b568
mov dword [ebp - 0x44], edx
mov ebx, dword [0x100913dc]
mov dword [ebp - 0x40], esi
cmp dword [0x100913dc], 0
je 0x1003ad5c
mov ecx, dword [ebx + 0x50]
test ecx, ecx
je 0x1003ad55
push ecx
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.10047c40
mov ebx, dword [ebx + 0x78]
test ebx, ebx
jne 0x1003ad42
call fcn.10047b20
mov ebx, dword [ebp - 0x18]
lea eax, [ebx + 0x40]
push eax
xor eax, eax
call fcn.100485b8
xor eax, eax
push ebx
call fcn.100485b8
cmp byte [0x100827a1], 0
je 0x1003b0ba
mov ecx, dword [0x10091274]
or ecx, dword [0x10091270]
jne 0x1003adac
mov edx, 0x1003a888
mov ebx, 0x100229e8
mov eax, 0x81b
push edx
push 0x5c
push ebx
push 0xf
call fcn.100281d8
lea esi, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
push esi
call sub.KERNEL32.DLL_QueryPerformanceCounter
test eax, eax
jne 0x1003adea
mov ecx, 0x1003a8e8
mov edx, 0x100229e8
mov eax, 0x826
push ecx
push 0x27
push edx
push 0xf
call fcn.100281d8
mov ebx, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x138]
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xb0], edx
mov edx, dword [ebp - 0x30]
mov edi, dword [0x10091274]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xb4], ecx
mov ecx, dword [0x10091270]
sub eax, dword [ebp - 0xb4]
sbb edx, dword [ebp - 0xb0]
mov dword [ebp - 0xd4], eax
mov ebx, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], edx
mov esi, dword [ebp - 0xd0]
mov dword [ebp - 0x80], esi
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ebx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], ecx
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x68], edi
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x1e4], esi
mov dword [ebp - 0x1e0], edi
call fcn.10063626
mov esi, dword [ebp - 0x1e4]
mov edx, ecx
imul esi, edx, 0x989680
mov eax, ebx
mov edx, 0x989680
mul edx
mov edi, dword [ebp - 0x1e0]
add edx, esi
mov dword [ebp - 0x1dc], esi
mov ecx, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x1d8], edi
call fcn.10063626
mov esi, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x1c8], edx
mov edi, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1d0], edi
call fcn.10063626
mov edi, dword [ebp - 0x1d0]
imul edi, edx, 0x989680
mov edx, 0x989680
mul edx
add edx, edi
mov ecx, edx
mov ebx, eax
mov eax, dword [ebp - 0x1cc]
mov edx, dword [ebp - 0x1c8]
add eax, ebx
mov esi, dword [ebp - 0x1d4]
adc edx, ecx
mov dword [ebp - 0xfc], eax
mov esi, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], esi
push edx
mov eax, dword [ebp - 0xa4]
push eax
mov eax, 0x100912c8
call fcn.10047b0c
mov ecx, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0xe4], ecx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xe0], ebx
sub eax, dword [ebp - 0xe4]
sbb edx, dword [ebp - 0xe0]
mov ecx, dword [0x10091270]
mov dword [ebp - 0x11c], eax
mov esi, dword [ebp - 0x11c]
mov dword [ebp - 0x118], edx
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0x78], edi
mov ebx, dword [0x10091274]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], esi
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ebx
mov ecx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c4], esi
mov dword [ebp - 0x1c0], edi
call fcn.10063626
mov esi, dword [ebp - 0x1c4]
mov edx, ecx
imul esi, edx, 0x989680
mov eax, ebx
mov edx, 0x989680
mul edx
mov edi, dword [ebp - 0x1c0]
add edx, esi
mov dword [ebp - 0x1bc], esi
mov ecx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x1b8], edi
call fcn.10063626
mov esi, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1a8], edx
mov edi, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x1b0], edi
call fcn.10063626
mov edi, dword [ebp - 0x1b0]
imul edi, edx, 0x989680
mov edx, 0x989680
mul edx
add edx, edi
mov ecx, edx
mov ebx, eax
mov eax, dword [ebp - 0x1ac]
mov edx, dword [ebp - 0x1a8]
add eax, ebx
mov esi, dword [ebp - 0x1b4]
adc edx, ecx
mov dword [ebp - 0x124], eax
mov esi, dword [ebp - 0x124]
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x15c]
push dword [0x100912e4]
push dword [0x100912e0]
call fcn.10047a94
test eax, eax
jle 0x1003b0ae
mov edx, dword [ebp - 0x15c]
mov dword [0x100912e0], edx
mov ecx, dword [ebp - 0x158]
mov dword [0x100912e4], ecx
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], esi
mov eax, dword [0x1008afe8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + eax*4]
mov byte [ecx + 0xf0], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
call fcn.1003a380
mov ecx, dword [0x1008afe8]
mov dword [ebp - 0x28], eax
mov edx, dword fs:[0x2c]
mov ebx, dword [edx + ecx*4]
mov byte [ebx + 0xf0], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x1003b121
cmp byte [0x100827a1], 0
je 0x1003b323
mov edi, dword [0x10091274]
or edi, dword [0x10091270]
jne 0x1003b156
mov eax, 0x1003a888
mov ecx, 0x100229e8
push eax
mov eax, 0x81b
push 0x5c
push ecx
push 0xf
call fcn.100281d8
lea edx, [ebp - 0x164]
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
push edx
call sub.KERNEL32.DLL_QueryPerformanceCounter
test eax, eax
jne 0x1003b194
mov ebx, 0x1003a8e8
mov edi, 0x100229e8
mov eax, 0x826
push ebx
push 0x27
push edi
push 0xf
call fcn.100281d8
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x34], ecx
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], edi
sub eax, dword [ebp - 0x10c]
sbb ecx, dword [ebp - 0x108]
mov dword [ebp - 0x104], eax
mov ebx, dword [ebp - 0x104]
mov dword [ebp - 0x100], ecx
mov edi, dword [ebp - 0x100]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x90], edi
mov eax, dword [0x10091270]
mov ecx, dword [0x10091274]
mov dword [ebp - 0x74], eax
mov eax, 0x989680
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x70], ecx
xor ecx, ecx
mov dword [ebp - 0x94], ebx
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x110], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x1a0], edi
call fcn.10063626
mov edx, ecx
mov eax, ebx
mov edi, dword [ebp - 0x1a0]
mov esi, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x110]
mov ebx, dword [ebp - 0x114]
imul ecx, eax
imul edx, ebx
add ecx, edx
mul ebx
add edx, ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x19c], esi
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x198], edi
call fcn.10063626
mov esi, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x188], edx
mov edi, dword [ebp - 0x198]
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x18c], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x194], esi
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x190], edi
call fcn.10063626
mov edi, dword [ebp - 0x190]
mov esi, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x110]
mov ebx, dword [ebp - 0x114]
imul ecx, eax
imul edx, ebx
add ecx, edx
lea esi, [ebp - 0x144]
mul ebx
add edx, ecx
mov ecx, edx
mov ebx, eax
mov eax, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x188]
add eax, ebx
adc edx, ecx
mov dword [esi + 4], edx
mov dword [esi], eax
mov edx, dword [esi + 4]
push edx
mov eax, dword [esi]
push eax
mov eax, 0x100912d0
call fcn.10047b0c
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x18]
call fcn.1003a6d0
mov esi, eax
cmp byte [0x100827a1], 0
je 0x1003b52a
mov edx, dword [0x10091274]
or edx, dword [0x10091270]
jne 0x1003b362
mov ecx, 0x1003a888
mov edx, 0x100229e8
mov eax, 0x81b
push ecx
push 0x5c
push edx
push 0xf
call fcn.100281d8
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
push ecx
call sub.KERNEL32.DLL_QueryPerformanceCounter
test eax, eax
jne 0x1003b3a0
mov edx, 0x1003a8e8
mov ecx, 0x100229e8
mov eax, 0x826
push edx
push 0x27
push ecx
push 0xf
call fcn.100281d8
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0xf4], edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xf0], ecx
sub eax, dword [ebp - 0xf4]
sbb edx, dword [ebp - 0xf0]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xe8], edx
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x8c], ecx
mov ecx, dword [0x10091270]
mov dword [ebp - 0x88], edx
mov edx, dword [0x10091274]
mov dword [ebp - 0x60], edx
mov eax, 0x989680
xor edx, edx
mov dword [ebp - 0xd8], edx
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x180], edi
call fcn.10063626
mov edx, ecx
mov eax, ebx
mov edi, dword [ebp - 0x180]
mov esi, dword [ebp - 0x184]
mov ecx, dword [ebp - 0xd8]
mov ebx, dword [ebp - 0xdc]
imul ecx, eax
imul edx, ebx
add ecx, edx
mul ebx
add edx, ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x17c], esi
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 0x178], edi
call fcn.10063626
mov esi, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x168], edx
mov edi, dword [ebp - 0x178]
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x174], esi
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x170], edi
call fcn.10063626
mov edi, dword [ebp - 0x170]
mov esi, dword [ebp - 0x174]
mov ecx, dword [ebp - 0xd8]
mov ebx, dword [ebp - 0xdc]
imul ecx, eax
imul edx, ebx
add ecx, edx
lea edi, [ebp - 0x12c]
mul ebx
add edx, ecx
mov ecx, edx
mov ebx, eax
mov eax, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x168]
add eax, ebx
adc edx, ecx
mov dword [edi + 4], edx
mov dword [edi], eax
mov edx, dword [edi + 4]
push edx
mov eax, dword [edi]
push eax
mov eax, 0x100912d8
call fcn.10047b0c
inc dword [0x100912e8]
mov eax, dword [ebp - 0x18]
call fcn.10038d04
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add eax, esi
mov ebx, dword [ebp - 0x214]
mov esi, dword [ebp - 0x210]
mov edi, dword [ebp - 0x20c]
mov esp, ebp
pop ebp
ret 4