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

Disassembly:
push 0xffffffffffffffff
push 0x10170612
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c52b4]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov esi, dword [esp + 0x254]
xor ebp, ebp
cmp dword [esi + 0x3270], ebp
mov dword [esp + 0x78], esi
jne 0x10022c05
mov eax, dword [esi + 0x3274]
cmp eax, ebp
je 0x10022893
push ecx
pop ecx
push eax
call fcn.1010dffc
add esp, 4
mov al, al
mov dword [esi + 0x3274], ebp
mov dh, dh
push ebx
pop ebx
cmp dword [esp + 0x26c], ebp
jle 0x10022db0
mov ebx, dword [esp + 0x270]
cmp ebx, ebp
jle 0x10022db0
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov edi, eax
mov edx, edx
call esi
mov ah, ah
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x24c], ebp
mov edx, edx
sub eax, edi
cmp eax, ebx
jae 0x1002299e
mov ebp, dword [sym.imp.KERNEL32.DLL_Sleep]
push eax
pop eax
mov dl, dl
mov dword [esp + 0x14], 0
mov edx, edx
nop
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x270]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x270]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x270]
push edx
mov edx, dword [esp + 0x270]
push eax
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
call fcn.10048c70
add esp, 0x28
test eax, eax
je 0x1002299c
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
push eax
push ecx
call fcn.10052070
add esp, 0x10
mov dword [esp + 0x20], eax
mov bl, bl
mov edx, dword [esp + 0x14]
push edx
call fcn.1010dffc
add esp, 4
push edx
pop edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
call fcn.10076210
push ebx
pop ebx
mov ecx, dword [esp + 0x26c]
push ecx
call ebp
push edx
pop edx
call esi
nop
sub eax, edi
cmp eax, ebx
jb 0x100228e6
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x24c], 1
push ebx
pop ebx
mov ecx, ecx
mov edi, 0x3c
push ebx
pop ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
xor esi, esi
jmp 0x100229d0
mov ecx, dword [esp + 0x44]
cmp ecx, ebp
je 0x10022b1c
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x10022b1c
push ebp
lea ecx, [esp + 0x80]
call fcn.1012c650
mov byte [esp + 0x24c], 2
mov ch, ch
mov ecx, dword [esp + 0x44]
cmp ecx, ebp
je 0x10022a19
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10022a22
call fcn.10110295
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + esi*4]
push ebp
push edx
lea ecx, [esp + 0x84]
call fcn.1012e970
test al, al
jne 0x10022a64
mov edx, edx
mov ecx, dword [esp + 0x44]
cmp ecx, ebp
je 0x10022a4e
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10022a57
call fcn.10110295
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + esi*4]
push eax
call ebx
mov edx, edx
jmp 0x10022af2
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x10022a79
mov ecx, dword [esp + 0x48]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x10022a82
call fcn.10110295
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + esi*4]
push ecx
call ebx
push edx
pop edx
mov dword [esp + 0x18], ebp
nop
mov dword [esp + 0x14], ebp
push edx
pop edx
mov edx, dword [esp + 0x268]
push edx
lea ecx, [esp + 0x80]
call fcn.1012e5c0
nop
push 3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x88]
call fcn.1012deb0
mov dh, dh
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
push eax
pop eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
call fcn.10022790
mov eax, eax
mov edx, dword [esp + 0x14]
lea edi, [edi + edx + 4]
mov dh, dh
mov esi, esi
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x101796f4
call fcn.1012c720
lea ecx, [esp + 0x7c]
call fcn.1012c670
add esi, 1
jmp 0x100229d0
push edi
call fcn.1010df39
add esp, 4
mov esi, eax
nop
cmp esi, ebp
jne 0x10022c0c
xor esi, esi
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x10022bb8
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 3
cmp esi, eax
jae 0x10022bb8
push ebp
lea ecx, [esp + 0x80]
call fcn.1012c650
mov byte [esp + 0x24c], 3
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x10022b73
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x10022b7c
call fcn.10110295
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + esi*8]
push eax
lea ecx, [esp + 0x80]
call fcn.1012cca0
mov edx, edx
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x101796f4
call fcn.1012c720
lea ecx, [esp + 0x7c]
call fcn.1012c670
add esi, 1
jmp 0x10022b32
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x10022bd1
push eax
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24c], 0xffffffff
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x10022bf9
push eax
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
xor eax, eax
jmp 0x10022fb2
push edi
push ebp
push esi
call fcn.1010efd0
add esp, 0xc
mov eax, eax
add edi, 0xffffffd0
mov dword [esi + 0x28], edi
push eax
pop eax
xor edi, edi
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x10022d5e
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x10022d5e
push ebp
lea ecx, [esp + 0x80]
call fcn.1012c650
mov byte [esp + 0x24c], 4
mov dl, dl
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x10022c6e
mov edx, dword [esp + 0x38]
mov ecx, edx
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x10022c7b
call fcn.10110295
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
cmp eax, ebp
lea ebx, [eax + edi*8]
je 0x10022c8b
sub edx, eax
sar edx, 3
cmp edi, edx
jb 0x10022c94
call fcn.10110295
mov eax, dword [esp + 0x34]
mov edx, dword [ebx + 4]
mov ebx, dword [eax + edi*8]
mov byte [esi + 0x30], 0x44
mov esi, esi
mov byte [esi + 0x31], 0x4d
push eax
pop eax
mov byte [esi + 0x32], 0x46
mov al, al
mov byte [esi + 0x33], 0x51
mov al, al
mov bl, bl
push ecx
pop ecx
mov ebx, ebx
lea eax, [esi + 0x3c]
mov ebx, ebx
xor ecx, ecx
cmp dword [esi + 0x34], ebp
jle 0x10022cda
mov ebp, dword [eax]
mov cl, cl
lea eax, [eax + ebp + 4]
push eax
pop eax
push ebx
pop ebx
add ecx, 1
cmp ecx, dword [esi + 0x34]
jl 0x10022cc4
xor ebp, ebp
add dword [esi + 0x34], 1
mov ch, ch
mov ecx, dword [esp + 0x26c]
mov dword [esi + 0x38], ecx
mov esi, esi
mov dword [eax], edx
mov dl, dl
push edx
add eax, 4
push ebx
push eax
call fcn.101102f0
add esp, 0xc
mov bl, bl
mov edi, edi
mov dh, dh
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x10022d19
mov ecx, dword [esp + 0x38]
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x10022d22
call fcn.10110295
mov eax, dword [esp + 0x34]
mov edx, dword [eax + edi*8]
push edx
lea ecx, [esp + 0x80]
call fcn.1012cca0
push ecx
pop ecx
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x101796f4
call fcn.1012c720
lea ecx, [esp + 0x7c]
call fcn.1012c670
add edi, 1
jmp 0x10022c23
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x10022d77
push eax
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24c], 0xffffffff
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x10022d9f
push eax
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
jmp 0x10022fa4
mov cl, cl
mov dl, dl
mov dword [esp + 0x1c], ebp
mov al, al
mov dh, dh
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x270]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x270]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x270]
push edx
mov edx, dword [esp + 0x270]
push eax
push ecx
push edx
push esi
call fcn.10048c70
add esp, 0x28
test eax, eax
je 0x10022c05
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push esi
call fcn.10052070
add esp, 0x10
mov esi, eax
mov dh, dh
mov eax, dword [esp + 0x1c]
push eax
call fcn.1010dffc
add esp, 4
push ecx
pop ecx
push ebp
lea ecx, [esp + 0x80]
call fcn.1012c650
mov dword [esp + 0x24c], 5
mov dh, dh
push ebp
push esi
lea ecx, [esp + 0x84]
call fcn.1012e970
test al, al
jne 0x10022e94
mov ebx, ebx
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebp, ebp
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x101796f4
call fcn.1012c720
lea ecx, [esp + 0x7c]
call fcn.1012c670
xor eax, eax
jmp 0x10022fb2
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov cl, cl
mov dword [esp + 0x20], ebp
mov ebx, ebx
mov dword [esp + 0x24], ebp
mov edi, edi
mov ebx, dword [esp + 0x268]
cmp ebx, 0xfa
jne 0x10022ed4
push 1
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x88]
call fcn.1012deb0
mov ch, ch
jmp 0x10022efd
push ebx
lea ecx, [esp + 0x80]
call fcn.1012e5c0
mov edi, edi
push 3
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x88]
call fcn.1012deb0
xchg ebx, eax
xchg ebx, eax
mov edi, edi
mov edi, dword [esp + 0x24]
add edi, 0x40
mov cl, cl
push edi
call fcn.1010df39
add esp, 4
mov esi, eax
mov al, al
cmp esi, ebp
jne 0x10022f31
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x80]
call fcn.1012cca0
push ecx
pop ecx
jmp 0x10022e68
push edi
push ebp
push esi
call fcn.1010efd0
add esp, 0xc
push ebx
pop ebx
mov eax, dword [esp + 0x24]
add eax, 0x10
mov dword [esi + 0x28], eax
push ebx
pop ebx
mov edx, dword [esp + 0x20]
xor ecx, ecx
cmp ebx, 0xfa
mov ebx, dword [esp + 0x24]
sete cl
lea eax, [esi + 0x30]
push ecx
push ebp
push edx
call fcn.10020c80
add esp, 0xc
mov ecx, ecx
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x80]
call fcn.1012cca0
nop
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x101796f4
call fcn.1012c720
lea ecx, [esp + 0x7c]
call fcn.1012c670
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x3274], esi
mov dh, dh
mov eax, esi
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.1010e4d7
add esp, 0x23c
ret