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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56ad56
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x13acc
call fcn.00531970
mov eax, dword [0x5d72e0]
xor eax, esp
mov dword [esp + 0x13ac8], eax
push ebx
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x13ae0]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x9a2c], 0
mov dword [esp + 0x14], ebx
jne 0x455c72
jmp 0x455882
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x60], eax
call fcn.0041fc60
test eax, eax
mov dword [esp + 0x50], eax
je 0x455c72
lea eax, [ebx + 0x226c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], 0x90
jmp 0x4558b5
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + 0x97e0]
mov eax, dword [edx + 0xc]
add ebx, 0x97e0
push 0xffffffffffffffff
mov ecx, ebx
call eax
mov esi, dword [esp + 0x20]
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
add esi, 0xffffff9c
mov ecx, 0x1c
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call eax
lea ecx, [esp + 0x90]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x455c46
xor edi, edi
cmp dword [esp + 0xe0], edi
jle 0x455c46
cmp dword [esp + 0xec], 2
jne 0x455c46
cmp dword [esp + 0x8c], edi
jl 0x455c46
cmp dword [esp + 0xe8], edi
je 0x455c46
cmp byte [esp + 0xf8], 0
je 0x455c46
lea ecx, [esp + 0x2c]
call fcn.00454a70
mov edx, dword [esp + 0xf0]
mov ecx, dword [esp + 0x50]
push edx
add ecx, 0xe94
mov dword [esp + 0x13aec], edi
call fcn.004ceef0
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp esi, edi
je 0x455c00
mov eax, dword [esi + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esi]
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], edx
call fcn.00402060
lea ecx, [esp + 0x3c]
call fcn.0044e070
lea ecx, [esp + 0x64]
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
call fcn.004092a0
jmp 0x4559c0
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x10], eax
jbe 0x4559d1
call fcn.0053123f
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x4559dd
cmp ebx, edi
je 0x4559e2
call fcn.0053123f
mov esi, dword [esp + 0x68]
cmp esi, dword [esp + 0x10]
je 0x455a1e
test ebx, ebx
jne 0x4559f5
call fcn.0053123f
cmp esi, dword [ebx + 8]
jb 0x4559ff
call fcn.0053123f
push esi
lea ecx, [esp + 0x40]
call fcn.00454af0
push 0
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x6c]
call fcn.0044cb70
jmp 0x4559c0
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x97e0]
mov edx, dword [eax + 0x14]
lea ecx, [ebx + 0x97e0]
mov dword [esp + 0x18], ecx
call edx
lea ecx, [esp + 0x3c]
call fcn.0044b970
test eax, eax
jbe 0x455c2a
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x60]
sub edx, dword [ebx + eax*4 + 0x97e8]
mov ecx, dword [esp + 0xe0]
mov esi, dword [esp + 0xe4]
mov dword [esp + 0x28], eax
add eax, 0x25fa
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
imul eax, eax, 0x3e8
cmp edx, eax
mov dword [esp + 0x10], ecx
jb 0x455c32
call fcn.0041fc60
lea edi, [eax + 0xfd8]
test edi, edi
je 0x455c32
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x70]
mov dword [esp + 0x14], ecx
push eax
mov ecx, edi
call fcn.004f3aa0
mov ecx, dword [edi + 4]
lea edx, [esp + 0x74]
mov dword [esp + 0x78], ecx
push edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x78], edi
call fcn.004f6990
test al, al
jne 0x455c32
lea ecx, [esp + 0x6c]
call fcn.0041c380
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x58], eax
je 0x455c32
imul esi, esi, 0x5b8
lea esi, [esi + eax + 0x88]
mov ecx, 0x16e
lea edi, [esp + 0x35c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x884]
push eax
call fcn.004fb9f0
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x455c32
push 0
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0xf3c]
push edx
mov edx, dword [esp + 0x544]
lea eax, [esp + 0x4ac]
push eax
lea ecx, [esp + 0x470]
push ecx
push edx
lea eax, [esp + 0x3f8]
push eax
mov dword [esp + 0x78], 0
call dword [sym.imp.NetSDK.dll_Ordinal_5_1]
test eax, eax
mov dword [esp + 0x54], eax
jle 0x455c32
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov esi, dword [ebx + edi*4 + 0xfdc]
mov dword [ebx + ecx*4], eax
lea ecx, [esp + 0x3c]
call fcn.0044b970
sub eax, 1
cmp esi, eax
ja 0x455c32
push esi
lea ecx, [esp + 0x40]
call fcn.0044b990
mov eax, dword [eax]
test eax, eax
je 0x455c96
mov ecx, dword [esp + 0x50]
push eax
add ecx, 0xd78
call fcn.004ceef0
mov edi, dword [esp + 0x18]
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call eax
test esi, esi
je 0x455c32
mov ecx, dword [esi + 0x48]
push 0xdccc
lea edx, [esp + 0x5e08]
push esi
push edx
mov dword [esp + 0x24], ecx
call fcn.00530db0
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
add esp, 0xc
mov ecx, edi
call edx
jmp 0x455ccf
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov dword [eax], edi
mov dword [eax - 4], edi
mov edx, dword [ecx + 0x20]
push 1
lea eax, [esp + 0x94]
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov ecx, ebx
call edx
mov byte [esp + 0xf8], 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x13ae8], 0xffffffff
call fcn.0044db50
add dword [esp + 0x20], 0x70
sub dword [esp + 0x4c], 1
jne 0x4558b1
push 0x190
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x9a2c], 0
je 0x455880
mov ecx, dword [esp + 0x13ae0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x13ac8]
xor ecx, esp
call fcn.0053042b
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx + edi*4 + 0xfdc]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], 1
call fcn.0044b970
cmp ebx, eax
ja 0x455c32
push ebx
lea ecx, [esp + 0x40]
call fcn.0044b990
mov esi, eax
add esi, 4
mov ecx, 0x188
lea edi, [esp + 0x5e50]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
cmp dword [esp + 0x698], ebx
jle 0x455eba
lea esi, [esp + 0x5e50]
mov dword [esp + 0x1c], esi
cmp ebx, dword [esp + 0x18]
jl 0x455d0f
push 0x620
lea eax, [esp + 0x918]
push 0
push eax
call fcn.00530d30
add esp, 0xc
lea esi, [esp + 0x914]
jmp 0x455d17
test esi, esi
je 0x455ea0
mov ecx, dword [esi + 0x44]
push 0x40
lea edx, [esi + 0x158]
push edx
lea eax, [esp + 0x105]
mov edi, 1
push eax
mov byte [esp + 0x1270], 1
mov dword [esp + 0x1274], 0
mov dword [esp + 0x127c], edi
mov dword [esp + 0x214], ecx
mov byte [esp + 0x108], 1
call fcn.00531840
push 0x40
lea ecx, [esi + 0x198]
push ecx
lea edx, [esp + 0x151]
push edx
call fcn.00531840
mov eax, dword [esi + 0x230]
xor ecx, ecx
cmp dword [esi + 0x57c], 4
push 0x40
sete cl
lea edx, [esi + 0xd8]
mov dword [esp + 0x220], eax
push edx
lea eax, [esp + 0x19d]
push eax
mov dword [esp + 0x224], ecx
call fcn.00531840
add esp, 0x24
lea ecx, [esp + 0x24]
mov dword [esp + 0x20c], 0xa
call fcn.00401e90
push edi
lea ecx, [esp + 0x28]
push str.chConfig_02d
push ecx
mov byte [esp + 0x13af4], 1
call fcn.004020e0
add esp, 0xc
push 0
lea ecx, [esp + 0x28]
call fcn.00401740
lea edx, [esp + 0x210]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
add eax, edi
add edx, edi
test cl, cl
jne 0x455df0
xor eax, eax
cmp dword [esi + 0x398], 2
mov dword [esp + 0x254], eax
je 0x455e1d
cmp dword [esi + 0x218], edi
mov dword [esp + 0x250], edi
jne 0x455e24
mov dword [esp + 0x250], eax
push 0x4b80
push eax
lea edx, [esp + 0x1280]
push edx
mov byte [esp + 0x1280], 1
mov dword [esp + 0x1278], 0xa
call fcn.00530d30
add esp, 0xc
push 0
push 0x4b9c
lea edx, [esp + 0x126c]
push edx
mov edx, dword [esp + 0x64]
mov edx, dword [edx]
push ebx
mov ecx, 0x97
lea esi, [esp + 0x10c]
lea edi, [esp + 0x1288]
push 0x4f
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
push edx
mov edx, dword [esp + 0x6c]
push edx
call eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x13ae8], 0
call fcn.004015d0
mov esi, dword [esp + 0x1c]
add ebx, 1
add esi, 0x620
cmp ebx, dword [esp + 0x698]
mov dword [esp + 0x1c], esi
jl 0x455ce9
mov eax, dword [esp + 0x18]
add eax, 0xffffffff
cmp eax, 8
ja case.default.0x455ecd
movzx ecx, byte [eax + 0x455f78]
jmp dword [ecx*4 + 0x455f6c]
mov eax, dword [esp + 0x674]
add eax, 1
jmp 0x455ef3
mov eax, 0x30
jmp 0x455ef3
mov eax, 0x32
jmp 0x455ef3
mov eax, 0x33
lea ecx, [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
call fcn.0044b970
mov ebx, dword [esp + 0x54]
lea edx, [esp + 0x7c]
push edx
push ebx
mov esi, eax
call dword [sym.imp.NetSDK.dll_Ordinal_49]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + ecx*4 + 0xfdc]
add eax, 1
mov edi, eax
sub edi, esi
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esp + 0x10]
push 0
mov dword [edx + ecx*4 + 0xfdc], edi
sub esp, 0x5b8
mov edi, esp
mov ecx, 0x16e
lea esi, [esp + 0x918]
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
call fcn.0044b870
jmp 0x455c32