Function at 0x7f902c00
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8c
push ebx
push esi
mov esi, dword [esp + 0x98]
push edi
push ebp
nop
mov ecx, dword [esi + 0x78]
cmp dword [esi + 0x478], 1
sbb eax, eax
neg eax
test ecx, 0x200000
mov dword [esp + 0x50], eax
je 0x7f902c56
mov eax, dword [esp + 0xa4]
mov edx, dword [esi + 0x1c]
cmp edx, eax
jne 0x7f902c56
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x7f902c56
mov eax, dword [esp + 0xac]
mov ebp, 1
cmp eax, 1
je 0x7f902c58
xor ebp, ebp
mov ebx, 1
xor edx, edx
mov eax, dword [esi + 0x53c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], eax
and ecx, 0xfeffffff
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], edx
mov dword [esi + 0x78], ecx
and ecx, 0xfdffffff
mov edi, dword [esi + 0x60]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x590], edx
mov dword [esp + 0x40], 0xa
test edi, 4
mov dword [esi + 0x58c], edx
je 0x7f903bb1
mov ecx, dword [esi + 0xe0]
cmp ecx, 2
je 0x7f903bb1
mov eax, dword [esp + 0xb0]
cmp eax, edx
je 0x7f902ccf
mov dword [esp + 0xb4], edx
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x7f902d22
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x7f902d22
mov eax, dword [esi + 4]
test eax, eax
je 0x7f902cf9
mov eax, dword [esi + 0x88]
test eax, 0x40000
jne 0x7f902d22
mov eax, dword [esi + 0x540]
mov edx, dword [esi + 0x538]
mov dword [esi + 0x4e8], 0xffffffff
mov dword [esp + 0xb4], 1
add eax, edx
mov dword [esi + 0x4ec], eax
mov eax, dword [esi + 0x74]
mov edi, eax
and edi, 0x40000
shr edi, 0x12
test edi, edi
jne 0x7f902d54
mov edx, dword [esi + 0x4e0]
sub edx, dword [esp + 0xa8]
add edx, dword [esp + 0xac]
cmp edx, ecx
jl 0x7f902d54
or eax, 0x40000
mov dword [esi + 0x74], eax
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0xa4]
shl edi, 0x12
push eax
push ecx
push esi
call fcn.7f901b00
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x4b4]
xor edi, eax
and edi, 0x40000
xor edi, eax
mov eax, dword [esp + 0x28]
shl eax, 2
mov dword [esi + 0x74], edi
lea edx, [eax + eax*4]
mov eax, dword [edx + ecx]
mov edx, dword [esp + 0x2c]
sub eax, edx
mov dword [esp + 0x18], eax
mov dword [esi + 0x588], eax
mov eax, dword [esp + 0xac]
mov edi, dword [esp + 0x18]
add eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa4]
sub eax, edi
test ebp, ebp
mov dword [esp + 0xa4], eax
jne 0x7f902e5c
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x7f902e83
mov edx, 2
mov eax, dword [esp + 0x28]
cmp edi, 1
adc edx, 0xffffffff
cmp edx, eax
jl 0x7f902de9
mov edx, eax
mov eax, edx
mov dword [esp + 0x38], edx
dec edx
test eax, eax
jle 0x7f902e5c
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
shl eax, 2
lea eax, [eax + eax*4]
add eax, ecx
test byte [eax + 0x10], 4
jne 0x7f902e44
mov edi, dword [eax]
mov ebx, dword [esp + 0x18]
add ebx, edi
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0xa4]
sub ebx, dword [eax]
mov dword [esp + 0xa4], ebx
mov ebx, dword [esp + 0x3c]
mov edi, dword [eax]
mov eax, edx
add ebx, edi
dec edx
mov dword [esp + 0x3c], ebx
test eax, eax
jg 0x7f902df8
mov ebx, dword [esp + 0x44]
jmp 0x7f902e5c
mov ebx, dword [esp + 0x44]
inc edx
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
sub eax, edx
inc edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x7f902e83
xor ebx, ebx
mov edx, eax
xor eax, eax
mov edi, dword [esp + 0x2c]
test edi, edi
setg al
sub edx, eax
shl edx, 2
lea eax, [edx + edx*4]
test byte [eax + ecx + 0x10], 4
setne bl
mov edi, dword [esp + 0xb8]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x1c]
push edx
mov dword [edi + 0xc], eax
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x2c]
push ecx
push 0
push esi
call fcn.7f904170
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xb0]
mov dword [edi + 8], ecx
mov dword [edi + 0x14], ecx
test eax, eax
jne 0x7f902f2d
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x7f902f2d
mov eax, dword [esp + 0xa4]
mov ecx, dword [esi + 0x4e0]
cmp ecx, eax
jge 0x7f902ef8
mov eax, dword [esi + 0x540]
mov ecx, dword [esi + 0x538]
add eax, ecx
mov edx, dword [esi + 0x4e4]
cmp eax, edx
jle 0x7f902f0e
mov eax, dword [esi + 0x540]
mov ecx, dword [esi + 0x538]
add eax, ecx
mov edx, dword [esp + 0x1c]
cmp eax, edx
jge 0x7f902f2d
mov eax, dword [esp + 0x28]
push eax
push 0
push esi
call fcn.7f901f10
push esi
call fcn.7f904080
push edi
push esi
call fcn.7f903c40
jmp 0x7f903bbf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa4]
lea edx, [esp + 0x5c]
mov dword [esi + 0x4e4], eax
push edx
mov dword [esi + 0x4e0], ecx
mov ecx, dword [esp + 0xa8]
push ecx
push esi
call fcn.7f8f9af0
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x4b4]
shl eax, 2
mov edx, dword [esi + 0x4f4]
mov dword [esp + 0x20], edx
lea eax, [eax + eax*4]
add eax, ecx
mov ecx, dword [esi + 0x4f8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], ecx
test edx, edx
je 0x7f902f9d
shl ecx, 2
lea eax, [ecx + ecx*4]
push eax
push 0
push edx
call fcn.7f916b90
jmp 0x7f903048
push 0x40
push 0xa0
call fcn.7f911900
mov dword [esp + 0x20], eax
test eax, eax
jne 0x7f90302b
or dword [esi + 0x74], 0x800000
mov eax, dword [esi + 0x78]
test al, 0x10
jne 0x7f902fd6
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x4e0], eax
mov dword [esi + 0x4e4], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x7f902ff8
mov ecx, dword [esi + 0x4f4]
cmp ecx, eax
je 0x7f902ff8
push eax
call fcn.7f9119e0
mov dword [esi + 0x4f4], 0
mov eax, dword [esi + 0x78]
test al, 0x10
jne 0x7f90301d
or eax, 0x10
mov ecx, dword [esi + 0x74]
or ecx, 0x800000
push 1
push esi
mov dword [esi + 0x78], eax
mov dword [esi + 0x74], ecx
call fcn.7f904a70
and dword [esi + 0x78], 0xffffffef
push edi
push esi
call fcn.7f903c40
xor eax, eax
jmp 0x7f903bc4
mov eax, dword [esp + 0x20]
mov dword [esi + 0x4f4], eax
mov eax, 8
mov dword [esi + 0x4f8], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
test ebp, ebp
mov dword [esp + 0x10], eax
mov dword [eax], 0
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 0
mov eax, dword [esp + 0x10]
mov word [eax + 8], 0
je 0x7f90310e
mov eax, dword [esi + 0x7c]
test al, 1
jne 0x7f90310e
test al, 2
je 0x7f90310e
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push edi
push ecx
push edx
mov ecx, dword [esp + 0xb4]
push eax
mov edx, dword [esp + 0x64]
push ecx
push edx
push 2
push esi
call fcn.7f902350
test eax, eax
je 0x7f903104
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
movsx ecx, word [eax + 8]
add edx, ecx
mov dword [esp + 0x1c], edx
inc dword [eax]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0xa4]
nop
mov ecx, dword [eax]
add eax, 0x14
add ebp, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x3c], 0
mov dword [eax], 0
mov eax, dword [esp + 0x10]
mov word [eax + 0x10], 0
dec dword [esp + 0x24]
jmp 0x7f90310e
mov eax, dword [esp + 0x18]
mov dword [esi + 0x588], eax
cmp dword [esp + 0x3c], 0
jg 0x7f903121
mov eax, dword [esp + 0x48]
test eax, eax
je 0x7f90365a
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x24]
cmp eax, 2
jge 0x7f903177
lea eax, [esp + 0x38]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
push edx
lea edx, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
push edx
lea edx, [esp + 0x74]
push eax
lea eax, [esp + 0xc0]
push ecx
push edx
push eax
push 1
push esi
call fcn.7f902980
test eax, eax
je 0x7f902fb8
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x7f90329a
mov eax, dword [esp + 0x50]
test eax, eax
je 0x7f9031e0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [eax]
mov ecx, dword [eax + 0xc]
sub ebp, ecx
cmp edx, ebp
jl 0x7f9031e0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp ebp, eax
jle 0x7f9031e0
mov ecx, ebp
sub ecx, eax
lea eax, [esp + 0x5c]
push ecx
push eax
push esi
call fcn.7f8f9b50
mov ecx, dword [esp + 0x10]
mov dword [ecx], ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ax, word [edx + 0x10]
and ax, 2
mov word [ecx + 0x10], ax
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x7f90329a
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x7f90329a
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x588]
cmp dword [eax], ecx
jg 0x7f90329a
mov eax, dword [esi + 0x12c]
mov ecx, dword [esp + 0x74]
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + edx*4 + 4]
mov eax, ecx
lea ecx, [ecx + ecx*4]
shl ecx, 3
sub ecx, eax
mov eax, dword [esi + 0x440]
cmp word [eax + ecx*4 + 0x18], 1
jne 0x7f90329a
mov ecx, 5
test ebx, ebx
je 0x7f903241
mov ecx, 7
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x5c]
add eax, 0x14
push eax
mov eax, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x58]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push edx
push 2
push esi
call fcn.7f8f4c70
test eax, eax
je 0x7f902fb8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esi + 0x588]
nop
mov edx, dword [ecx + 0xc]
mov eax, dword [eax]
sub eax, edx
cmp ebp, eax
jle 0x7f9032d3
mov dword [esi + 0x588], eax
mov ecx, dword [ecx + 4]
mov dword [esi + 0x58c], ecx
jmp 0x7f9032d3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
add eax, 0x14
lea edx, [esp + 0x5c]
push eax
cmp ebx, 1
mov eax, dword [esp + 0x14]
push eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push edx
push 2
push esi
call fcn.7f8f4c70
test eax, eax
je 0x7f902fb8
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x7f90351d
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x7f9033a3
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
je 0x7f903396
mov ecx, eax
mov eax, dword [esp + 0x10]
mov ax, word [eax + 8]
cmp word [ecx + 8], ax
jne 0x7f903396
mov eax, dword [esi + 0x58c]
test eax, eax
jle 0x7f903396
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x5c]
push 1
mov dword [esp + 0x88], eax
mov eax, dword [edi]
sub eax, edx
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x88]
push eax
push ecx
push esi
call fcn.7f8f3e60
lea ecx, [esp + 0x94]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
push ecx
push ebx
push 0
push edx
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [edi]
push edx
push esi
call fcn.7f8f7260
mov ecx, dword [esp + 0x94]
mov eax, dword [esi + 0x58c]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58c], eax
mov edx, dword [edi + 4]
mov dword [esi + 0x584], edx
movsx eax, word [ecx + 8]
mov dword [esi + 0x590], eax
mov dword [esp + 0x38], 0xffffffff
jmp 0x7f903515
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x7f90351d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmp dword [eax], ecx
jg 0x7f903440
mov eax, dword [esp + 0x14]
push 0x12
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.7f916b50
test eax, eax
jne 0x7f903515
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [edi + 4]
mov ebp, dword [edi]
mov ecx, dword [eax]
inc ebx
sub edx, ecx
mov dword [edi + 4], ebx
mov dword [esp + 0x18], edx
mov edx, dword [edi + 8]
add ebp, dword [eax]
mov dword [edi], ebp
mov ecx, dword [eax]
mov eax, dword [edi + 0xc]
add eax, ecx
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 8]
add eax, 8
add edx, ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 8], edx
movsx eax, word [eax]
add ecx, eax
mov eax, dword [esp + 0x38]
dec eax
mov dword [edi + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
add ecx, 0x14
mov dword [esp + 0x14], ecx
test byte [ecx + 0x10], 1
jne 0x7f90351d
jmp 0x7f903515
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [eax]
mov ecx, dword [eax + 0xc]
sub ebp, ecx
cmp edx, ebp
jle 0x7f903515
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x5c]
push 1
mov dword [esp + 0x58], eax
mov eax, dword [edi]
sub eax, edx
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x58]
push eax
push ecx
push esi
call fcn.7f8f3e60
mov edx, dword [esi + 0x12c]
mov ecx, dword [esp + 0x54]
lea ecx, [ecx + ecx*2]
mov eax, dword [edx + ecx*4 + 4]
mov ecx, dword [esi + 0x440]
mov edx, eax
lea eax, [eax + eax*4]
shl eax, 3
sub eax, edx
lea eax, [ecx + eax*4]
cmp word [eax + 0x18], 1
jne 0x7f903515
cmp word [eax + 8], 1
je 0x7f903515
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ax, word [eax + 8]
cmp word [ecx + 8], ax
jne 0x7f903515
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
push eax
push ebx
push 0
push ecx
mov eax, dword [edx + 4]
push eax
mov ecx, dword [edi]
push ecx
push esi
call fcn.7f8f7260
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x98]
mov eax, dword [ecx + 4]
add eax, edx
mov dword [esi + 0x58c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
mov dword [esi + 0x584], ecx
mov dword [esi + 0x588], ebp
movsx edx, word [eax + 8]
mov dword [esi + 0x590], edx
mov dword [esp + 0x18], 0
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xa4]
test byte [eax + 0x10], 4
setne bl
movsx ecx, word [eax + 8]
add edx, ecx
mov ecx, dword [esp + 0x24]
dec ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
add ecx, 0x14
add ebp, edx
mov dword [esp + 0xa4], ebp
mov edx, dword [eax]
mov eax, dword [esp + 0x3c]
sub eax, edx
mov dword [esp + 0x10], ecx
test byte [ecx + 0x10], 1
mov dword [esp + 0x3c], eax
je 0x7f903960
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x7f903591
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x4f0]
jae 0x7f903958
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x7f9035d6
mov eax, dword [esi + 0x4ec]
test eax, eax
jl 0x7f9035ae
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jl 0x7f9035c3
mov eax, dword [esi + 0x4e8]
test eax, eax
jl 0x7f9035d6
mov ecx, dword [esp + 0xa4]
cmp ecx, eax
jle 0x7f9035d6
mov eax, dword [esp + 0x40]
test eax, eax
lea ecx, [eax - 1]
mov dword [esp + 0x40], ecx
jle 0x7f903958
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x7f903113
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x7f90310e
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x5c]
push 1
mov dword [esp + 0x90], eax
mov eax, dword [edi]
sub eax, edx
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0x90]
push eax
push ecx
push esi
call fcn.7f8f3e60
mov edx, dword [esi + 0x12c]
mov ecx, dword [esp + 0x8c]
lea eax, [ecx + ecx*2]
mov ecx, dword [edx + eax*4 + 4]
mov eax, dword [esi + 0x440]
mov edx, ecx
lea ecx, [ecx + ecx*4]
shl ecx, 3
sub ecx, edx
mov ebp, dword [eax + ecx*4 + 0x14]
test ebp, ebp
je 0x7f90310e
mov dword [esp + 0x48], 1
jmp 0x7f90310e
mov eax, dword [esp + 0xa4]
mov ecx, dword [esi + 0xe0]
cmp ecx, eax
je 0x7f903960
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xac]
sub eax, ecx
mov ebp, dword [esp + 0xa8]
lea edx, [eax + ebp]
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
je 0x7f9036d9
mov ecx, 0x14
mov dword [esp + 0x44], ebx
mov eax, dword [edi + 0xc]
cmp edx, eax
jle 0x7f9036d5
mov ebp, dword [esp + 0x14]
mov ebx, dword [edi + 0x14]
movsx ebp, word [ebp + 8]
add ebx, ebp
mov ebp, dword [esp + 0x14]
mov dword [edi + 0x14], ebx
mov ebx, dword [esp + 0x14]
mov ebp, dword [ebp]
add ebx, ecx
add ebp, eax
mov dword [esp + 0x14], ebx
mov dword [edi + 0xc], ebp
test byte [ebx + 0x10], 1
jne 0x7f90369c
mov ebx, dword [esp + 0x44]
jmp 0x7f9036d9
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x14]
mov cx, word [ebp + 0x10]
add ebp, 0x10
test cl, 1
je 0x7f903827
mov eax, dword [edi + 0xc]
cmp eax, edx
jne 0x7f903827
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
cmp edx, eax
jbe 0x7f903718
test byte [edx - 4], 4
jne 0x7f903711
and cx, 0xffef
jmp 0x7f903714
or cl, 0x10
mov word [ebp], cx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x14]
mov dword [edi + 0x20], eax
mov dword [esi + 0x4e0], ecx
test byte [ebp + 0x10], 1
je 0x7f903761
mov ecx, 1
mov edx, dword [esp + 0x1c]
add ebp, 0x14
movsx eax, word [ebp - 0xc]
add edx, eax
mov eax, dword [esi + 0x4e0]
mov dword [esp + 0x1c], edx
add eax, dword [ebp - 0x14]
mov dword [esi + 0x4e0], eax
test word [ebp + 0x10], cx
jne 0x7f90373b
mov eax, dword [esi + 0x4e0]
mov ecx, dword [esi + 0xe0]
cmp ecx, eax
je 0x7f90399e
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x5c]
xor ebx, ebx
mov dword [esp + 0xa4], eax
sub eax, ecx
push eax
push edx
push esi
call fcn.7f8f9b50
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x4b4]
test byte [ebp - 4], 4
setne bl
sub eax, ecx
mov ebp, 0x14
cdq
idiv ebp
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
sub eax, edx
mov ebp, dword [esp + 0x24]
sub ecx, ebp
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
mov eax, dword [esp + 0x34]
push eax
push esi
call fcn.7f904360
test eax, eax
je 0x7f902fd6
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov dword [ecx], 0
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], 0
mov ecx, dword [esp + 0x10]
mov word [ecx + 0x10], 0
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], 0
mov eax, dword [esi + 0x4ac]
mov edx, dword [esi + 0x4b4]
mov dword [esp + 0x28], eax
shl eax, 2
lea eax, [eax + eax*4]
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
cmp eax, 2
jge 0x7f90386f
lea eax, [esp + 0x28]
push 0
lea ecx, [esp + 0x28]
push 0
lea edx, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
push edx
lea edx, [esp + 0x34]
push eax
lea eax, [esp + 0x74]
push ecx
lea ecx, [esp + 0xc0]
push edx
push eax
push ecx
push 0
push esi
call fcn.7f902980
test eax, eax
je 0x7f902fb8
mov eax, dword [esp + 0x10]
add eax, 0x14
cmp ebx, 1
push eax
mov eax, dword [esp + 0x14]
push eax
sbb eax, eax
mov ecx, dword [esp + 0x54]
and eax, 0xfffffffe
lea edx, [esp + 0x64]
add eax, 3
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push edx
push 2
push esi
call fcn.7f8f4c70
test eax, eax
je 0x7f902fb8
xor ebx, ebx
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 8]
test byte [eax + 0x10], 4
setne bl
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xa4]
add edx, ecx
mov ecx, dword [esp + 0x24]
dec ecx
add eax, 0x14
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
add ebp, dword [eax - 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0xa4], ebp
test byte [eax + 0x10], 1
je 0x7f90398a
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x7f903907
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x4f0]
jae 0x7f903958
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x7f90366f
mov eax, dword [esi + 0x4ec]
test eax, eax
jl 0x7f903928
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jl 0x7f903945
mov eax, dword [esi + 0x4e8]
test eax, eax
jl 0x7f90366f
mov ecx, dword [esp + 0xa4]
cmp ecx, eax
jle 0x7f90366f
mov eax, dword [esp + 0x40]
test eax, eax
lea ecx, [eax - 1]
mov dword [esp + 0x40], ecx
jg 0x7f90366f
mov dword [esp + 0x30], 0
mov eax, dword [esi + 0x4ac]
mov ecx, dword [esi + 0x4b4]
shl eax, 2
mov edx, dword [esi + 0xe0]
mov dword [edi + 0xc], edx
lea eax, [eax + eax*4]
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x4a4]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa4]
mov dword [edi + 0x20], eax
mov dword [esi + 0x4e0], ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov edx, dword [esp + 0x28]
add eax, edx
mov ecx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x30]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x18], ecx
mov dword [esi + 0x4e4], eax
cmp ebx, 1
sbb ecx, ecx
mov eax, dword [esi + 0x74]
inc ecx
shl ecx, 0x13
xor ecx, eax
and ecx, 0x80000
xor ecx, eax
test ebx, ebx
mov dword [esi + 0x74], ecx
je 0x7f903a17
mov eax, 0xffffffff
mov ecx, dword [esp + 0xb0]
mov dword [esi + 0x4ec], eax
mov dword [esi + 0x4e8], eax
test ecx, ecx
je 0x7f903a17
push 0x1af
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
and dword [esi + 0x74], 0xfffbffff
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xac]
sub eax, ecx
mov edx, dword [esp + 0xa8]
add edx, eax
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
je 0x7f903a8e
mov ecx, 0x14
mov ebx, 1
mov dword [esp + 0xa0], esi
mov eax, dword [edi + 0xc]
cmp edx, eax
jle 0x7f903a87
mov ebp, dword [esp + 0x14]
mov esi, dword [edi + 0x14]
movsx ebp, word [ebp + 8]
add esi, ebp
mov ebp, dword [esp + 0x14]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x14]
mov ebp, dword [ebp]
add esi, ecx
add ebp, eax
mov dword [esp + 0x14], esi
mov dword [edi + 0xc], ebp
test word [esi + 0x10], bx
jne 0x7f903a4b
mov esi, dword [esp + 0xa0]
jmp 0x7f903a8e
mov esi, dword [esp + 0xa0]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7f903ad1
mov eax, dword [edi + 0xc]
cmp eax, edx
jne 0x7f903aa7
mov eax, dword [esp + 0x14]
test byte [eax + 0x10], 1
jne 0x7f903ad1
mov eax, dword [esi + 0x4ac]
mov ecx, dword [esi + 0x4b4]
shl eax, 2
mov edx, dword [esi + 0xe0]
mov dword [edi + 0xc], edx
lea eax, [eax + eax*4]
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x4a4]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x4b4]
sub eax, ecx
mov ebx, 0x14
cdq
idiv ebx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
sub edx, ecx
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push edx
push ecx
mov dword [edi + 0x10], eax
sub eax, ebx
mov dword [esp + 0x3c], edx
push eax
push ebx
push esi
call fcn.7f904360
test eax, eax
je 0x7f902fd6
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7f903b29
mov eax, dword [esi + 0x4ac]
push eax
push 0
push esi
call fcn.7f901f10
mov eax, dword [esp + 0x20]
test eax, eax
je 0x7f903b4b
mov ecx, dword [esi + 0x4f4]
cmp ecx, eax
je 0x7f903b4b
push eax
call fcn.7f9119e0
mov dword [esi + 0x4f4], 0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x7f903b61
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x4a4]
cmp ecx, eax
jge 0x7f903b7d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x4a4]
cmp ecx, eax
je 0x7f903b7d
push 0
mov dword [esi + 0x4a4], eax
push esi
call fcn.7f903be0
push 0
push esi
call fcn.7f9045b0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x7f903ba6
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x7f903b9e
push esi
call fcn.7f904080
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7f903bbf
mov eax, dword [esi + 0x78]
and eax, 0xffffffef
mov dword [esi + 0x78], eax
jmp 0x7f903bbf
mov edi, dword [esp + 0xb8]
push edi
push esi
call fcn.7f903c80
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x8c
ret 0x1c