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

Disassembly:
push 0xffffffffffffffff
push 0x5530c6
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x35c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x57f7c4]
xor eax, esp
push eax
lea eax, [esp + 0x374]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x384]
mov ebx, ecx
movzx eax, word [ebx]
add eax, 0xfffff2fd
mov dword [esp + 0x18], ebx
cmp eax, 0x32
ja case.0x485020.3339
movzx eax, byte [eax + 0x486248]
jmp dword [eax*4 + 0x486204]
mov edi, ebp
lea esi, [esp + 0x28]
mov byte [ebx + 0x1a], 0
mov byte [ebx + 0x5b], 0
call fcn.00431eb0
lea esi, [esp + 0x30]
mov dword [esp + 0x37c], 0
call fcn.0044e110
mov byte [esp + 0x37c], 1
cmp word [ebp + 0x136], 0xb
jae 0x48506a
mov eax, 4
jmp 0x48516c
cmp byte [ebp + 0x12f], 1
jae 0x48507d
mov eax, 5
jmp 0x48516c
cmp dword [ebp + 0x1810], 0
jne 0x485167
cmp dword [ebp + 0x1814], 0
jne 0x485167
mov ebx, dword [ebp + 0x17f4]
test ebx, ebx
je 0x48520c
mov eax, dword [ebx + 0x10]
cmp eax, 7
jg 0x48520c
jl 0x48520c
mov dword [esp + 0x3c], 0
test eax, eax
jle 0x485146
mov edi, 0x18
lea esp, [esp]
mov esi, dword [edi + ebx]
cmp dword [esi + 0x1810], 0
jne 0x485163
cmp byte [esi + 0x12f], 1
jb 0x4851f0
cmp dword [esi + 0x1814], 0
jne 0x48520c
mov eax, esi
mov ecx, ebp
call fcn.00457cf0
test al, al
je 0x48520c
cmp dword [esi + 0x5580], 0
je 0x48512f
mov ebx, dword [ebp + 0x17f4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + ebx]
cmp eax, dword [ecx + 0x5580]
jb 0x4851fe
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp + 0x17f4]
inc eax
add edi, 8
cmp eax, dword [edx + 0x10]
mov dword [esp + 0x3c], eax
jl 0x4850d0
mov ebx, dword [esp + 0x18]
lea edi, [ebx + 2]
mov eax, edi
call fcn.004388f0
test eax, eax
je 0x48521a
mov eax, 6
jmp 0x48516c
mov ebx, dword [esp + 0x18]
mov eax, 8
mov byte [esp + 0x24a], al
mov ecx, 0xd21
lea eax, [ebx + 2]
lea edx, [esp + 0x250]
mov word [esp + 0x248], cx
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x485190
lea eax, [ebx + 0x1b]
lea edx, [esp + 0x269]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4851a6
push 0x62
lea edx, [esp + 0x24c]
push edx
mov ecx, ebp
call fcn.004ed0e0
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
je 0x4851d7
add eax, 0x118
push eax
call esi
mov eax, dword [esp + 0x28]
test eax, eax
je case.0x485020.3339
add eax, 0x5cc
push eax
call esi
jmp case.0x485020.3339
mov ebx, dword [esp + 0x18]
mov eax, 5
jmp 0x48516c
mov ebx, dword [esp + 0x18]
mov eax, 9
jmp 0x48516c
mov ebx, dword [esp + 0x18]
mov eax, 3
jmp 0x48516c
call fcn.004389a0
mov esi, eax
test esi, esi
je 0x48520c
lea eax, [esi + 0x120]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esi + 8], 1
mov dword [esi + 0x24], 0
mov eax, dword [ebp + 0xdc]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebp
mov byte [esi + 0x21], 0
mov ecx, dword [edi]
mov dword [esi + 9], ecx
mov edx, dword [edi + 4]
mov dword [esi + 0xd], edx
mov eax, dword [edi + 8]
mov dword [esi + 0x11], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x15], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x19], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x1d], eax
lea eax, [ebx + 0x1b]
lea edx, [esi + 0x138]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x485280
mov ecx, dword [ebp + 0x17f4]
cmp dword [ecx + 0x10], 0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x38], 0
jle 0x485373
lea eax, [esi + 0x30]
mov edi, 0x18
mov dword [esp + 0x34], eax
mov edx, dword [ebp + 0x17f4]
mov ecx, dword [edi + edx]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ecx + 0x1808]
test ecx, ecx
je 0x485311
push ecx
call fcn.004388d0
mov ebx, eax
test ebx, ebx
je 0x4852ff
lea eax, [ebx + 0x5cc]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x3c]
push eax
call fcn.00433f50
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x48530d
mov edx, dword [esp + 0x3c]
mov dword [edx + 0x1808], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x17f4]
mov ecx, dword [edi + ecx]
cmp ecx, ebp
jne 0x485328
mov edx, dword [ecx + 0xdc]
mov dword [eax], edx
jmp 0x48534b
mov dword [eax + 0x78], ecx
mov ecx, dword [ebp + 0x17f4]
mov edx, dword [edi + ecx]
mov ecx, dword [edx + 0xdc]
mov dword [eax], ecx
mov edx, dword [ebp + 0x17f4]
mov ecx, dword [edi + edx]
mov dword [ecx + 0x1814], esi
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 0x17f4]
inc ecx
add eax, 4
add edi, 8
cmp ecx, dword [edx + 0x10]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
jl 0x4852b4
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 0xdc]
mov edx, esi
mov dword [ebp + 0x1814], esi
call fcn.00439420
mov eax, dword [esp + 0x1c]
push eax
call edi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x48539d
add eax, 0x118
push eax
call edi
mov eax, dword [esp + 0x28]
test eax, eax
je case.0x485020.3339
add eax, 0x5cc
push eax
call edi
jmp case.0x485020.3339
mov edi, ebp
lea esi, [esp + 0x28]
call fcn.00431eb0
mov dword [esp + 0x37c], 2
mov esi, dword [ebp + 0x1814]
test esi, esi
je 0x4861c6
cmp dword [ebp + 0x1810], 0
jne 0x4861c6
cmp byte [esi + 8], 0
je 0x4861c6
cmp byte [ebx + 2], 1
jne 0x485462
mov ebp, dword [ebp + 0xdc]
xor edi, edi
lea eax, [esi + 0x30]
cmp dword [eax], ebp
je 0x485414
inc edi
add eax, 4
cmp edi, 7
jl 0x485402
jmp 0x4861c6
lea ebp, [esi + 0x120]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + edi*4 + 0x30], 0
inc dword [esi + 0x24]
cmp dword [esi + 0x24], 7
jl 0x485456
push esi
call fcn.004381b0
test eax, eax
jne 0x485456
mov eax, esi
call fcn.00439280
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
call fcn.00438a30
jmp 0x4861c6
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4861c6
lea edi, [esi + 0x120]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 7
mov edx, esi
call fcn.004393a0
mov eax, esi
call fcn.00439280
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
call fcn.00438a30
jmp 0x4861c6
mov edi, ebp
lea esi, [esp + 0x38]
call fcn.00431eb0
mov dword [esp + 0x37c], 3
mov eax, dword [ebp + 0x1810]
test eax, eax
je 0x4854e8
cmp dword [ebp + 0x1814], 0
jne 0x4854e8
cmp dword [ebp + 0x1804], 1
jne 0x4854e8
mov ecx, dword [eax + 0x528]
mov edx, dword [eax + 0x570]
add edx, ecx
cmp edx, 2
jg 0x4854e8
push ebp
mov ebx, eax
call fcn.00438620
mov eax, dword [esp + 0x38]
jmp 0x4861ca
mov edi, ebp
lea esi, [esp + 0x3c]
call fcn.0044e110
xor eax, eax
mov byte [esp + 0x37c], 4
cmp dword [ebp + 0x1810], eax
je 0x4856a6
cmp dword [ebp + 0x1814], eax
jne 0x4856a6
cmp dword [ebp + 0x1804], 1
jne 0x4856a6
mov eax, dword [ebp + 0x17f4]
test eax, eax
je 0x4856a1
mov ecx, dword [eax + 0x10]
cmp ecx, 3
jl 0x4856a1
mov dword [esp + 0x34], 1
test ecx, ecx
jle 0x4856a1
mov ebx, dword [eax + 0x10]
lea edi, [eax + 0x18]
mov esi, dword [edi]
cmp dword [esi + 0x1804], 2
jg 0x485589
mov eax, dword [ebp + 0x1810]
cmp dword [esi + 0x1810], eax
jne 0x485589
cmp dword [esi + 0x1814], 0
jne 0x485589
mov eax, esi
mov ecx, ebp
call fcn.00457cf0
test al, al
je 0x485589
cmp esi, ebp
je 0x485589
inc dword [esp + 0x34]
add edi, 8
sub ebx, 1
jne 0x485552
cmp dword [esp + 0x34], 3
jl 0x4856a1
call fcn.004389a0
mov edi, eax
cmp edi, ebx
je 0x4856a1
lea esi, [edi + 0x120]
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 8], bl
mov dword [edi + 0x24], ebx
mov ecx, dword [ebp + 0xdc]
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ebp
mov byte [edi + 0x21], bl
mov edx, dword [ebp + 0x17f4]
cmp dword [edx + 0x10], ebx
mov dword [esp + 0x28], ebx
jle 0x485683
lea eax, [edi + 0x30]
mov ebx, 0x18
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0x17f4]
mov esi, dword [ebx + ecx]
cmp dword [esi + 0x1804], 2
jg 0x48565f
mov edx, dword [esi + 0x1810]
cmp edx, dword [ebp + 0x1810]
jne 0x48565f
cmp dword [esi + 0x1814], 0
jne 0x48565f
mov eax, esi
mov ecx, ebp
call fcn.00457cf0
test al, al
je 0x48565f
cmp esi, ebp
jne 0x485638
mov eax, dword [esi + 0xdc]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
jmp 0x48565f
mov eax, dword [esp + 0x18]
mov dword [eax + 0x78], esi
mov edx, dword [ebp + 0x17f4]
mov ecx, dword [edx + ebx]
mov edx, dword [ecx + 0xdc]
mov dword [eax], edx
mov eax, dword [ebp + 0x17f4]
mov ecx, dword [eax + ebx]
mov dword [ecx + 0x1814], edi
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0x17f4]
add dword [esp + 0x18], 4
inc eax
add ebx, 8
cmp eax, dword [edx + 0x10]
mov dword [esp + 0x28], eax
jl 0x4855f0
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xdc]
mov edx, edi
mov dword [ebp + 0x1814], edi
call fcn.00439490
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
jmp 0x4856c8
mov eax, 2
mov ecx, 0xd03
push 3
lea edx, [esp + 0x34]
mov word [esp + 0x34], cx
push edx
mov ecx, ebp
mov byte [esp + 0x3a], al
call fcn.004ed0e0
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4856d8
add eax, 0x118
push eax
call esi
mov eax, dword [esp + 0x38]
jmp 0x4851db
mov edi, ebp
lea esi, [esp + 0x28]
call fcn.00431eb0
mov dword [esp + 0x37c], 5
mov esi, dword [ebp + 0x1814]
test esi, esi
je 0x4861c6
cmp dword [ebp + 0x1810], 0
je 0x4861c6
cmp byte [esi + 8], 0
jne 0x4861c6
cmp dword [ebp + 0x1804], 2
jg 0x4861c6
cmp byte [ebx + 2], 1
jne 0x48578d
mov ecx, dword [ebp + 0xdc]
xor ebx, ebx
lea eax, [esi + 0x30]
lea ebx, [ebx]
cmp dword [eax], ecx
je 0x485752
inc ebx
add eax, 4
cmp ebx, 0x1e
jl 0x485740
jmp 0x4861c6
lea edi, [esi + 0x120]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + ebx*4 + 0x30], 0
inc dword [esi + 0x24]
cmp dword [esi + 0x24], 3
jl 0x485781
mov ebx, dword [ebp + 0x1810]
push ebp
call fcn.00438620
jmp 0x485478
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4861c6
lea edi, [esi + 0x120]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, esi
call fcn.00439400
jmp 0x485478
cmp dword [ebp + 0x1804], 2
jg 0x485881
mov eax, dword [ebx + 2]
mov ecx, dword [ebp + 0xe0]
push eax
call fcn.0041c6e0
mov edi, eax
test edi, edi
je 0x485881
mov ecx, dword [edi + 0xdc]
cmp ecx, dword [ebp + 0xdc]
je 0x485881
mov dl, byte [edi + 0x12d]
cmp dl, byte [ebp + 0x12d]
jne 0x485881
lea esi, [esp + 0x28]
call fcn.00431eb0
mov dword [esp + 0x37c], 6
cmp dword [edi + 0x1810], 0
jne 0x485862
cmp dword [edi + 0x1814], 0
jne 0x485862
cmp dword [edi + 0x180c], 0
jne 0x485862
cmp dword [edi + 0x1808], 0
jne 0x485862
mov eax, dword [ebp + 0xdc]
mov dword [edi + 0x180c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x7530
mov dword [edi + 0x58d4], eax
mov ecx, dword [ebp + 0xdc]
push 6
lea edx, [esp + 0x20]
mov dword [esp + 0x22], ecx
push edx
mov ecx, edi
call fcn.004ed0e0
jmp 0x4861c6
mov dword [esp + 0x37c], 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
je 0x485881
add eax, 0x5cc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx + 2]
push 7
lea edx, [esp + 0x40]
mov eax, 0xd06
mov dword [esp + 0x43], ecx
push edx
mov ecx, ebp
mov word [esp + 0x44], ax
mov byte [esp + 0x46], 0
call fcn.004ed0e0
jmp case.0x485020.3339
mov eax, dword [ebp + 0x180c]
test eax, eax
je case.0x485020.3339
mov ecx, dword [ebp + 0xe0]
push eax
call fcn.0041c6e0
mov edi, eax
test edi, edi
je 0x48597c
cmp byte [ebx + 2], 1
jne 0x485955
lea esi, [esp + 0x1c]
call fcn.00431eb0
mov dword [esp + 0x37c], 7
mov eax, dword [edi + 0x1810]
test eax, eax
je 0x48592e
cmp dword [edi + 0x1804], 2
jg 0x48592e
push eax
mov ecx, ebp
call fcn.00434660
mov ecx, dword [ebp + 0x180c]
push 7
lea edx, [esp + 0x2c]
mov eax, 0xd06
mov dword [esp + 0x2f], ecx
push edx
mov ecx, edi
mov word [esp + 0x30], ax
mov byte [esp + 0x32], 1
call fcn.004ed0e0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48597c
add eax, 0x5cc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov dword [ebp + 0x180c], eax
mov dword [ebp + 0x58d4], eax
jmp case.0x485020.3339
mov ecx, dword [ebp + 0x180c]
push 7
lea edx, [esp + 0x20]
mov eax, 0xd06
mov dword [esp + 0x23], ecx
push edx
mov ecx, edi
mov word [esp + 0x24], ax
mov byte [esp + 0x26], 0
call fcn.004ed0e0
xor eax, eax
mov dword [ebp + 0x180c], eax
mov dword [ebp + 0x58d4], eax
jmp case.0x485020.3339
cmp dword [ebp + 0x5580], 0
je 0x4859c8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp + 0x5580]
jae 0x4859c8
push 3
lea ecx, [esp + 0x34]
mov eax, 0xd07
push ecx
mov ecx, ebp
mov word [esp + 0x38], ax
mov byte [esp + 0x3a], 2
call fcn.004ed0e0
jmp case.0x485020.3339
cmp byte [ebp + 0x12f], 0
jbe 0x485aa5
mov edi, ebp
lea esi, [esp + 0x28]
call fcn.00431eb0
mov dword [esp + 0x37c], 8
cmp dword [ebp + 0x1810], 0
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jne 0x485a8a
cmp dword [ebp + 0x1814], 0
jne 0x485a8a
cmp dword [ebp + 0x180c], 0
jne 0x485a8a
push 0x109c4f0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebx + 2]
push edx
call fcn.004388d0
mov edi, eax
test edi, edi
je 0x485a83
movzx eax, byte [ebp + 0x12d]
cmp dword [edi + 0x40], eax
jne 0x485a83
mov eax, dword [ebp + 0x1808]
test eax, eax
je 0x485a6a
push eax
call fcn.004388d0
mov ebx, eax
test ebx, ebx
je 0x485a6a
lea esi, [ebx + 0x5cc]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebp
call fcn.00433f50
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, ebp
mov ecx, edi
call fcn.00434010
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x109c4f0
jmp 0x4851d5
push 0x109c4f0
call esi
mov dword [esp + 0x37c], 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
je 0x485aa5
add eax, 0x5cc
push eax
call esi
mov ecx, 0xd07
push 3
lea edx, [esp + 0x1c]
mov word [esp + 0x1c], cx
push edx
mov ecx, ebp
mov byte [esp + 0x22], 0
call fcn.004ed0e0
jmp case.0x485020.3339
mov edi, ebp
lea esi, [esp + 0x1c]
call fcn.00431eb0
mov dword [esp + 0x37c], 9
cmp dword [ebp + 0x1804], 2
jg 0x485b15
mov ebp, dword [ebp + 0x1810]
test ebp, ebp
je 0x485b15
cmp byte [ebx + 2], 1
jne 0x485b0a
mov eax, dword [ebx + 3]
push eax
mov ecx, ebp
call fcn.004341e0
mov eax, dword [esp + 0x1c]
jmp 0x4861ca
mov ecx, dword [ebx + 3]
push ecx
mov edi, ebp
call fcn.00434500
mov eax, dword [esp + 0x1c]
jmp 0x4861ca
mov edi, ebp
lea esi, [esp + 0x1c]
call fcn.00431eb0
mov dword [esp + 0x37c], 0xa
mov ebx, dword [ebp + 0x1810]
test ebx, ebx
je 0x485b67
cmp dword [ebp + 0x1814], 0
jne 0x485b67
push ebx
mov ecx, ebp
call fcn.00433a40
test al, al
je 0x485b67
mov edx, dword [ebx + 0x570]
add edx, dword [ebx + 0x528]
jne 0x485b67
push ebp
call fcn.00438620
mov eax, dword [esp + 0x1c]
jmp 0x4861ca
mov edi, ebp
lea esi, [esp + 0x1c]
call fcn.00431eb0
mov dword [esp + 0x37c], 0xb
cmp dword [ebp + 0x1804], 2
jg 0x485bb1
mov ebx, dword [ebp + 0x1810]
test ebx, ebx
je 0x485bb1
cmp dword [ebp + 0x1814], 0
jne 0x485bb1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 2]
push ecx
mov ecx, ebp
call fcn.00433c30
mov eax, dword [esp + 0x1c]
jmp 0x4861ca
mov edi, ebp
lea esi, [esp + 0x1c]
call fcn.00431eb0
mov dword [esp + 0x37c], 0xc
mov eax, dword [ebx + 3]
cmp eax, dword [ebp + 0xdc]
je 0x485c01
mov ecx, dword [ebp + 0x1804]
cmp ecx, 1
je 0x485beb
cmp ecx, 2
jne 0x485c01
mov ebp, dword [ebp + 0x1810]
test ebp, ebp
je 0x485c01
push ecx
push eax
mov al, byte [ebx + 2]
mov edi, ebp
call fcn.004348b0
mov eax, dword [esp + 0x1c]
jmp 0x4861ca
mov byte [ebx + 0x42], 0
cmp dword [ebp + 0x1804], 1
mov edx, 0xd20
mov word [esp + 0x248], dx
je 0x485c58
lea eax, [ebx + 2]
lea edx, [esp + 0x24b]
mov byte [esp + 0x24a], 0
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x485c38
push 0x44
lea eax, [esp + 0x24c]
push eax
mov ecx, ebp
call fcn.004ed0e0
jmp case.0x485020.3339
add ebx, 2
mov ecx, ebx
mov al, byte [ecx]
test al, al
je 0x485c6f
cmp al, 0x27
je 0x485ca1
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x485c63
mov edi, ebp
lea esi, [esp + 0x1c]
call fcn.00431eb0
mov dword [esp + 0x37c], 0xd
mov ebp, dword [ebp + 0x1810]
test ebp, ebp
je 0x485c98
mov esi, ebx
mov edi, ebp
call fcn.00434dc0
mov eax, dword [esp + 0x1c]
jmp 0x4861ca
lea edx, [esp + 0x24b]
mov byte [esp + 0x24a], 0
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x485cb4
push 0x44
lea ecx, [esp + 0x24c]
push ecx
mov ecx, ebp
call fcn.004ed0e0
jmp case.0x485020.3339
mov edi, ebp
lea esi, [esp + 0x1c]
call fcn.00431eb0
mov dword [esp + 0x37c], 0xe
mov eax, dword [ebp + 0x1810]
test eax, eax
je 0x485d13
mov edx, 0xd23
push 6
lea ecx, [esp + 0x2c]
mov word [esp + 0x2c], dx
mov eax, dword [eax + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0x32], eax
call fcn.004ed0e0
mov eax, dword [esp + 0x1c]
jmp 0x4861ca
mov edi, ebp
lea esi, [esp + 0x1c]
call fcn.00431eb0
mov dword [esp + 0x37c], 0xf
mov eax, dword [ebp + 0x1810]
test eax, eax
je 0x485d57
cmp dword [ebp + 0x1804], 2
jg 0x485d57
movzx edx, byte [ebx + 4]
movzx ecx, word [ebx + 2]
push edx
push ecx
push eax
mov ecx, ebp
call fcn.00436360
mov eax, dword [esp + 0x1c]
jmp 0x4861ca
mov edx, 0xd34
mov edi, ebp
lea esi, [esp + 0x28]
mov word [esp + 0x1c], dx
call fcn.00431eb0
mov dword [esp + 0x37c], 0x10
mov eax, dword [ebp + 0x1810]
test eax, eax
je 0x485e7d
mov ebx, 1
cmp dword [ebp + 0x1804], ebx
jne 0x485e7d
cmp byte [eax + 0x55], 0
je 0x485dac
mov al, bl
jmp 0x485e7f
mov ecx, dword [0x582498]
cmp dword [ebp + 0x140], ecx
jae 0x485dc1
mov al, 2
jmp 0x485e7f
mov byte [eax + 0x55], bl
sub dword [ebp + 0x140], ecx
mov eax, dword [ebp + 0x1810]
mov ecx, dword [0x58249c]
mov dword [eax + 0x50], ecx
mov edx, dword [ebp + 0x140]
push 7
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
mov byte [esp + 0x26], 0
mov dword [esp + 0x27], edx
call fcn.004ed0e0
mov eax, ebp
call fcn.0047aae0
mov eax, dword [ebp + 0x1810]
mov ecx, 0xb10
mov word [esp + 0x3c], cx
mov edx, dword [eax + 8]
push 0xa
lea ecx, [esp + 0x40]
mov dword [esp + 0x42], edx
mov eax, dword [eax + 0x50]
push ecx
mov ecx, dword [0x58796c]
mov dword [esp + 0x4a], eax
call fcn.004ed2d0
lea esi, [esp + 0x248]
mov edi, ebp
call fcn.00467f60
mov ebp, dword [ebp + 0x1810]
mov edx, 0xb08
mov word [esp + 0x248], dx
mov eax, dword [ebp + 8]
mov dword [esp + 0x29f], eax
lea eax, [ebp + 0xc]
lea edx, [esp + 0x2a3]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebx
test cl, cl
jne 0x485e64
push 0x7b
lea ecx, [esp + 0x24c]
jmp 0x4861ba
mov al, 3
mov edx, dword [ebp + 0x140]
mov byte [esp + 0x1e], al
push 7
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
mov dword [esp + 0x27], edx
call fcn.004ed0e0
jmp 0x4861c6
mov edi, ebp
lea esi, [esp + 0x28]
call fcn.00431eb0
xor eax, eax
mov dword [esp + 0x37c], 0x11
cmp dword [ebp + 0x1810], eax
jne 0x485ed8
mov ecx, dword [esp + 0x28]
cmp ecx, eax
je case.0x485020.3339
add ecx, 0x5cc
push ecx
jmp 0x4861d4
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
mov eax, 1
cmp dword [ebp + 0x130c], eax
mov ecx, 0xd35
mov word [esp + 0x60], cx
mov dword [esp + 0x38], eax
jl 0x4860bd
lea eax, [ebp + 0x220]
jmp 0x485f10
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], eax
lea esp, [esp]
mov ebx, dword [eax]
test ebx, ebx
je 0x48608f
cmp byte [ebx + 0x40], 0x2b
jne 0x48608f
mov dword [eax], 0
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + 0x46]
add eax, 0xffffffcc
cmp eax, 3
ja case.default.0x485f49
jmp dword [eax*4 + 0x48627c]
movzx eax, byte [ebx + 0x42]
add dword [esp + 0x18], eax
jmp case.default.0x485f49
movzx eax, byte [ebx + 0x42]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
mov dword [esp + 0x18], eax
jmp case.default.0x485f49
movzx ecx, byte [ebx + 0x42]
imul ecx, ecx, 0x64
add dword [esp + 0x18], ecx
jmp case.default.0x485f49
movzx edx, byte [ebx + 0x42]
imul edx, edx, 0x3e8
add dword [esp + 0x18], edx
mov al, byte [esp + 0x38]
mov edx, dword [esp + 0x34]
mov cl, byte [esp + 0x30]
mov byte [esp + edx*2 + 0x64], cl
mov byte [esp + edx*2 + 0x63], al
mov edx, 0x702
mov word [esp + 0x1c], dx
mov edx, dword [ebp + 0x582c]
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0
mov dword [esp + 0x1e], edx
mov byte [esp + 0x22], al
movzx eax, byte [ebx + 0x42]
push 9
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [0x58796c]
mov byte [esp + 0x2c], al
call fcn.004ed2d0
lea esi, [esp + 0x2c8]
mov edi, ebp
mov byte [esp + 0x355], 0
call fcn.00467f60
mov edx, 0x415
mov word [esp + 0x2c8], dx
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x31f], eax
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x323], ecx
mov edx, dword [ebx + 0x30]
mov eax, dword [edx]
mov dword [esp + 0x327], eax
mov eax, dword [ebx + 0x30]
add eax, 4
lea esi, [esp + 0x32b]
mov cl, byte [eax]
mov byte [esi], cl
inc eax
inc esi
test cl, cl
jne 0x486028
mov cl, byte [esp + 0x38]
mov dl, byte [esp + 0x30]
mov byte [esp + 0x36a], cl
mov byte [esp + 0x36b], dl
mov eax, dword [ebx + 0x46]
mov dword [esp + 0x34b], eax
mov cx, word [ebx + 0x4a]
mov word [esp + 0x34f], cx
mov edx, dword [ebx + 0x64]
mov ecx, dword [0x587974]
push 0xa5
lea eax, [esp + 0x2cc]
push eax
mov dword [esp + 0x359], edx
call fcn.004ed210
mov edi, ebx
call fcn.00411710
inc dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
inc ecx
add eax, 4
cmp ecx, 0x18
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], eax
jl 0x485f20
mov ecx, dword [esp + 0x38]
inc ecx
cmp ecx, dword [ebp + 0x130c]
mov dword [esp + 0x38], ecx
jle 0x485f10
mov eax, dword [esp + 0x34]
lea ecx, [eax + eax + 3]
push ecx
lea edx, [esp + 0x64]
push edx
mov ecx, ebp
mov byte [esp + 0x6a], al
call fcn.004ed0e0
cmp dword [esp + 0x18], 0
jle 0x4861c6
mov eax, dword [ebp + 0x1810]
mov ebx, dword [esp + 0x18]
push ebx
add eax, 0x4c
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ecx, dword [ebp + 0x1810]
add ecx, 0x9c
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp + 0x1810]
call fcn.00436be0
mov eax, dword [ebp + 0x1810]
mov edx, 0xb12
mov word [esp + 0x48], dx
mov ecx, dword [eax + 8]
mov dword [esp + 0x4a], ecx
mov edx, dword [eax + 0x4c]
mov ecx, dword [ebp + 0x582c]
mov dword [esp + 0x56], ecx
mov ecx, dword [0x58796c]
mov dword [esp + 0x4e], edx
mov dword [esp + 0x52], ebx
mov edx, dword [eax + 0x9c]
push 0x16
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x62], edx
call fcn.004ed2d0
lea esi, [esp + 0x2c8]
mov edi, ebp
call fcn.00467f60
mov ebp, dword [ebp + 0x1810]
mov ecx, 0xb0a
mov word [esp + 0x2c8], cx
mov edx, dword [ebp + 8]
mov dword [esp + 0x31f], edx
lea eax, [ebp + 0xc]
lea edx, [esp + 0x323]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x486193
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x343], eax
mov dword [esp + 0x347], ebx
push 0x83
lea ecx, [esp + 0x2cc]
push ecx
mov ecx, dword [0x587974]
call fcn.004ed210
mov eax, dword [esp + 0x28]
test eax, eax
je case.0x485020.3339
add eax, 0x5cc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x374]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x35c]
xor ecx, esp
call fcn.0051a8be
add esp, 0x36c
ret 4