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

Disassembly:
push 0xffffffffffffffff
push 0x482b68
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4a1620]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a1620]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0044bb76
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4131b3
push 0x80004005
call fcn.004012e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x98], ebp
mov ecx, dword [edi + 0x3960]
mov eax, dword [ecx + 0x78]
add eax, 0x58
push eax
lea ecx, [esp + 0x30]
call fcn.00405a40
cmp byte [0x4a5e30], 0
mov ebx, dword [esp + 0x2c]
jne 0x4136bb
cmp dword [ebx - 0xc], ebp
je 0x4136bb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a5ae4], eax
mov byte [0x4a5e30], 1
mov dword [esp + 0x34], 0x6fbd
mov dword [esp + 0x38], 0x819d
mov dword [esp + 0x1c], ebp
xor esi, esi
cmp esi, ebp
jl 0x4132aa
cmp esi, dword [edi + 0x5a8]
jge 0x4132aa
mov edx, dword [edi + 0x5a4]
lea eax, [edx + esi*4]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x4131a9
push eax
push ebx
call fcn.00466452
add esp, 8
cmp eax, ebp
je 0x413294
add esi, 1
cmp esi, 3
jl 0x413222
mov eax, dword [edi + 0x4878]
mov esi, dword [edi + 0xbc]
mov ebx, dword [edi + 0x2e8]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 4
lea ecx, [esp + 0x2c]
push ecx
push eax
push esi
call ebp
test eax, eax
jne 0x4132af
mov dword [esp + 0x18], 0xfffffffd
jmp 0x4132fa
lea eax, [esi + 0x6fbd]
add esi, 0x819d
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
jmp 0x413262
jmp fcn.0044c4a2
mov edx, dword [esp + 0x24]
push 0
push 4
lea eax, [esp + 0x30]
push eax
add ebx, edx
push ebx
push esi
call ebp
test eax, eax
jne 0x4132d0
mov dword [esp + 0x18], 0xffffffe1
jmp 0x4132fa
mov eax, dword [esp + 0x28]
push 0
push 4
lea ecx, [esp + 0x28]
push ecx
add eax, 0x10
push eax
push esi
call ebp
test eax, eax
jne 0x4132f2
mov dword [esp + 0x18], 0xffffffe0
jmp 0x4132fa
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], edx
xor ebx, ebx
cmp dword [esp + 0x18], ebx
jle 0x4136ab
jmp 0x413310
mov ecx, dword [edi + 0x2e8]
mov esi, dword [edi + 0xbc]
push 8
lea eax, [ebx*4]
push eax
push 0xc
push ecx
mov ecx, dword [edi + 0x4878]
call fcn.00402610
add esp, 0x10
cmp dword [esp + 0x38], eax
jne 0x413342
add dword [esp + 0x1c], 1
add ebx, 1
cmp ebx, dword [esp + 0x18]
jl 0x413310
cmp dword [esp + 0x1c], 1
jne 0x4136ab
mov eax, dword [edi + 0x4878]
mov esi, dword [edi + 0xbc]
mov ebx, dword [edi + 0x2e8]
push 0
push 4
lea edx, [esp + 0x2c]
push edx
push eax
push esi
call ebp
test eax, eax
jne 0x413383
mov dword [esp + 0x18], 0xfffffffd
jmp 0x4133ce
mov eax, dword [esp + 0x24]
push 0
push 4
lea ecx, [esp + 0x30]
push ecx
add eax, ebx
push eax
push esi
call ebp
test eax, eax
jne 0x4133a4
mov dword [esp + 0x18], 0xffffffe1
jmp 0x4133ce
mov eax, dword [esp + 0x28]
push 0
push 4
lea edx, [esp + 0x28]
push edx
add eax, 0x10
push eax
push esi
call ebp
test eax, eax
jne 0x4133c6
mov dword [esp + 0x18], 0xffffffe0
jmp 0x4133ce
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
jle 0x4136ab
xor ebx, ebx
mov dword [esp + 0x30], ebx
jmp 0x4133f0
mov ecx, dword [edi + 0x2e8]
mov esi, dword [edi + 0xbc]
push 8
push ebx
push 0xc
push ecx
mov ecx, dword [edi + 0x4878]
call fcn.00402610
add esp, 0x10
cmp dword [esp + 0x38], eax
jne 0x4135ef
cmp byte [0x4a5ae8], 0
jne 0x413439
mov edx, dword [esp + 0x1c]
push edx
mov byte [0x4a5ae8], 1
call fcn.004332e0
jmp 0x4135ef
mov eax, dword [edi + 0x2e8]
mov esi, dword [edi + 0xbc]
push 0x44
push ebx
push eax
mov byte [0x4a5ae8], 0
call fcn.004027b0
add esp, 0xc
push 0x50
lea ecx, [esp + 0x40]
mov esi, eax
push 0
push ecx
add esi, 0x36
call fcn.00467720
add esp, 0xc
mov dword [esp + 0x28], 1
xor ebx, ebx
jmp 0x413480
mov eax, dword [edi + 0xbc]
push 0
push 2
lea edx, [esp + 0x30]
push edx
push esi
push eax
call ebp
mov cx, word [esp + 0x28]
mov word [esp + ebx*2 + 0x3c], cx
add ebx, 1
add esi, 2
cmp ebx, 0x12
jl 0x413480
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x50]
push edx
push 0
push 1
call ebp
mov ebx, eax
push ebx
call fcn.00444c05
add esp, 4
push 0
push 0
push ebx
mov esi, eax
push esi
push 0xffffffffffffffff
lea eax, [esp + 0x50]
push eax
push 0
push 1
call ebp
call fcn.0044bb76
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4131a9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push esi
lea ecx, [esp + 0x28]
push 0x48df60
push ecx
mov byte [esp + 0xa4], 1
call fcn.004023e0
add esp, 0xc
push esi
call fcn.00444c0a
mov ebp, dword [esp + 0x28]
add esp, 4
cmp dword [ebp - 0xc], 0
jl 0x4135c4
push 0x48db74
push ebp
call fcn.004665a4
add esp, 8
test eax, eax
je 0x4135c4
sub eax, ebp
test eax, eax
jle 0x4135c4
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x2e8]
mov esi, dword [edi + 0xbc]
push 0x44
push edx
push eax
call fcn.004027b0
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov edx, eax
add edx, 0x36
push edi
mov ecx, 2
call fcn.0041a140
mov byte [esp + 0x98], 2
mov edx, dword [esp + 0x20]
push edx
call fcn.004669bd
add esp, 4
cmp eax, 0x14
jl 0x413614
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4135c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x98], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4135e9
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov ebp, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
add eax, 1
add ebx, 4
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ebx
jl 0x4133f0
jmp 0x4136ab
mov esi, dword [esp + 0x34]
push esi
mov ebx, edi
call fcn.0041ae00
lea eax, [esi - 0x6fbd]
test eax, eax
jl 0x4132aa
cmp eax, dword [edi + 0x5a8]
jge 0x4132aa
mov ecx, dword [edi + 0x5a4]
lea ecx, [ecx + eax*4]
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push 0x48ea1c
push edx
call fcn.004057f0
add esp, 8
push edi
call fcn.00411cf0
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413686
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x98], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4136ab
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov ebx, dword [esp + 0x2c]
mov dword [0x4a5e2c], 0x249f0
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4a5ae4]
cmp eax, dword [0x4a5e2c]
jl 0x4136dc
mov dword [0x4a5e2c], ebp
mov byte [0x4a5e30], 0
lea eax, [ebx - 0x10]
mov dword [esp + 0x98], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413703
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00465b73
add esp, 0x88
ret