Function at 0x41cb10
Capabilities:
Capture webcam image
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x2d8
mov eax, dword [0x477b14]
push ebx
push esi
push edi
mov dword [ebp + 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x4923c0]
mov edi, dword [ebp + 0x74]
xor ebx, ebx
cmp eax, ecx
sete bl
cmp edi, 0xfa1
mov dword [ebp - 0x228], ebx
ja 0x41ff47
je case.0x41cb60.20
lea eax, [edi - 1]
cmp eax, 0x58
ja case.0x41cb60.12
jmp dword [eax*4 + 0x420124]
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [esi + 0x79c]
test eax, eax
je case.0x41cb60.12
cmp dword [esi + 0x794], 3
jne case.0x41cb60.12
push esi
call fcn.00418db0
mov ecx, dword [esi + 0xb94]
mov eax, dword [ecx]
xor edx, edx
add esp, 4
test ebx, ebx
setne dl
dec edx
and edx, 2
or edx, 1
push edx
call dword [eax + 0x54]
jmp case.0x41cb60.20
mov ebx, dword [ebp + 0x78]
push ebx
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [ebx + 0x79c]
test eax, eax
je case.0x41cb60.12
mov eax, dword [ebx + 0xbb4]
test eax, eax
je 0x41cc07
cmp edi, 0x1b
jne 0x41cc07
mov eax, dword [ebp + 0x7c]
push eax
add ebx, 0xbb8
push ebx
call fcn.004223e0
add esp, 8
jmp case.0x41cb60.20
push 0xd0
call fcn.00445884
xor ecx, ecx
add esp, 4
cmp edi, 0x1b
sete cl
mov esi, eax
lea eax, [esi + 4]
mov dword [esi], ebx
mov word [eax], 0
mov dword [esi + 0xcc], ecx
mov ecx, dword [ebp + 0x7c]
test ecx, ecx
je 0x41cc3f
push ecx
push eax
call fcn.00422250
add esp, 8
xor edx, edx
cmp edi, 0x1b
sete dl
push esi
push 7
mov dword [esi + 0xcc], edx
jmp 0x41d1ef
mov edi, dword [ebp + 0x78]
push edi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [0x47715c]
xor esi, esi
cmp eax, esi
je 0x41cc89
mov ecx, dword [0x47c354]
push edi
push 1
push 0x425
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x492254]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne case.0x41cb60.20
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x78]
push ecx
mov ecx, dword [edi + 0xb94]
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x74], esi
call fcn.00432b20
mov edx, dword [ebp + 0x78]
mov eax, dword [ebp + 0x74]
mov esi, dword [ebp + 0x7c]
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [edi + 0xb94]
mov edx, dword [ecx + 0x28]
mov dword [ebp + 0x78], edx
mov eax, dword [ecx + 0x2c]
lea edx, [ebp + 0x74]
mov dword [ebp + 0x74], eax
push edx
lea eax, [ebp + 0x78]
push eax
call fcn.00432b20
mov ecx, dword [ebp + 0x78]
mov edx, dword [ebp + 0x74]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [0x492254]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov ecx, dword [ebp + 0x7c]
push ecx
mov ecx, dword [esi + 0xb94]
call fcn.0042fed0
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov edx, dword [ebp + 0x7c]
mov ecx, dword [esi + 0xb94]
push edx
call fcn.0042fe80
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [ebp + 0x7c]
test eax, eax
jne case.0x41cb60.12
mov eax, dword [esi + 0x208]
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [esi + 0xb74]
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [esi + 0xb94]
mov edx, dword [eax + 0x94]
xor ecx, ecx
test edx, edx
setne cl
mov eax, ecx
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [0x47715c]
test eax, eax
je 0x41ce1d
mov eax, dword [esi + 0x7f8]
cmp eax, 0xffffffff
je 0x41ce09
mov edx, dword [esi + 0x25c]
imul eax, eax, 0x12c
mov ecx, dword [eax + edx + 0x40]
test ecx, ecx
je 0x41ce1d
mov eax, dword [0x47c354]
push esi
push 1
push 0x425
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x7b8]
mov edx, dword [esi + 0x7b4]
mov edi, dword [ebp + 0x7c]
push ecx
push edx
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetRect]
fld dword [esi + 0x7a8]
call fcn.0044541c
push eax
push esi
call fcn.0040abc0
fld dword [esi + 0x7a4]
add esp, 8
push eax
call fcn.0044541c
push eax
push esi
call fcn.0040ab80
add esp, 8
push eax
push edi
call dword [sym.imp.USER32.dll_OffsetRect]
xor eax, eax
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [esi + 0x79c]
test eax, eax
je case.0x41cb60.12
mov ecx, dword [esi + 0xb94]
mov eax, dword [ecx]
call dword [eax + 0x94]
jmp case.0x41cb60.20
mov ebx, dword [ebp + 0x78]
push ebx
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [ebx + 0x79c]
test eax, eax
je case.0x41cb60.12
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ecx + 0x10]
mov ecx, eax
and ecx, 1
mov esi, eax
mov edi, eax
mov edx, eax
and esi, 0x1000
and edi, 0x2000
and edx, 0x1000000
or esi, ecx
or edi, ecx
test edx, edx
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x230], edi
jne 0x41cf4b
mov edi, dword [ebx + 0xbb0]
test edi, edi
jne 0x41cf4b
test esi, esi
je 0x41cf28
mov esi, dword [ebx + 0xb94]
mov ebx, dword [ebp + 0x7c]
mov ebx, dword [ebx]
cmp ebx, dword [esi + 0x20]
mov ebx, dword [ebp + 0x78]
jne 0x41cf28
mov dword [ebp - 0x228], edi
test edi, edi
jne 0x41cf4b
test ecx, ecx
je 0x41cf4b
mov ecx, dword [ebx + 0xb94]
mov esi, dword [ebp + 0x7c]
mov esi, dword [esi + 4]
cmp esi, dword [ecx + 0x24]
jne 0x41cf4b
mov dword [ebp - 0x230], 0
mov ecx, eax
and ecx, 2
mov esi, eax
mov edi, eax
and esi, 0x4000
and edi, 0x8000
or edi, ecx
or esi, ecx
test edx, edx
mov dword [ebp + 0x74], edi
jne 0x41cf98
test esi, esi
je 0x41cf7f
mov ecx, dword [ebp + 0x7c]
mov ecx, dword [ecx + 8]
cmp ecx, dword [ebx + 0x7b4]
jne 0x41cf7f
xor esi, esi
test edi, edi
je 0x41cf98
mov ecx, dword [ebp + 0x7c]
mov ecx, dword [ecx + 0xc]
cmp ecx, dword [ebx + 0x7b8]
jne 0x41cf98
mov dword [ebp + 0x74], 0
mov ecx, dword [ebp - 0x228]
mov ebx, eax
mov edi, eax
and eax, 0x10
and ebx, 4
and edi, 8
test ecx, ecx
mov dword [ebp - 0x238], eax
jne 0x41cfe7
mov ecx, dword [ebp - 0x230]
test ecx, ecx
jne 0x41d013
test esi, esi
jne 0x41d062
mov ecx, dword [ebp + 0x74]
test ecx, ecx
jne 0x41d062
test ebx, ebx
jne 0x41d062
test edi, edi
jne 0x41d052
test eax, eax
jne 0x41d052
jmp case.0x41cb60.20
mov eax, dword [ebp + 0x78]
mov ecx, dword [eax + 0xbb0]
test ecx, ecx
je 0x41d009
mov ecx, dword [ebp + 0x7c]
mov ecx, dword [ecx]
mov dword [eax + 0xbbc], ecx
mov dword [ebp - 0x228], 0
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x41d033
mov eax, dword [ebp + 0x78]
cmp dword [eax + 0xbb0], 0
je 0x41d033
mov ecx, dword [ebp + 0x7c]
mov ecx, dword [ecx + 4]
mov dword [eax + 0xbc0], ecx
xor ecx, ecx
mov dword [ebp - 0x230], ecx
mov eax, dword [ebp - 0x228]
test eax, eax
jne 0x41d062
test ecx, ecx
jne 0x41d062
test esi, esi
jne 0x41d062
mov eax, dword [ebp + 0x74]
test eax, eax
jne 0x41d062
mov eax, dword [ebp - 0x238]
test ebx, ebx
jne 0x41d062
test edi, edi
jne 0x41d062
test eax, eax
je case.0x41cb60.20
test edx, edx
jne 0x41d205
push 0x18
call fcn.00444aad
mov edx, dword [ebp + 0x78]
mov dword [ebp - 0x234], eax
mov dword [eax], edx
mov eax, dword [ebp - 0x228]
add esp, 4
test eax, eax
je 0x41d0ad
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
push ecx
push edx
call fcn.0040ab00
mov dword [ebp - 0x22c], eax
fild dword [ebp - 0x22c]
mov eax, dword [ebp + 0x78]
add esp, 8
fstp dword [eax + 0x7a4]
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x41d0df
mov ecx, dword [ebp + 0x7c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 0x78]
push edx
push eax
call fcn.0040ab40
mov ecx, dword [ebp + 0x78]
mov dword [ebp - 0x22c], eax
fild dword [ebp - 0x22c]
add esp, 8
fstp dword [ecx + 0x7a8]
test esi, esi
mov ecx, dword [ebp + 0x7c]
je 0x41d111
mov eax, dword [ecx + 8]
cmp eax, 1
jg 0x41d0f3
mov eax, 1
mov edx, dword [ebp + 0x78]
mov dword [edx + 0x7b4], eax
mov eax, dword [ecx + 8]
cmp eax, 1
jg 0x41d109
mov eax, 1
mov dword [edx + 0x7bc], eax
jmp 0x41d114
mov edx, dword [ebp + 0x78]
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x41d141
mov eax, dword [ecx + 0xc]
cmp eax, 1
jg 0x41d128
mov eax, 1
mov dword [edx + 0x7b8], eax
mov eax, dword [ecx + 0xc]
cmp eax, 1
jg 0x41d13b
mov eax, 1
mov dword [edx + 0x7c0], eax
test ebx, ebx
je 0x41d14f
mov dword [edx + 0xb74], 1
test edi, edi
je 0x41d15d
mov dword [edx + 0xb74], 0
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
add edx, 4
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
neg esi
sbb esi, esi
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
and esi, 0x4000
mov dword [edx + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x230]
neg eax
sbb eax, eax
and eax, 0x2000
or esi, eax
mov eax, dword [ebp - 0x238]
neg eax
sbb eax, eax
and eax, 0x10
or esi, eax
mov eax, dword [ebp + 0x74]
neg edi
sbb edi, edi
mov edx, dword [ebp - 0x234]
mov ecx, dword [ebp + 0x7c]
and edi, 8
or esi, edi
neg ebx
sbb ebx, ebx
and ebx, 4
or esi, ebx
neg eax
sbb eax, eax
and eax, 0x8000
or esi, eax
mov eax, dword [ebp - 0x228]
neg eax
sbb eax, eax
and eax, 0x1000
or esi, eax
push edx
mov dword [ecx + 0x10], esi
push 5
push 0x425
mov eax, dword [0x47c354]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x41cb60.20
test esi, esi
jne 0x41d214
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x41d393
mov ecx, dword [ebp + 0x78]
cmp dword [ecx + 0x794], 3
jne 0x41d37e
mov edx, dword [0x492254]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41d393
mov eax, dword [ebp + 0x78]
mov ecx, dword [eax + 0xb9c]
test ecx, ecx
push 0x466aa4
je 0x41d2aa
mov ecx, eax
mov ecx, dword [ecx + 0xb94]
call fcn.00430340
mov ecx, dword [ebp + 0x74]
test ecx, ecx
je 0x41d27a
mov edx, dword [ebp + 0x7c]
mov edx, dword [edx + 0xc]
cmp edx, 1
jle 0x41d273
mov ecx, edx
jmp 0x41d27d
mov ecx, 1
jmp 0x41d27d
mov ecx, dword [eax + 0x30]
test esi, esi
je 0x41d29c
mov edx, dword [ebp + 0x7c]
mov edx, dword [edx + 8]
cmp edx, 1
jg 0x41d29f
push ecx
mov edx, 1
push edx
mov ecx, eax
call fcn.00435170
jmp 0x41d302
mov edx, dword [eax + 0x2c]
push ecx
push edx
mov ecx, eax
call fcn.00435170
jmp 0x41d302
mov eax, dword [ebp + 0x78]
mov ecx, dword [eax + 0xb94]
call fcn.00430340
mov ecx, dword [ebp + 0x74]
test ecx, ecx
je 0x41d2d5
mov ecx, dword [ebp + 0x7c]
mov edx, dword [ecx + 0xc]
cmp edx, 1
jle 0x41d2ce
mov ecx, edx
jmp 0x41d2db
mov ecx, 1
jmp 0x41d2db
mov edx, dword [eax + 0x78]
mov ecx, dword [edx + 0x10]
test esi, esi
je 0x41d2f1
mov edx, dword [ebp + 0x7c]
mov edx, dword [edx + 8]
cmp edx, 1
jg 0x41d2f7
mov edx, 1
jmp 0x41d2f7
mov edx, dword [eax + 0x78]
mov edx, dword [edx + 0xc]
push 1
push ecx
push edx
mov ecx, eax
call fcn.00434240
test esi, esi
mov ecx, dword [ebp + 0x7c]
je 0x41d334
mov eax, dword [ecx + 8]
cmp eax, 1
jg 0x41d316
mov eax, 1
mov edx, dword [ebp + 0x78]
mov dword [edx + 0x7b4], eax
mov eax, dword [ecx + 8]
cmp eax, 1
jg 0x41d32c
mov eax, 1
mov dword [edx + 0x7bc], eax
jmp 0x41d337
mov edx, dword [ebp + 0x78]
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x41d364
mov eax, dword [ecx + 0xc]
cmp eax, 1
jg 0x41d34b
mov eax, 1
mov dword [edx + 0x7b8], eax
mov eax, dword [ecx + 0xc]
cmp eax, 1
jg 0x41d35e
mov eax, 1
mov dword [edx + 0x7c0], eax
mov eax, dword [0x492254]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp + 0x78]
push ecx
call fcn.00418db0
add esp, 4
jmp 0x41d393
mov edx, dword [ebp + 0x78]
push 0
push 0xffffffffffffffff
push edx
call fcn.00405890
add esp, 0xc
xor esi, esi
mov dword [ebp + 0x74], esi
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x41d3aa
mov eax, dword [ebp + 0x7c]
mov edx, dword [eax]
mov dword [ebp - 0x234], edx
jmp 0x41d3bc
mov eax, dword [ebp + 0x78]
mov edx, dword [eax + 0xb94]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x41d3ce
mov edx, dword [ebp + 0x7c]
mov edx, dword [edx + 4]
jmp 0x41d3da
mov edx, dword [ebp + 0x78]
mov edx, dword [edx + 0xb94]
mov edx, dword [edx + 0x24]
test ecx, ecx
jne 0x41d3f9
test eax, eax
jne 0x41d3f9
test esi, esi
jne 0x41d3f5
mov eax, dword [ebp + 0x74]
test eax, eax
jne 0x41d3f5
test ebx, ebx
jne 0x41d3f5
test edi, edi
je 0x41d427
xor eax, eax
jmp 0x41d3fe
mov eax, 1
mov ecx, dword [ebp + 0x78]
mov ecx, dword [ecx + 0xb94]
mov esi, dword [ecx]
neg edi
sbb edi, edi
and edi, 8
neg ebx
sbb ebx, ebx
and ebx, 4
or edi, ebx
or edi, eax
push edi
push edx
mov edx, dword [ebp - 0x234]
push edx
call dword [esi + 0x38]
mov eax, dword [ebp - 0x238]
test eax, eax
je case.0x41cb60.20
mov eax, dword [ebp + 0x78]
mov ecx, dword [eax + 0xb94]
mov edx, dword [ecx]
call dword [edx + 0x48]
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [esi + 0x79c]
test eax, eax
je case.0x41cb60.12
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x268]
push eax
push esi
push 8
mov dword [ebp - 0x258], 1
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], edx
call fcn.0041cb10
jmp case.0x41cb60.20
mov ecx, dword [ebp + 0x78]
push 0
push ecx
call fcn.004214e0
add esp, 8
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [esi + eax*2 - 2]
cmp edi, esi
jbe 0x41d4ce
cmp word [edi], 0x2e
je 0x41d4ce
sub edi, 2
cmp edi, esi
ja 0x41d4c1
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x466798
push edi
mov dword [esi + 0x214], 0
call ebx
test eax, eax
jne 0x41d529
mov edx, dword [esi + 0x210]
mov eax, dword [esi + 0x20c]
push 0x10
push edx
push eax
push 1
push esi
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [esi + 0x20c]
mov edi, eax
push ecx
push edi
call fcn.004211d0
add esp, 8
push edi
mov dword [esi + 0x208], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x41d5be
push 0x4667a4
push edi
call ebx
test eax, eax
jne 0x41d54a
push esi
call fcn.00428a90
add esp, 4
mov dword [esi + 0x214], 1
jmp 0x41d5b8
push 0x4667b0
push edi
call ebx
test eax, eax
jne 0x41d577
lea edx, [ebp + 0x78]
push edx
push esi
mov dword [ebp + 0x78], eax
call fcn.0042a150
mov dword [esi + 0x208], eax
mov eax, dword [ebp + 0x78]
add esp, 8
mov dword [esi + 0x214], eax
jmp 0x41d5be
push 0x4665f8
push edi
call ebx
test eax, eax
jne 0x41d5a4
push esi
call fcn.00429ee0
add esp, 4
lea ecx, [ebp - 0x250]
push ecx
push 0x18
push eax
mov dword [esi + 0x208], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
jmp 0x41d5be
push 0x2010
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 0x208], eax
mov eax, dword [esi + 0x208]
test eax, eax
je case.0x41cb60.12
lea edx, [ebp - 0x26c]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x264]
mov dword [esi + 0x20c], eax
mov dword [esi + 0x210], ecx
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + esi - 1]
cmp edi, esi
jbe 0x41d61a
jmp 0x41d610
cmp byte [edi], 0x2e
je 0x41d61a
dec edi
cmp edi, esi
ja 0x41d610
lea edx, [ebp - 0x224]
push esi
push edx
mov dword [esi + 0x110], 0
call fcn.00422250
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add esp, 8
push str..ico
push edi
call ebx
test eax, eax
jne 0x41d68b
mov eax, dword [esi + 0x10c]
mov ecx, dword [esi + 0x108]
push 0x10
push eax
push ecx
push 1
lea edx, [ebp - 0x224]
push edx
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
mov eax, dword [esi + 0x108]
push eax
push edi
call fcn.004211d0
add esp, 8
push edi
mov dword [esi + 0x104], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x41d72c
push str..tga
push edi
call ebx
test eax, eax
jne 0x41d6b2
lea ecx, [ebp - 0x224]
push ecx
call fcn.00428a90
add esp, 4
mov dword [esi + 0x110], 1
jmp 0x41d726
push str..png
push edi
call ebx
test eax, eax
jne 0x41d6df
lea edx, [ebp + 0x78]
mov dword [ebp + 0x78], eax
push edx
lea eax, [ebp - 0x224]
push eax
call fcn.0042a150
mov ecx, dword [ebp + 0x78]
add esp, 8
mov dword [esi + 0x110], ecx
jmp 0x41d726
push str..jpg
push edi
call ebx
test eax, eax
lea edx, [ebp - 0x224]
jne 0x41d712
push edx
call fcn.00429ee0
add esp, 4
lea ecx, [ebp - 0x250]
push ecx
push 0x18
push eax
mov dword [esi + 0x104], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
jmp 0x41d72c
push 0x2010
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x104]
test eax, eax
je case.0x41cb60.12
lea ecx, [ebp - 0x26c]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x264]
mov dword [esi + 0x108], edx
mov dword [esi + 0x10c], eax
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov ecx, dword [ebp + 0x7c]
test ecx, ecx
mov eax, dword [esi + 0x254]
jne 0x41d79c
test eax, eax
je case.0x41cb60.12
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x420107
test eax, eax
je 0x41dd28
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov ecx, dword [ebp + 0x7c]
push ecx
add esi, 0x254
push esi
call fcn.00422140
add esp, 8
jmp case.0x41cb60.20
mov ebx, dword [ebp + 0x78]
push ebx
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [ebx + 0x79c]
test eax, eax
je case.0x41cb60.12
mov esi, dword [ebp + 0x7c]
xor eax, eax
mov byte [ebp - 0x1c], 0
mov ecx, 0x20
lea edi, [ebp - 0x1b]
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x80
jle 0x41d832
push 0x81
push esi
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x41d83d
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x1c]
push ecx
add ebx, 0x90a
push ebx
call fcn.00422250
add esp, 8
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
test eax, eax
je case.0x41cb60.20
push esi
call edi
lea edx, [eax + eax + 2]
push edx
call fcn.00445884
push esi
push eax
mov dword [ebp - 0x22c], eax
call fcn.00422250
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
mov ecx, 0x47cbc4
call fcn.00413b00
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
test eax, eax
je case.0x41cb60.20
push esi
call edi
lea ecx, [eax + eax + 2]
push ecx
call fcn.00445884
add esp, 4
push esi
push eax
mov dword [ebp - 0x22c], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x22c]
push edx
mov ecx, 0x47cbc4
call fcn.00413b00
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax + eax + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.00445cd0
mov edi, esp
push esi
push edi
call fcn.00422250
mov esi, dword [0x47c0fc]
add esp, 8
dec esi
js 0x41d93a
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x41d920
mov eax, dword [0x47c0f8]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x41d937
push eax
push edi
call ebx
test eax, eax
je 0x41d94a
dec esi
jns 0x41d920
mov eax, dword [ebp + 0x7c]
mov dword [eax], 0
xor eax, eax
jmp 0x420107
mov edx, dword [0x47c0f8]
mov eax, dword [edx + esi*4]
mov ecx, dword [ebp + 0x7c]
mov dword [ecx], eax
mov edx, dword [0x47c0f8]
mov eax, dword [edx + esi*4]
cmp dword [eax + 0xb90], 1
jne case.0x41cb60.20
mov ecx, dword [eax + 0xb84]
test ecx, ecx
je case.0x41cb60.20
mov dword [eax + 0xb90], 2
mov ecx, dword [0x47c0f8]
mov eax, dword [ecx + esi*4]
cmp dword [eax + 0xb8c], 0xffffffff
je case.0x41cb60.20
mov ecx, dword [0x477868]
push 1
imul ecx, ecx, 0x32c
mov esi, eax
mov edx, dword [esi + 0xb8c]
push 3
push 0x1389
lea edx, [esi + edx*4 + 0x430]
push edx
push eax
call dword [ecx + 0x480828]
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
mov edi, dword [ebp + 0x7c]
push esi
mov dword [ebp - 0x234], edi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
test edi, edi
je 0x41da05
push edi
call fcn.00408720
add esp, 4
test eax, eax
jne 0x41daa2
mov dword [ebp - 0x234], eax
push 0x466680
lea eax, [esi + 8]
push eax
call fcn.00422140
mov ecx, dword [esi + 0xb94]
mov edi, dword [ecx + 0x74]
add esp, 8
push 0
call fcn.00430310
mov ecx, dword [esi + 0xb94]
push 0
call fcn.00430240
test edi, edi
je 0x41da59
mov ecx, dword [esi + 0xb94]
cmp dword [ecx + 8], 1
jne 0x41da59
mov edx, dword [edi]
xor eax, eax
test ebx, ebx
setne al
mov ecx, edi
dec eax
and eax, 2
or eax, 1
push eax
call dword [edx + 0x54]
mov ecx, dword [ebp - 0x234]
push ecx
push esi
call fcn.00404fc0
add esp, 8
call fcn.00404fa0
mov esi, dword [esi + 0xb94]
mov ecx, dword [esi + 0x74]
test ecx, ecx
je case.0x41cb60.20
cmp dword [esi + 8], 1
jne case.0x41cb60.20
mov edx, dword [ecx]
xor eax, eax
test ebx, ebx
setne al
dec eax
and eax, 2
or eax, 1
push eax
call dword [edx + 0x54]
jmp case.0x41cb60.20
mov ecx, dword [edi + 4]
push ecx
lea edx, [esi + 8]
push edx
jmp 0x41da0e
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
push esi
call fcn.00408380
mov ecx, dword [ebp + 0x7c]
xor edx, edx
add esp, 4
test eax, eax
setne dl
mov dword [ecx], eax
mov eax, edx
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [esi + 4]
test eax, eax
je 0x41db0c
push eax
mov eax, dword [ebp + 0x7c]
push eax
call fcn.00422210
add esp, 8
jmp case.0x41cb60.20
mov ecx, dword [ebp + 0x7c]
push 0x467ee6
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov ebx, dword [ebp + 0x7c]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax + eax + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.00445cd0
mov edi, esp
push ebx
push edi
call fcn.00422250
push edi
call fcn.00408040
add esp, 0xc
cmp eax, 0xffffffff
jne case.0x41cb60.12
mov edx, dword [esi + 4]
add esi, 4
push edx
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x230], 0
call fcn.00422140
push edi
push esi
call fcn.00422140
mov eax, dword [ebp - 0x230]
add esp, 0x10
test eax, eax
je 0x41dc3b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41dc3b
mov eax, dword [0x47c0fc]
xor esi, esi
test eax, eax
jle 0x41dc3b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ecx, dword [0x47c0f8]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx + 8]
test eax, eax
je 0x41dc31
mov ecx, dword [ebp - 0x230]
push ecx
push eax
call ebx
test eax, eax
jne 0x41dc31
mov edx, dword [0x47c0f8]
mov eax, dword [edx + esi*4]
add eax, 8
push edi
push eax
call fcn.00422140
mov ecx, dword [0x47c0f8]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx + 0xb94]
mov eax, dword [eax + 0x84]
add esp, 8
test eax, eax
je 0x41dc31
mov ecx, dword [ebp - 0x230]
push ecx
push eax
call ebx
test eax, eax
jne 0x41dc31
mov edx, dword [0x47c0f8]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + 0xb94]
push edi
call fcn.00430240
mov eax, dword [0x47c0fc]
inc esi
cmp esi, eax
jl 0x41dbc1
lea ecx, [ebp - 0x230]
push ecx
call fcn.004221f0
add esp, 4
jmp case.0x41cb60.20
mov edx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x78]
push edx
push eax
push 0x25
call fcn.0041a8f0
add esp, 0xc
jmp 0x420107
mov ecx, dword [ebp + 0x7c]
mov edx, dword [ebp + 0x78]
push ecx
push edx
push 0x3d
call fcn.0041a8f0
add esp, 0xc
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [esi + 0x79c]
test eax, eax
je case.0x41cb60.12
mov eax, dword [esi + 0x210]
test eax, eax
jne case.0x41cb60.12
mov eax, dword [ebp + 0x7c]
mov ecx, dword [0x47c354]
push eax
push esi
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov al, byte [esi + 0x200]
cmp al, 1
je 0x41dcf3
cmp al, 3
je 0x41dcf3
cmp al, 5
jne case.0x41cb60.12
cmp edi, 0x52
jne 0x41dd39
mov ecx, dword [ebp + 0x7c]
test ecx, ecx
jne 0x41dd11
mov edx, dword [esi + 0x1ec]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x420107
mov eax, dword [esi + 0x1ec]
test eax, eax
je 0x41dd28
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp case.0x41cb60.20
push 0x466680
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp case.0x41cb60.20
mov eax, dword [ebp + 0x7c]
push eax
add esi, 0x1ec
push esi
call fcn.00422140
add esp, 8
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [ebp + 0x7c]
add esi, 0x214
test eax, eax
push esi
jne 0x41f7eb
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x420107
mov edi, dword [ebp + 0x78]
push edi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov ecx, dword [ebp + 0x7c]
push 0x1f
push ecx
lea esi, [edi + 0x214]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [edi + 0xb94]
push esi
call fcn.004301d0
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov al, byte [esi + 0x200]
test al, al
je case.0x41cb60.12
cmp edi, 0x54
jne 0x41de0d
mov eax, dword [ebp + 0x7c]
test eax, eax
jne 0x41ddfa
mov edx, dword [esi + 0x1f0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x420107
mov ecx, dword [esi + 0x1f0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp case.0x41cb60.20
mov edx, dword [ebp + 0x7c]
push edx
add esi, 0x1f0
push esi
call fcn.00422140
add esp, 8
jmp case.0x41cb60.20
mov edi, dword [ebp + 0x78]
push edi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov ebx, dword [ebp + 0x7c]
cmp dword [ebx], 0xc
jne case.0x41cb60.12
mov eax, dword [edi + 0x794]
test eax, eax
jne case.0x41cb60.12
mov eax, dword [ebx + 4]
test eax, eax
jne 0x41de8b
mov eax, dword [edi + 0x7f8]
cmp eax, 0xffffffff
je case.0x41cb60.12
mov ecx, dword [edi + 0x25c]
imul eax, eax, 0x12c
mov edx, dword [eax + ecx + 0x50]
mov eax, dword [ebx + 8]
push edx
push eax
call fcn.00422210
add esp, 8
jmp case.0x41cb60.20
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [eax + eax + 2]
push ecx
call fcn.00445884
mov edx, dword [ebx + 4]
mov esi, eax
push edx
push esi
call fcn.00422250
push esi
push edi
call fcn.00407fa0
add esp, 0x14
cmp eax, 0xffffffff
je 0x41df95
mov ecx, dword [edi + 0x25c]
imul eax, eax, 0x12c
mov eax, dword [eax + ecx + 0x50]
jmp 0x41df79
mov edi, dword [ebp + 0x78]
push edi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov ebx, dword [ebp + 0x7c]
cmp dword [ebx], 0xc
jne case.0x41cb60.12
mov eax, dword [ebx + 4]
test eax, eax
jne 0x41df3a
mov eax, dword [edi + 0x7f8]
mov ecx, dword [edi + 0x25c]
imul eax, eax, 0x12c
mov eax, dword [eax + ecx + 0x9c]
test eax, eax
je 0x41df26
mov edx, dword [ebx + 8]
push eax
push edx
call fcn.00422210
add esp, 8
jmp case.0x41cb60.20
mov eax, dword [ebx + 8]
push 0x467ee6
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp case.0x41cb60.20
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [eax + eax + 2]
push ecx
call fcn.00445884
mov edx, dword [ebx + 4]
mov esi, eax
push edx
push esi
call fcn.00422250
push esi
push edi
call fcn.00407fa0
add esp, 0x14
cmp eax, 0xffffffff
je 0x41df95
mov ecx, dword [edi + 0x25c]
imul eax, eax, 0x12c
mov eax, dword [eax + ecx + 0x9c]
test eax, eax
je 0x41df95
mov edx, dword [ebx + 8]
push eax
push edx
call fcn.00422210
push esi
call fcn.00445979
add esp, 0xc
jmp case.0x41cb60.20
push esi
call fcn.00445979
add esp, 4
xor eax, eax
jmp 0x420107
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x78]
push eax
push ecx
push edi
call fcn.0041a8b0
add esp, 0xc
jmp case.0x41cb60.20
mov edx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x78]
push edx
push eax
push 0x3e
call fcn.0041a8f0
add esp, 0xc
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [esi + 0x2bc]
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov edi, dword [ebp + 0x7c]
cmp dword [edi], 0xc
jne case.0x41cb60.12
mov eax, dword [esi + 0x794]
test eax, eax
jne case.0x41cb60.12
mov eax, dword [edi + 4]
test eax, eax
jne 0x41e055
mov eax, dword [esi + 0x7f8]
cmp eax, 0xffffffff
je case.0x41cb60.20
mov ecx, dword [edi + 8]
imul eax, eax, 0x12c
mov edx, dword [esi + 0x25c]
mov eax, dword [eax + edx + 0x50]
push ecx
push eax
call fcn.00422250
mov ecx, dword [esi + 0x7f8]
push ebx
push ecx
push esi
call fcn.0041a060
add esp, 0x14
jmp case.0x41cb60.20
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call ebx
test eax, eax
jne 0x41e0b9
mov eax, dword [esi + 0x260]
xor ebx, ebx
cmp eax, ebx
jle 0x41e0a2
mov dword [ebp + 0x78], ebx
mov edx, dword [edi + 8]
mov eax, dword [esi + 0x25c]
mov ecx, dword [ebp + 0x78]
push edx
mov edx, dword [eax + ecx + 0x50]
push edx
call fcn.00422250
mov ecx, dword [ebp + 0x78]
mov eax, dword [esi + 0x260]
add esp, 8
inc ebx
add ecx, 0x12c
cmp ebx, eax
mov dword [ebp + 0x78], ecx
jl 0x41e071
mov eax, dword [ebp - 0x228]
push eax
push 0xffffffffffffffff
push esi
call fcn.0041a060
add esp, 0xc
jmp case.0x41cb60.20
mov ecx, dword [edi + 4]
push ecx
call ebx
lea edx, [eax + eax + 2]
push edx
call fcn.00445884
mov ebx, eax
mov eax, dword [edi + 4]
push eax
push ebx
mov dword [ebp - 0x22c], ebx
call fcn.00422250
push ebx
push esi
call fcn.00407fa0
mov ebx, eax
add esp, 0x14
cmp ebx, 0xffffffff
je 0x41e119
mov ecx, dword [edi + 8]
mov eax, dword [esi + 0x25c]
mov edx, ebx
imul edx, edx, 0x12c
push ecx
mov ecx, dword [edx + eax + 0x50]
push ecx
call fcn.00422250
mov edx, dword [ebp - 0x228]
push edx
push ebx
push esi
call fcn.0041a060
add esp, 0x14
mov eax, dword [ebp - 0x22c]
push eax
call fcn.00445979
add esp, 4
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov edi, dword [ebp + 0x7c]
cmp dword [edi], 0x20
jne case.0x41cb60.12
mov eax, dword [edi + 4]
test eax, eax
je case.0x41cb60.12
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call ebx
test eax, eax
jne 0x41e207
mov eax, dword [esi + 0x260]
xor ecx, ecx
test eax, eax
jle 0x41e1f0
xor eax, eax
jmp 0x41e180
mov edx, dword [esi + 0x25c]
mov ebx, dword [edi + 8]
mov dword [edx + eax + 0x108], ebx
mov edx, dword [esi + 0x25c]
mov ebx, dword [edi + 0x1c]
mov dword [edx + eax + 0x11c], ebx
mov edx, dword [esi + 0x25c]
mov ebx, dword [edi + 0x18]
mov dword [edx + eax + 0x118], ebx
mov edx, dword [esi + 0x25c]
mov ebx, dword [edi + 0xc]
mov dword [edx + eax + 0x10c], ebx
mov edx, dword [esi + 0x25c]
mov ebx, dword [edi + 0x10]
mov dword [edx + eax + 0x110], ebx
mov edx, dword [esi + 0x25c]
mov ebx, dword [edi + 0x14]
mov dword [edx + eax + 0x114], ebx
mov edx, dword [esi + 0x260]
inc ecx
add eax, 0x12c
cmp ecx, edx
jl 0x41e180
mov eax, dword [ebp - 0x228]
push eax
push 0xffffffffffffffff
push esi
call fcn.0041a060
add esp, 0xc
jmp case.0x41cb60.20
mov ecx, dword [edi + 4]
push ecx
call ebx
lea edx, [eax + eax + 2]
push edx
call fcn.00445884
mov ebx, eax
mov eax, dword [edi + 4]
push eax
push ebx
mov dword [ebp - 0x22c], ebx
call fcn.00422250
push ebx
push esi
call fcn.00407fa0
add esp, 0x14
cmp eax, 0xffffffff
je 0x41e659
mov ebx, dword [edi + 8]
mov edx, dword [esi + 0x25c]
mov ecx, eax
imul ecx, ecx, 0x12c
mov dword [edx + ecx + 0x108], ebx
mov ebx, dword [edi + 0x1c]
mov edx, dword [esi + 0x25c]
mov dword [edx + ecx + 0x11c], ebx
mov ebx, dword [edi + 0x18]
mov edx, dword [esi + 0x25c]
mov dword [edx + ecx + 0x118], ebx
mov ebx, dword [edi + 0xc]
mov edx, dword [esi + 0x25c]
mov dword [edx + ecx + 0x10c], ebx
mov edx, dword [esi + 0x25c]
mov ebx, dword [edi + 0x10]
mov dword [edx + ecx + 0x110], ebx
mov edx, dword [esi + 0x25c]
mov edi, dword [edi + 0x14]
mov dword [edx + ecx + 0x114], edi
mov ecx, dword [ebp - 0x228]
push ecx
push eax
jmp 0x41e64a
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov edi, dword [ebp + 0x7c]
cmp dword [edi], 0x28
jne case.0x41cb60.12
mov eax, dword [esi + 0x794]
test eax, eax
jne case.0x41cb60.12
mov eax, dword [edi + 4]
test eax, eax
jne 0x41e43d
mov eax, dword [esi + 0x7f8]
cmp eax, 0xffffffff
je case.0x41cb60.20
mov edx, dword [edi + 8]
imul eax, eax, 0x12c
mov ecx, dword [esi + 0x25c]
push edx
mov edx, dword [eax + ecx + 0x50]
push edx
call fcn.00422250
mov eax, dword [esi + 0x7f8]
mov ecx, dword [esi + 0x25c]
imul eax, eax, 0x12c
mov edx, dword [edi + 0x14]
mov dword [eax + ecx + 0x7c], edx
mov eax, dword [esi + 0x7f8]
mov ecx, dword [esi + 0x25c]
imul eax, eax, 0x12c
mov edx, dword [edi + 0x10]
mov dword [eax + ecx + 0x54], edx
mov eax, dword [esi + 0x7f8]
mov ecx, dword [esi + 0x25c]
imul eax, eax, 0x12c
mov edx, dword [edi + 0x1c]
mov dword [eax + ecx + 0x88], edx
mov edx, dword [edi + 0xc]
mov ecx, dword [esi + 0x7f8]
xor eax, eax
add esp, 8
cmp edx, 1
mov edx, dword [esi + 0x25c]
setg al
imul ecx, ecx, 0x12c
mov dword [ecx + edx + 0x8c], eax
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x41e399
cmp eax, 3
je 0x41e399
xor eax, eax
jmp 0x41e39e
mov eax, 1
mov ecx, dword [esi + 0x7f8]
mov edx, dword [esi + 0x25c]
imul ecx, ecx, 0x12c
mov dword [ecx + edx + 0x84], eax
mov ecx, dword [esi + 0x7f8]
mov edx, dword [esi + 0x25c]
imul ecx, ecx, 0x12c
mov dword [ecx + edx + 0x80], eax
mov eax, dword [esi + 0x7f8]
mov ecx, dword [esi + 0x25c]
imul eax, eax, 0x12c
mov edx, dword [edi + 0x20]
mov dword [eax + ecx + 0x90], edx
mov eax, dword [esi + 0x7f8]
mov ecx, dword [esi + 0x25c]
imul eax, eax, 0x12c
mov edx, dword [edi + 0x24]
mov dword [eax + ecx + 0x94], edx
mov eax, dword [esi + 0x7f8]
mov ecx, dword [esi + 0x25c]
imul eax, eax, 0x12c
mov edx, dword [edi + 0x18]
mov dword [eax + ecx + 0x58], edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [esi + 0x7f8]
push eax
push ecx
push esi
call fcn.0041a060
add esp, 0xc
jmp case.0x41cb60.20
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call ebx
test eax, eax
jne 0x41e549
mov dword [ebp + 0x78], eax
mov eax, dword [esi + 0x260]
test eax, eax
jle 0x41e532
xor ebx, ebx
mov edx, dword [edi + 8]
mov eax, dword [esi + 0x25c]
mov ecx, dword [eax + ebx + 0x50]
push edx
push ecx
call fcn.00422250
mov edx, dword [esi + 0x25c]
mov eax, dword [edi + 0x14]
mov dword [edx + ebx + 0x7c], eax
mov ecx, dword [esi + 0x25c]
mov edx, dword [edi + 0x10]
mov dword [ecx + ebx + 0x54], edx
mov eax, dword [esi + 0x25c]
mov ecx, dword [edi + 0x1c]
mov dword [eax + ebx + 0x88], ecx
mov eax, dword [edi + 0xc]
xor edx, edx
add esp, 8
cmp eax, 1
mov eax, dword [esi + 0x25c]
setg dl
mov dword [eax + ebx + 0x8c], edx
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x41e4cb
cmp eax, 3
je 0x41e4cb
xor eax, eax
jmp 0x41e4d0
mov eax, 1
mov ecx, dword [esi + 0x25c]
mov dword [ecx + ebx + 0x84], eax
mov edx, dword [esi + 0x25c]
mov dword [edx + ebx + 0x80], eax
mov eax, dword [esi + 0x25c]
mov ecx, dword [edi + 0x20]
mov dword [eax + ebx + 0x90], ecx
mov edx, dword [esi + 0x25c]
mov eax, dword [edi + 0x24]
mov dword [edx + ebx + 0x94], eax
mov ecx, dword [esi + 0x25c]
mov edx, dword [edi + 0x18]
mov eax, dword [ebp + 0x78]
mov dword [ecx + ebx + 0x58], edx
mov ecx, dword [esi + 0x260]
inc eax
add ebx, 0x12c
cmp eax, ecx
mov dword [ebp + 0x78], eax
jl 0x41e461
mov eax, dword [ebp - 0x228]
push eax
push 0xffffffffffffffff
push esi
call fcn.0041a060
add esp, 0xc
jmp case.0x41cb60.20
mov ecx, dword [edi + 4]
push ecx
call ebx
lea edx, [eax + eax + 2]
push edx
call fcn.00445884
mov ebx, eax
mov eax, dword [edi + 4]
push eax
push ebx
mov dword [ebp - 0x22c], ebx
call fcn.00422250
push ebx
push esi
call fcn.00407fa0
add esp, 0x14
cmp eax, 0xffffffff
mov dword [ebp + 0x78], eax
je 0x41e659
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0x25c]
mov ebx, eax
imul ebx, ebx, 0x12c
mov eax, dword [ebx + edx + 0x50]
push ecx
push eax
call fcn.00422250
mov ecx, dword [esi + 0x25c]
mov edx, dword [edi + 0x14]
mov dword [ebx + ecx + 0x7c], edx
mov eax, dword [esi + 0x25c]
mov ecx, dword [edi + 0x10]
mov dword [ebx + eax + 0x54], ecx
mov edx, dword [esi + 0x25c]
mov eax, dword [edi + 0x1c]
mov dword [ebx + edx + 0x88], eax
mov edx, dword [edi + 0xc]
xor ecx, ecx
add esp, 8
cmp edx, 1
mov edx, dword [esi + 0x25c]
setg cl
mov dword [ebx + edx + 0x8c], ecx
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x41e5f3
cmp eax, 3
je 0x41e5f3
xor eax, eax
jmp 0x41e5f8
mov eax, 1
mov ecx, dword [esi + 0x25c]
mov dword [ebx + ecx + 0x84], eax
mov edx, dword [esi + 0x25c]
mov dword [ebx + edx + 0x80], eax
mov eax, dword [esi + 0x25c]
mov ecx, dword [edi + 0x20]
mov dword [ebx + eax + 0x90], ecx
mov edx, dword [esi + 0x25c]
mov eax, dword [edi + 0x24]
mov dword [ebx + edx + 0x94], eax
mov ecx, dword [esi + 0x25c]
mov edx, dword [edi + 0x18]
mov eax, dword [ebp - 0x228]
mov dword [ebx + ecx + 0x58], edx
mov ecx, dword [ebp + 0x78]
push eax
push ecx
push esi
call fcn.0041a060
mov ebx, dword [ebp - 0x22c]
add esp, 0xc
push ebx
call fcn.00445979
add esp, 4
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov edi, dword [ebp + 0x7c]
cmp dword [edi], 0xc
jne case.0x41cb60.12
mov eax, dword [edi + 4]
test eax, eax
jne 0x41e6cc
mov eax, dword [esi + 0x7f8]
cmp eax, 0xffffffff
je case.0x41cb60.20
mov edx, dword [edi + 8]
imul eax, eax, 0x12c
mov ecx, dword [esi + 0x25c]
push edx
mov edx, dword [eax + ecx + 0x9c]
push edx
call fcn.00422250
mov eax, dword [esi + 0x7f8]
push eax
push esi
call fcn.00409190
jmp 0x4200ff
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call ebx
test eax, eax
jne 0x41e739
mov eax, dword [esi + 0x260]
xor ebx, ebx
cmp eax, ebx
jle 0x41e724
mov dword [ebp + 0x78], ebx
jmp 0x41e6f0
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0x25c]
mov eax, dword [ebp + 0x78]
push ecx
mov ecx, dword [edx + eax + 0x9c]
push ecx
call fcn.00422250
mov ecx, dword [ebp + 0x78]
mov eax, dword [esi + 0x260]
add esp, 8
inc ebx
add ecx, 0x12c
cmp ebx, eax
mov dword [ebp + 0x78], ecx
jl 0x41e6f0
mov edx, dword [esi + 0x7f8]
push edx
push esi
call fcn.00409190
add esp, 8
jmp case.0x41cb60.20
mov eax, dword [edi + 4]
push eax
call ebx
lea ecx, [eax + eax + 2]
push ecx
call fcn.00445884
mov edx, dword [edi + 4]
mov ebx, eax
push edx
push ebx
mov dword [ebp - 0x22c], ebx
call fcn.00422250
push ebx
push esi
call fcn.00407fa0
mov ebx, eax
add esp, 0x14
cmp ebx, 0xffffffff
je 0x41e7a2
mov eax, dword [edi + 8]
mov edx, dword [esi + 0x25c]
mov ecx, ebx
imul ecx, ecx, 0x12c
push eax
mov eax, dword [ecx + edx + 0x9c]
push eax
call fcn.00422250
mov eax, dword [esi + 0x7f8]
add esp, 8
cmp ebx, eax
jne 0x41e7a2
push eax
push esi
call fcn.00409190
add esp, 8
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.00445979
add esp, 4
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov edx, dword [0x492254]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne case.0x41cb60.20
mov eax, dword [esi + 0x7f4]
test eax, eax
jl 0x41e823
cmp eax, dword [esi + 0x260]
jg 0x41e823
mov edi, dword [esi + 0x25c]
imul eax, eax, 0x12c
add eax, edi
push eax
mov eax, dword [ebp + 0x7c]
push eax
call fcn.00422210
mov edx, dword [0x492254]
add esp, 8
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp case.0x41cb60.20
mov ecx, dword [ebp + 0x7c]
push 0x467ee6
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [0x492254]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp case.0x41cb60.20
mov ebx, dword [ebp + 0x78]
push ebx
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
cmp dword [ebx + 0x794], 2
jne case.0x41cb60.12
mov edx, dword [ebx + 0x7f8]
xor eax, eax
cmp edx, 0xffffffff
je 0x420107
mov esi, dword [ebp + 0x7c]
mov word [ebp - 0x21c], ax
mov ecx, 0x7f
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esi], 0x54
mov edi, edx
jne 0x41e8ca
mov eax, dword [esi + 0x50]
test eax, eax
je 0x41e8ca
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41e8ca
mov eax, dword [esi + 0x50]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00422250
lea edx, [ebp - 0x21c]
push edx
push ebx
call fcn.00407fa0
add esp, 0x10
mov edi, eax
cmp edi, 0xffffffff
je case.0x41cb60.12
mov eax, dword [ebx + 0x25c]
imul edi, edi, 0x12c
mov ecx, dword [edi + eax + 0xa8]
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 4], ecx
mov edx, dword [ebx + 0x25c]
mov eax, dword [edi + edx + 0xb0]
neg eax
sbb eax, eax
and eax, 0x12c
add eax, 0x190
mov dword [esi + 0x14], eax
mov ecx, dword [ebx + 0x25c]
mov dl, byte [edi + ecx + 0xac]
mov byte [esi + 0x18], dl
mov eax, dword [ebx + 0x25c]
mov cl, byte [edi + eax + 0xb4]
mov byte [esi + 0x19], cl
mov edx, dword [ebx + 0x25c]
mov al, byte [edi + edx + 0xb8]
mov byte [esi + 0x1a], al
mov ecx, dword [ebx + 0x25c]
mov dl, byte [edi + ecx + 0xbc]
lea eax, [ebx + 0x268]
push eax
lea ecx, [esi + 0x20]
push ecx
mov byte [esi + 0x1b], dl
mov byte [esi + 0x1c], 0
mov byte [esi + 0x1d], 0
mov byte [esi + 0x1e], 4
mov byte [esi + 0x1f], 0
call fcn.00422210
mov edx, dword [ebx + 0x25c]
mov eax, dword [edi + edx + 0xc0]
mov dword [esi + 0x40], eax
mov eax, dword [esi]
add esp, 8
cmp eax, 0x54
jne 0x41e9ac
mov ecx, dword [ebx + 0x25c]
mov edx, dword [edi + ecx + 0xc4]
mov dword [esi + 0x48], edx
mov eax, dword [ebx + 0x25c]
mov ecx, dword [edi + eax + 0xc8]
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x44], 3
mov eax, dword [ebx + 0x2a8]
test eax, eax
jne 0x41e9c4
mov dword [esi + 0x44], 0x13
mov ecx, dword [ebx + 0x2a8]
mov eax, 1
cmp ecx, eax
jne 0x41e9d7
or dword [esi + 0x44], 0x40
cmp dword [ebx + 0x2a8], 2
jne 0x420107
or dword [esi + 0x44], 0x20
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [esi + 0x794]
test eax, eax
je case.0x41cb60.20
cmp eax, 2
jne 0x41ea19
jmp 0x420107
cmp eax, 1
je 0x41ea27
cmp eax, 3
jne case.0x41cb60.12
mov eax, 3
jmp 0x420107
mov ebx, dword [ebp + 0x78]
push ebx
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov esi, dword [ebx + 0x7f8]
xor eax, eax
cmp esi, 0xffffffff
je 0x420107
mov word [ebp - 0x21c], ax
mov ecx, 0x7f
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 0x7c]
mov eax, dword [edi + 4]
test eax, eax
je 0x41eaa3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41eaa3
mov edx, dword [edi + 4]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00422250
lea ecx, [ebp - 0x21c]
push ecx
push ebx
call fcn.00407fa0
add esp, 0x10
mov esi, eax
cmp esi, 0xffffffff
je case.0x41cb60.12
mov edx, dword [ebx + 0x25c]
imul esi, esi, 0x12c
mov eax, dword [esi + edx + 0x5c]
cmp eax, 0xffffffff
lea ecx, [esi + edx]
je 0x41eaef
cmp eax, 0xfffffffd
jne 0x41eae7
mov ecx, dword [ecx + 0x60]
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
shl eax, 8
sub ecx, eax
mov dword [edi + 8], ecx
jmp case.0x41cb60.20
mov dword [edi + 8], eax
jmp case.0x41cb60.20
mov dword [edi + 8], 0x64
jmp case.0x41cb60.20
mov ebx, dword [ebp + 0x78]
push ebx
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov esi, dword [ebx + 0x7f8]
xor eax, eax
cmp esi, 0xffffffff
je 0x420107
mov word [ebp - 0x21c], ax
mov ecx, 0x7f
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 0x7c]
mov eax, dword [edi + 4]
test eax, eax
je 0x41eb6d
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41eb6d
mov eax, dword [edi + 4]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00422250
lea edx, [ebp - 0x21c]
push edx
push ebx
call fcn.00407fa0
add esp, 0x10
mov esi, eax
cmp esi, 0xffffffff
je case.0x41cb60.12
mov eax, dword [edi + 8]
test al, 1
je 0x41eb92
mov edx, dword [ebx + 0x25c]
mov ecx, esi
imul ecx, ecx, 0x12c
mov ecx, dword [ecx + edx + 0x6c]
mov dword [edi + 0xc], ecx
test al, 2
je 0x41ebab
mov ecx, dword [ebx + 0x25c]
mov edx, esi
imul edx, edx, 0x12c
mov edx, dword [edx + ecx + 0x70]
mov dword [edi + 0x10], edx
test al, 4
je case.0x41cb60.20
mov eax, dword [ebx + 0x25c]
imul esi, esi, 0x12c
mov ecx, dword [esi + eax + 0x74]
mov dword [edi + 0x14], ecx
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
cmp dword [esi + 0x794], 2
jne case.0x41cb60.12
cmp edi, 0x48
jne 0x41ec45
mov edx, dword [ebp + 0x7c]
mov eax, dword [edx]
test eax, eax
je case.0x41cb60.12
push eax
push esi
call fcn.00407fa0
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je case.0x41cb60.12
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x25c]
mov edx, edi
imul edx, edx, 0x12c
push ecx
lea ecx, [edx + eax + 0xa4]
push ecx
call fcn.00422140
push ebx
push edi
push esi
call fcn.0041a060
add esp, 0x14
jmp case.0x41cb60.20
cmp edi, 0x34
jne 0x41ecca
mov ebx, dword [ebp + 0x7c]
mov eax, dword [ebx]
test eax, eax
je case.0x41cb60.12
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [eax + eax + 2]
push edx
call fcn.00445884
mov edi, eax
mov eax, dword [ebx]
push eax
push edi
call fcn.00422250
push edi
push esi
call fcn.00407fa0
push edi
mov ebx, eax
call fcn.00445979
add esp, 0x18
cmp ebx, 0xffffffff
je case.0x41cb60.12
mov ecx, dword [ebp + 0x7c]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x25c]
mov eax, ebx
imul eax, eax, 0x12c
push edx
lea edx, [eax + ecx + 0xa4]
push edx
call fcn.004223e0
mov eax, dword [ebp - 0x228]
push eax
push ebx
push esi
call fcn.0041a060
add esp, 0x14
jmp case.0x41cb60.20
cmp edi, 0x15
je 0x41eec3
cmp edi, 0x46
je 0x41ee6f
mov edi, dword [ebp + 0x7c]
mov eax, dword [edi]
or ebx, 0xffffffff
cmp eax, 0x54
mov dword [ebp + 0x74], ebx
jne 0x41ed3f
mov eax, dword [edi + 0x50]
test eax, eax
je 0x41ed3f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41ed3f
mov ecx, dword [edi + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [eax + eax + 2]
push edx
call fcn.00445884
mov ebx, eax
mov eax, dword [edi + 0x50]
push eax
push ebx
mov dword [ebp - 0x22c], ebx
call fcn.00422250
push ebx
push esi
call fcn.00407fa0
mov ecx, dword [ebp - 0x22c]
mov ebx, eax
push ecx
mov dword [ebp + 0x74], ebx
call fcn.00445979
add esp, 0x18
mov eax, dword [esi + 0x260]
xor ecx, ecx
cmp ebx, 0xffffffff
je 0x41ed51
mov ecx, ebx
lea eax, [ebx + 1]
cmp ecx, eax
jge 0x41ee59
mov ebx, ecx
imul ebx, ebx, 0x12c
sub eax, ecx
mov dword [ebp + 0x78], eax
test byte [edi + 0x44], 1
je 0x41edf1
mov ecx, dword [edi + 0x14]
mov eax, dword [esi + 0x25c]
xor edx, edx
cmp ecx, 0x226
setg dl
mov dword [eax + ebx + 0xb0], edx
movzx ecx, byte [edi + 0x19]
mov edx, dword [esi + 0x25c]
mov dword [edx + ebx + 0xb4], ecx
movzx eax, byte [edi + 0x1a]
mov ecx, dword [esi + 0x25c]
mov dword [ecx + ebx + 0xb8], eax
mov edx, dword [esi + 0x25c]
mov al, byte [edi + 0x1b]
mov byte [edx + ebx + 0xbc], al
movzx ecx, byte [edi + 0x18]
mov edx, dword [esi + 0x25c]
mov dword [edx + ebx + 0xac], ecx
mov eax, dword [esi + 0x25c]
mov ecx, dword [edi + 4]
lea edx, [edi + 0x20]
mov dword [eax + ebx + 0xa8], ecx
push edx
lea eax, [esi + 0x268]
push eax
call fcn.00422250
add esp, 8
test byte [edi + 0x44], 2
je 0x41ee07
mov ecx, dword [esi + 0x25c]
mov edx, dword [edi + 0x40]
mov dword [ecx + ebx + 0xc0], edx
mov eax, dword [edi]
cmp eax, 0x54
je 0x41ee13
cmp eax, 0x50
jne 0x41ee43
mov eax, dword [edi + 0x44]
test ah, 2
je 0x41ee2b
mov eax, dword [esi + 0x25c]
mov ecx, dword [edi + 0x48]
mov dword [eax + ebx + 0xc4], ecx
mov eax, dword [edi + 0x44]
test ah, 1
je 0x41ee43
mov edx, dword [esi + 0x25c]
mov eax, dword [edi + 0x4c]
mov dword [edx + ebx + 0xc8], eax
mov eax, dword [ebp + 0x78]
add ebx, 0x12c
dec eax
mov dword [ebp + 0x78], eax
jne 0x41ed66
mov ebx, dword [ebp + 0x74]
mov ecx, dword [ebp - 0x228]
push ecx
push ebx
push esi
call fcn.0041a060
add esp, 0xc
jmp case.0x41cb60.20
mov eax, dword [esi + 0x260]
xor edi, edi
test eax, eax
jle 0x41eefc
xor ebx, ebx
mov edx, dword [ebp + 0x7c]
mov eax, dword [esi + 0x25c]
push edx
lea ecx, [eax + ebx + 0xa4]
push ecx
call fcn.00422140
mov eax, dword [esi + 0x260]
add esp, 8
inc edi
add ebx, 0x12c
cmp edi, eax
jl 0x41ee81
mov edx, dword [ebp - 0x228]
push edx
push 0xffffffffffffffff
push esi
call fcn.0041a060
add esp, 0xc
jmp case.0x41cb60.20
mov eax, dword [esi + 0x260]
xor edi, edi
test eax, eax
jle 0x41eefc
xor ebx, ebx
mov edx, dword [ebp + 0x7c]
mov eax, dword [esi + 0x25c]
push edx
lea ecx, [eax + ebx + 0xa4]
push ecx
call fcn.004223e0
mov eax, dword [esi + 0x260]
add esp, 8
inc edi
add ebx, 0x12c
cmp edi, eax
jl 0x41eed1
mov edx, dword [ebp - 0x228]
push edx
push 0xffffffffffffffff
push esi
call fcn.0041a060
add esp, 0xc
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov edi, dword [ebp + 0x7c]
mov eax, dword [edi + 4]
or ebx, 0xffffffff
test eax, eax
mov dword [ebp + 0x78], ebx
je 0x41ef7a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41ef7a
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [eax + eax + 2]
push ecx
call fcn.00445884
mov edx, dword [edi + 4]
mov ebx, eax
push edx
push ebx
call fcn.00422250
push ebx
push esi
call fcn.00407fa0
push ebx
mov dword [ebp + 0x78], eax
call fcn.00445979
mov ebx, dword [ebp + 0x78]
add esp, 0x18
jmp 0x41ef8a
mov eax, dword [edi + 4]
test eax, eax
jne 0x41ef8a
mov ebx, dword [esi + 0x7f4]
mov dword [ebp + 0x78], ebx
mov ecx, dword [esi + 0x260]
xor edx, edx
cmp ebx, 0xffffffff
je 0x41ef9c
mov edx, ebx
lea ecx, [ebx + 1]
xor ebx, ebx
cmp edx, ecx
jge case.0x41cb60.12
mov eax, edx
imul eax, eax, 0x12c
sub ecx, edx
mov dword [ebp + 0x7c], ecx
jmp 0x41efc0
mov ecx, dword [esi + 0x25c]
mov edx, dword [edi + 0x18]
cmp dword [ecx + eax + 0x100], edx
lea ecx, [ecx + eax + 0x100]
je 0x41efe0
mov dword [ecx], edx
mov ebx, 1
mov edx, dword [esi + 0x25c]
lea ecx, [edx + eax + 0x104]
mov edx, dword [edi + 0x1c]
cmp dword [ecx], edx
je 0x41effb
mov dword [ecx], edx
mov ebx, 1
mov ecx, dword [esi + 0x25c]
mov edx, dword [edi + 8]
cmp dword [ecx + eax + 0xe4], edx
lea ecx, [ecx + eax + 0xe4]
je 0x41f01b
mov dword [ecx], edx
mov ebx, 1
mov edx, dword [esi + 0x25c]
lea ecx, [edx + eax + 0xec]
mov edx, dword [edi + 0xc]
cmp dword [ecx], edx
je 0x41f036
mov dword [ecx], edx
mov ebx, 1
mov ecx, dword [esi + 0x25c]
mov edx, dword [edi + 0x10]
cmp dword [ecx + eax + 0xe8], edx
lea ecx, [ecx + eax + 0xe8]
je 0x41f056
mov dword [ecx], edx
mov ebx, 1
mov edx, dword [esi + 0x25c]
lea ecx, [edx + eax + 0xf0]
mov edx, dword [edi + 0x14]
cmp dword [ecx], edx
je 0x41f071
mov dword [ecx], edx
mov ebx, 1
mov ecx, dword [ebp + 0x7c]
add eax, 0x12c
dec ecx
mov dword [ebp + 0x7c], ecx
jne 0x41efc0
test ebx, ebx
je case.0x41cb60.12
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp + 0x78]
push eax
push ecx
push esi
call fcn.0041a060
add esp, 0xc
jmp case.0x41cb60.20
mov ebx, dword [ebp + 0x78]
push ebx
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov esi, dword [ebp + 0x7c]
mov eax, dword [esi + 4]
test eax, eax
mov dword [ebp + 0x78], 0xffffffff
je 0x41f107
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call edi
test eax, eax
je 0x41f107
mov edx, dword [esi + 4]
push edx
call edi
lea eax, [eax + eax + 2]
push eax
call fcn.00445884
mov ecx, dword [esi + 4]
mov edi, eax
push ecx
push edi
call fcn.00422250
push edi
push ebx
call fcn.00407fa0
push edi
mov dword [ebp + 0x78], eax
call fcn.00445979
add esp, 0x18
jmp 0x41f117
mov eax, dword [esi + 4]
test eax, eax
jne 0x41f117
mov edx, dword [ebx + 0x7f4]
mov dword [ebp + 0x78], edx
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebx + 0x260]
xor edx, edx
cmp eax, 0xffffffff
je 0x41f12c
mov edx, eax
lea ecx, [eax + 1]
xor edi, edi
cmp edx, ecx
jge case.0x41cb60.12
mov eax, edx
imul eax, eax, 0x12c
sub ecx, edx
mov dword [ebp + 0x7c], ecx
test byte [esi + 8], 1
je 0x41f163
mov ecx, dword [ebx + 0x25c]
mov edx, dword [esi + 0xc]
cmp dword [ecx + eax + 0x6c], edx
lea ecx, [ecx + eax + 0x6c]
je 0x41f163
mov edi, 1
mov dword [ecx], edx
test byte [esi + 8], 2
je 0x41f181
mov edx, dword [ebx + 0x25c]
lea ecx, [edx + eax + 0x70]
mov edx, dword [esi + 0x10]
cmp dword [ecx], edx
je 0x41f181
mov edi, 1
mov dword [ecx], edx
test byte [esi + 8], 4
je 0x41f1a1
mov ecx, dword [ebx + 0x25c]
mov edx, dword [esi + 0x14]
cmp dword [ecx + eax + 0x74], edx
lea ecx, [ecx + eax + 0x74]
je 0x41f1a1
mov edi, 1
mov dword [ecx], edx
mov ecx, dword [ebp + 0x7c]
add eax, 0x12c
dec ecx
mov dword [ebp + 0x7c], ecx
jne 0x41f143
test edi, edi
je case.0x41cb60.12
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp + 0x78]
push edx
push eax
push ebx
call fcn.0041a060
add esp, 0xc
jmp case.0x41cb60.20
mov edi, dword [ebp + 0x78]
push edi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [edi + 0x7f8]
or esi, 0xffffffff
cmp eax, esi
je case.0x41cb60.12
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ecx + 4]
test eax, eax
je 0x41f23f
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call ebx
test eax, eax
je 0x41f23f
mov esi, dword [ebp + 0x7c]
mov edx, dword [esi + 4]
push edx
call ebx
lea eax, [eax + eax + 2]
push eax
call fcn.00445884
mov ecx, dword [esi + 4]
mov ebx, eax
push ecx
push ebx
call fcn.00422250
push ebx
push edi
call fcn.00407fa0
push ebx
mov esi, eax
call fcn.00445979
add esp, 0x18
jmp 0x41f24f
mov edx, dword [ebp + 0x7c]
mov eax, dword [edx + 4]
test eax, eax
jne 0x41f24f
mov esi, dword [edi + 0x7f4]
mov eax, dword [edi + 0x260]
xor ecx, ecx
cmp esi, 0xffffffff
je 0x41f261
mov ecx, esi
lea eax, [esi + 1]
cmp ecx, eax
jge 0x41f41e
mov ebx, ecx
imul ebx, ebx, 0x12c
sub eax, ecx
mov dword [ebp + 0x78], eax
jmp 0x41f280
mov eax, dword [0x492254]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41f40b
mov ecx, dword [edi + 0x25c]
mov eax, dword [ecx + ebx + 0x5c]
add ecx, ebx
cmp eax, 0xfffffffd
jne 0x41f2c9
mov eax, dword [ecx + 0x60]
cdq
and edx, 0xff
add eax, edx
mov edx, dword [ebp + 0x7c]
mov esi, dword [edx + 8]
sar eax, 8
shl eax, 8
add eax, esi
mov dword [ecx + 0x60], eax
jmp 0x41f2e0
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax + 8]
cmp eax, 0x64
jne 0x41f2dd
mov dword [ecx + 0x5c], 0xffffffff
jmp 0x41f2e0
mov dword [ecx + 0x5c], eax
mov eax, dword [edi + 0xb9c]
test eax, eax
je 0x41f2f1
push 0x466aa4
jmp 0x41f2fa
mov ecx, dword [edi + 0x25c]
add ecx, ebx
push ecx
mov ecx, dword [edi + 0xb94]
call fcn.00430340
mov esi, eax
test esi, esi
jne 0x41f317
mov edx, dword [0x492254]
push edx
jmp 0x41f405
mov eax, dword [edi + 0x25c]
lea ecx, [eax + ebx]
mov eax, dword [ecx + 0x5c]
cmp eax, 0xffffffff
je 0x41f3b3
cmp eax, 0xfffffffd
jne 0x41f395
mov eax, dword [ecx + 0x60]
cdq
and edx, 0xff
add eax, edx
mov ecx, eax
sar ecx, 8
imul ecx, ecx, 0xff
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0x25c]
mov ecx, dword [edx + ebx + 0x60]
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
shl eax, 8
sub ecx, eax
imul ecx, ecx, 0xff
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x48], eax
jmp 0x41f3c1
imul eax, eax, 0xff
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esi + 0x44], ecx
jmp 0x41f3c1
mov dword [esi + 0x44], 0xff
mov dword [esi + 0x48], 0xffffffff
mov edx, dword [esi + 0xc]
mov eax, dword [edi + 0xb94]
mov ecx, dword [eax + 0x90]
push edx
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x41f3ff
mov esi, dword [ebp - 0x228]
mov ecx, dword [edi + 0xb94]
mov eax, dword [ecx]
xor edx, edx
test esi, esi
setne dl
dec edx
and edx, 2
or edx, 1
push edx
call dword [eax + 0x54]
mov eax, dword [0x492254]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp + 0x78]
add ebx, 0x12c
dec eax
mov dword [ebp + 0x78], eax
jne 0x41f280
mov eax, dword [edi + 0xb9c]
test eax, eax
je case.0x41cb60.20
mov eax, dword [edi + 0xb8c]
cmp eax, 0xffffffff
je case.0x41cb60.20
mov edx, dword [edi + 0xb94]
mov ecx, dword [0x477868]
mov edx, dword [edx + 0x90]
imul ecx, ecx, 0x32c
mov edx, dword [edx + 0x44]
push 0
push edx
push 0x100e
lea eax, [edi + eax*4 + 0x430]
push eax
push edi
call dword [ecx + 0x480828]
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov edi, dword [ebp + 0x7c]
mov eax, dword [edi + 4]
test eax, eax
je 0x41f4d0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [eax + eax + 2]
push ecx
call fcn.00445884
mov edx, dword [edi + 4]
mov ebx, eax
push edx
push ebx
mov dword [ebp - 0x22c], ebx
call fcn.00422250
push ebx
push esi
call fcn.00407fa0
mov ebx, eax
mov eax, dword [ebp - 0x22c]
push eax
mov dword [ebp + 0x78], ebx
call fcn.00445979
add esp, 0x18
jmp 0x41f4d9
mov ebx, dword [esi + 0x7f4]
mov dword [ebp + 0x78], ebx
mov eax, dword [edi]
cmp eax, 0x10
mov edx, 1
jne 0x41f52e
cmp dword [edi + 0xc], edx
jne 0x41f52e
cmp ebx, 0xffffffff
je 0x41f509
mov ecx, dword [esi + 0x25c]
imul ebx, ebx, 0x12c
mov eax, dword [ebx + ecx + 0x78]
mov dword [edi + 8], eax
mov eax, edx
jmp 0x420107
mov eax, dword [esi + 0x7f8]
cmp eax, 0xffffffff
je 0x41f527
mov ecx, dword [esi + 0x25c]
imul eax, eax, 0x12c
mov eax, dword [eax + ecx + 0x78]
mov dword [edi + 8], eax
mov eax, edx
jmp 0x420107
cmp eax, 0xc
je case.0x41cb60.12
cmp ebx, 0xffffffff
je 0x41f579
mov ecx, dword [esi + 0x25c]
mov edi, dword [edi + 8]
mov eax, ebx
imul eax, eax, 0x12c
cmp dword [ecx + eax + 0x78], edi
lea ecx, [ecx + eax + 0x78]
je 0x41f527
mov dword [ecx], edi
mov ecx, dword [esi + 0x25c]
mov dword [ecx + eax + 0x4c], edx
mov eax, dword [ebp - 0x228]
push eax
push ebx
push esi
call fcn.0041a060
add esp, 0xc
jmp case.0x41cb60.20
mov ecx, dword [esi + 0x260]
xor eax, eax
test ecx, ecx
jle 0x41f5c1
xor ecx, ecx
jmp 0x41f590
mov edx, dword [esi + 0x25c]
mov ebx, dword [edi + 8]
mov dword [edx + ecx + 0x78], ebx
mov edx, dword [esi + 0x25c]
mov dword [edx - 0xe0], 1
mov edx, dword [esi + 0x260]
inc eax
add ecx, 0x12c
cmp eax, edx
jl 0x41f590
mov ebx, dword [ebp + 0x78]
mov eax, dword [ebp - 0x228]
push eax
push ebx
push esi
call fcn.0041a060
add esp, 0xc
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
cmp dword [esi + 0x794], 2
jne case.0x41cb60.12
mov ebx, dword [esi + 0x7f8]
cmp edi, 0x32
mov edi, dword [ebp + 0x7c]
jne 0x41f649
test edi, edi
je 0x41f664
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41f664
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [eax + eax + 2]
push ecx
call fcn.00445884
mov esi, eax
push edi
push esi
call fcn.00422250
mov edx, dword [ebp + 0x78]
push esi
push edx
call fcn.00407fa0
push esi
mov ebx, eax
call fcn.00445979
mov esi, dword [ebp + 0x78]
add esp, 0x18
jmp 0x41f664
test edi, edi
je 0x41f664
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41f664
push edi
push esi
call fcn.00407fa0
add esp, 8
mov ebx, eax
mov eax, dword [esi + 0x25c]
imul ebx, ebx, 0x12c
mov ecx, dword [ebx + eax + 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
cmp dword [esi + 0x794], 2
jne case.0x41cb60.12
cmp edi, 0x33
jne 0x41f727
mov edi, dword [ebp + 0x7c]
mov eax, dword [edi]
test eax, eax
mov ebx, dword [esi + 0x7f8]
je 0x41f6f9
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41f6f9
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax + eax + 2]
push eax
call fcn.00445884
mov ecx, dword [ebp + 0x7c]
mov edx, dword [ecx]
mov edi, eax
push edx
push edi
call fcn.00422250
push edi
push esi
call fcn.00407fa0
push edi
mov ebx, eax
call fcn.00445979
mov edi, dword [ebp + 0x7c]
add esp, 0x18
cmp ebx, 0xffffffff
je case.0x41cb60.12
mov eax, dword [esi + 0x25c]
imul ebx, ebx, 0x12c
mov ecx, dword [ebx + eax + 0xa4]
mov edx, dword [edi + 4]
push ecx
push edx
call fcn.00422210
add esp, 8
jmp case.0x41cb60.20
mov ebx, dword [ebp + 0x7c]
mov eax, dword [ebx]
test eax, eax
mov edi, dword [esi + 0x7f8]
je 0x41f74f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41f74f
mov eax, dword [ebx]
push eax
push esi
call fcn.00407fa0
add esp, 8
mov edi, eax
cmp edi, 0xffffffff
je case.0x41cb60.12
mov ecx, dword [esi + 0x25c]
imul edi, edi, 0x12c
mov edx, dword [edi + ecx + 0xa4]
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
cmp dword [esi + 0x794], 2
jne case.0x41cb60.12
mov ecx, dword [esi + 0x25c]
mov edx, dword [ecx + 0xa4]
mov eax, dword [ebp + 0x7c]
push edx
push eax
call fcn.00422210
add esp, 8
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
cmp dword [esi + 0x794], 2
jne case.0x41cb60.12
mov ecx, dword [esi + 0x25c]
mov edx, dword [ecx + 0xa4]
mov eax, dword [ebp + 0x7c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp case.0x41cb60.20
mov ecx, dword [ebp + 0x7c]
mov edx, dword [ebp + 0x78]
push ecx
push edx
push 0x1e
call fcn.0041a8b0
add esp, 0xc
jmp case.0x41cb60.20
push 0x47b848
jmp 0x41f848
push 0x47ba50
jmp 0x41f848
push 0x47b848
jmp 0x41f828
push 0x47ba50
mov esi, dword [ebp + 0x78]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x467f74
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp case.0x41cb60.20
push 0x47ae20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00422210
add esp, 8
push 0x468ea4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [ebp + 0x7c]
add esi, 0x90a
push esi
push eax
call fcn.00422210
add esp, 8
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
cmp dword [esi + 0x794], 2
jne case.0x41cb60.12
mov ecx, dword [esi + 0x25c]
mov edx, dword [ecx + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
add esi, 0x90a
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x420107
mov edi, dword [ebp + 0x78]
mov esi, dword [edi + 4]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov eax, dword [esi + 0xb94]
test eax, eax
je case.0x41cb60.12
test byte [edi + 0xc], 1
je 0x41f926
mov eax, dword [eax + 0xec]
jmp 0x420107
push 8
call fcn.00444aad
mov ecx, dword [esi + 0xb94]
mov edx, dword [ecx + 0xec]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0xb94]
mov edx, dword [edi + 8]
add esp, 4
push eax
mov dword [ecx + 0xec], edx
mov dword [eax], esi
push 8
jmp 0x41fac6
mov ebx, dword [ebp + 0x78]
push ebx
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov esi, dword [ebp + 0x7c]
mov edx, dword [0x490d6c]
mov ecx, 0xf
lea edi, [ebp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xb88]
lea eax, [ebp + 0x24]
push eax
mov dword [ebp + 0x60], edx
call fcn.0041c2c0
jmp case.0x41cb60.20
mov ebx, dword [ebp + 0x78]
push ebx
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
cmp dword [ebx + 0xb8c], 0xffffffff
je case.0x41cb60.20
mov ecx, dword [ebx + 0xb88]
mov dword [ebp + 0x78], 0
call fcn.0041a970
test eax, eax
jbe case.0x41cb60.20
mov ecx, dword [ebp + 0x78]
push ecx
mov ecx, dword [ebx + 0xb88]
call fcn.0041c220
mov edx, dword [0x477868]
mov esi, eax
imul edx, edx, 0x32c
lea eax, [ebp + 0x28]
push eax
mov ecx, 0xf
lea edi, [ebp + 0x28]
push 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xb8c]
push 0x20
lea eax, [ebx + ecx*4 + 0x430]
push eax
push ebx
call dword [edx + 0x480828]
mov esi, dword [ebp + 0x78]
mov ecx, dword [ebx + 0xb88]
inc esi
mov dword [ebp + 0x78], esi
call fcn.0041a970
cmp esi, eax
jb 0x41f9d1
jmp case.0x41cb60.20
mov ecx, dword [ebp + 0x7c]
mov edx, dword [ebp + 0x78]
push ecx
push edx
push 0x4b
call fcn.0041a8f0
add esp, 0xc
jmp 0x420107
push 0x20c
call fcn.00444aad
mov esi, eax
mov eax, dword [ebp + 0x78]
add esp, 4
test eax, eax
je 0x41fa69
push eax
push esi
call fcn.00422250
add esp, 8
jmp 0x41fa75
push 0x466680
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test ebx, ebx
mov eax, dword [ebp + 0x7c]
push esi
push 9
mov dword [esi + 0x208], eax
push 0x425
je 0x41fa9c
mov ecx, dword [0x47c354]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x41cb60.20
mov edx, dword [0x47c354]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x41cb60.20
push 8
call fcn.00444aad
mov ecx, dword [ebp + 0x78]
mov edx, dword [ebp + 0x7c]
add esp, 4
push eax
mov dword [eax], ecx
mov dword [eax + 4], edx
push 0xe
test ebx, ebx
push 0x425
jne 0x41d1f4
mov ecx, dword [0x47c354]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x41cb60.20
mov eax, dword [0x47c0fc]
xor esi, esi
test eax, eax
jle case.0x41cb60.20
mov edi, dword [ebp + 0x7c]
mov ebx, dword [ebp + 0x78]
lea ebx, [ebx]
mov edx, dword [0x47c0f8]
mov eax, dword [edx + esi*4]
push edi
push eax
call ebx
test eax, eax
je case.0x41cb60.20
mov eax, dword [0x47c0fc]
inc esi
cmp esi, eax
jl 0x41fb00
jmp case.0x41cb60.20
mov esi, dword [ebp + 0x78]
cmp dword [esi], 0x1c
jne case.0x41cb60.12
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0xc]
and ecx, 1
dec cl
neg cl
sbb ecx, ecx
inc ecx
test ebx, ebx
mov dword [ebp + 0x78], ecx
jne 0x41fbad
mov eax, dword [esi + 0x10]
test eax, eax
je 0x41fbad
push eax
lea edx, [ebp - 0x238]
push edx
mov dword [ebp - 0x238], ebx
call fcn.004223e0
mov edi, dword [0x47c0fc]
add esp, 8
dec edi
js 0x41fb9e
lea ecx, [ecx]
mov eax, dword [0x47c0f8]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x41fb91
mov edx, dword [ebp - 0x238]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41fb96
dec edi
jns 0x41fb70
jmp 0x41fb9e
mov eax, dword [0x47c0f8]
mov ebx, dword [eax + edi*4]
lea ecx, [ebp - 0x238]
push ecx
call fcn.004221f0
add esp, 4
push 0xd
call fcn.00408800
add esp, 4
test ebx, ebx
mov ecx, 7
lea edi, [ebp - 0x254]
rep movsd dword es:[edi], dword [esi]
je 0x41fc4e
mov eax, dword [ebx + 4]
test eax, eax
je 0x41fbf9
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41fbf9
mov edx, dword [ebx + 4]
push edx
lea eax, [ebp]
push eax
call fcn.00422210
lea ecx, [ebp]
add esp, 8
mov dword [ebp - 0x244], ecx
jmp 0x41fc03
mov dword [ebp - 0x244], 0
mov esi, dword [ebp + 0x78]
mov ecx, dword [ebx + 0xb94]
push esi
lea edx, [ebp - 0x254]
push edx
push 0x10000
push 0x41a2d0
call fcn.00432550
mov ecx, dword [0x47c364]
test ecx, ecx
je 0x41fc44
push esi
lea eax, [ebp - 0x254]
push eax
push 0x10000
push 0x41a310
call fcn.00432550
push esi
lea ecx, [ebp - 0x254]
push ecx
jmp 0x41fc7d
mov ecx, dword [0x47c364]
test ecx, ecx
je 0x41fc72
mov edx, dword [ebp + 0x78]
push edx
lea eax, [ebp - 0x254]
push eax
push 0x10000
push 0x41a310
call fcn.00432550
mov ecx, dword [ebp + 0x78]
push ecx
lea edx, [ebp - 0x254]
push edx
mov ecx, dword [0x4924b0]
push 0x10000
push 0x41a310
call fcn.00432550
jmp case.0x41cb60.20
mov edi, dword [ebp + 0x78]
cmp dword [edi], 0x18
jne case.0x41cb60.12
mov eax, dword [edi + 0xc]
xor edx, edx
xor esi, esi
xor ecx, ecx
mov ebx, 1
test bl, al
mov dword [ebp + 0x74], esi
mov dword [ebp + 0x7c], ecx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x228], edx
je 0x41fcd2
mov esi, ebx
mov dword [ebp + 0x74], esi
test al, 2
je 0x41fcdb
mov ecx, ebx
mov dword [ebp + 0x7c], ecx
test al, 0x10
je 0x41fce5
mov dword [ebp - 0x234], ebx
test al, 0x20
je 0x41fcef
mov dword [ebp - 0x230], ebx
test al, 0x40
je 0x41fcf9
mov dword [ebp - 0x228], ebx
cmp esi, edx
jne 0x41fd05
cmp ecx, edx
je 0x41fe10
push 0xe
call fcn.00408800
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
add esp, 4
test esi, esi
je 0x41fd8c
mov eax, dword [edi + 0x10]
push eax
lea ecx, [ebp - 0x238]
xor esi, esi
push ecx
mov dword [ebp - 0x238], esi
call fcn.004223e0
mov eax, dword [0x47c0fc]
add esp, 8
test eax, eax
jle 0x41fd7d
mov edi, 1
mov ecx, dword [ebp - 0x238]
test ecx, ecx
je 0x41fd73
mov edx, dword [0x47c0f8]
mov eax, dword [edx + esi*4]
mov eax, dword [eax + 8]
test eax, eax
je 0x41fd73
push eax
push ecx
call ebx
test eax, eax
jne 0x41fd73
mov ecx, dword [0x47c0f8]
mov edx, dword [ecx + esi*4]
mov dword [edx + 0xb60], edi
mov eax, dword [0x47c0fc]
inc esi
cmp esi, eax
jl 0x41fd42
lea eax, [ebp - 0x238]
push eax
call fcn.004221f0
add esp, 4
mov eax, dword [ebp + 0x7c]
test eax, eax
je 0x41fdfa
mov ecx, dword [ebp + 0x78]
mov edx, dword [ecx + 0x14]
push edx
lea eax, [ebp + 0x24]
push eax
call fcn.00422250
mov edi, dword [0x47c0fc]
add esp, 8
xor esi, esi
test edi, edi
jle 0x41fe00
jmp 0x41fdc0
mov ecx, dword [0x47c0f8]
mov edx, dword [ecx + esi*4]
add edx, 0x214
push edx
lea eax, [ebp + 0x24]
push eax
call ebx
test eax, eax
jne 0x41fded
mov ecx, dword [0x47c0f8]
mov edx, dword [ecx + esi*4]
mov dword [edx + 0xb60], 1
mov edi, dword [0x47c0fc]
inc esi
cmp esi, edi
jl 0x41fdc0
jmp 0x41fe00
mov edi, dword [0x47c0fc]
mov eax, dword [ebp + 0x74]
test eax, eax
jne 0x41fe3b
mov eax, dword [ebp + 0x7c]
test eax, eax
jne 0x41fe3b
jmp 0x41fe16
mov edi, dword [0x47c0fc]
xor eax, eax
test edi, edi
jle 0x41fe3b
mov ecx, 1
mov edx, dword [0x47c0f8]
mov edx, dword [edx + eax*4]
mov dword [edx + 0xb60], ecx
mov edi, dword [0x47c0fc]
inc eax
cmp eax, edi
jl 0x41fe21
mov ebx, dword [ebp + 0x78]
mov eax, dword [ebx + 0xc]
and eax, 0xf0
cmp al, 0xf0
je 0x41feb9
xor esi, esi
test edi, edi
jle 0x41feb9
mov ecx, dword [0x47c0f8]
mov ecx, dword [ecx + esi*4]
mov eax, dword [ecx + 0xb60]
test eax, eax
je 0x41feb1
mov eax, dword [ecx + 0x794]
xor edx, edx
test eax, eax
jne 0x41fe7e
mov ebx, dword [ebp - 0x234]
test ebx, ebx
je 0x41fe7e
mov edx, 1
cmp eax, 2
jne 0x41fe92
mov ebx, dword [ebp - 0x230]
test ebx, ebx
je 0x41fe92
mov edx, 1
cmp eax, 3
jne 0x41fea1
mov eax, dword [ebp - 0x228]
test eax, eax
jne 0x41feb1
test edx, edx
jne 0x41feb1
mov dword [ecx + 0xb60], edx
mov edi, dword [0x47c0fc]
inc esi
cmp esi, edi
jl 0x41fe50
mov ebx, dword [ebp + 0x78]
xor esi, esi
test edi, edi
jle case.0x41cb60.20
jmp 0x41fed0
mov edx, dword [0x47c0f8]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + 0xb60]
test ecx, ecx
je 0x41fef9
mov ecx, dword [ebx + 8]
push ecx
push eax
call dword [ebx + 4]
test eax, eax
je case.0x41cb60.20
mov edi, dword [0x47c0fc]
inc esi
cmp esi, edi
jl 0x41fed0
jmp case.0x41cb60.20
push 0x14
call fcn.00444aad
mov edx, dword [ebp + 0x78]
mov esi, dword [edx]
mov ecx, eax
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov esi, dword [edx + 0xc]
add esp, 4
push eax
mov dword [ecx + 0xc], esi
mov edx, dword [edx + 0x10]
push 0xb
mov dword [ecx + 0x10], edx
mov eax, dword [0x47c354]
push 0x425
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x420107
cmp edi, 0x138b
ja 0x4200bd
je 0x420076
cmp edi, 0xfa7
ja 0x42001c
je 0x42000a
sub edi, 0xfa3
je case.0x41cb60.12
dec edi
jne case.0x41cb60.12
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 0x78]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [ebp + 0x7c], eax
mov ebx, 0x416
push 0x4bf
call dword [sym.imp.USER32.dll_GetQueueStatus]
test eax, eax
je 0x41fff0
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x254]
push ecx
call esi
cmp dword [ebp - 0x250], ebx
je case.0x41cb60.20
lea edx, [ebp - 0x254]
push edx
call fcn.00420680
add esp, 4
test eax, eax
jne 0x41fff8
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x254]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x41fff8
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x7c]
cmp eax, edi
jbe 0x41ff95
jmp case.0x41cb60.20
mov ecx, dword [0x4924cc]
xor eax, eax
test ecx, ecx
setg al
jmp 0x420107
cmp edi, 0x138a
jne case.0x41cb60.12
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
mov ecx, dword [ebp + 0x7c]
test ecx, ecx
mov eax, 1
jne 0x420061
mov dword [esi + 0xb90], 4
mov dword [esi + 0xb84], 0
jmp 0x420107
mov dword [esi + 0xb90], 2
mov dword [esi + 0xb84], eax
jmp 0x420107
mov esi, dword [ebp + 0x78]
push esi
call fcn.00408720
add esp, 4
test eax, eax
je case.0x41cb60.12
cmp dword [esi + 0x794], 3
jne case.0x41cb60.12
fld dword [esi + 0x7a4]
fadd dword [0x468ea0]
fstp dword [esi + 0x7a4]
fld dword [esi + 0x7a8]
fadd dword [0x468ea0]
fstp dword [esi + 0x7a8]
jmp case.0x41cb60.20
sub edi, 0x138c
je 0x4200eb
dec edi
je 0x4200e4
sub edi, 0x3e4
jne case.0x41cb60.12
mov edx, dword [ebp + 0x78]
mov dword [edx], 0
mov eax, dword [0x47c354]
jmp 0x420107
call fcn.00408930
jmp case.0x41cb60.20
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x78]
push 0x20
push 0x477798
push eax
push ecx
call fcn.0040e540
add esp, 0x10
mov eax, 1
lea esp, [ebp - 0x278]
mov ecx, dword [ebp + 0x68]
call fcn.00444c27
pop edi
pop esi
pop ebx
add ebp, 0x6c
mov esp, ebp
pop ebp
ret 0xc