Function at 0x40eca0
Capabilities:
Check for time delay via gettickcount
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 0x1c]
mov eax, 0x7fff
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], eax
push edi
mov di, word [ebp + 0x14]
movzx edx, di
cmp esi, 0xffc3d44f
je 0x40ece7
cmp esi, 0xffc3d44e
je 0x40ece7
mov byte [esp + 0x17], 0
cmp esi, 0xffc3d44d
jne 0x40ecec
mov byte [esp + 0x17], 1
mov ecx, dword [0x4d9990]
mov ebx, dword [ebp + 0x10]
test ecx, ecx
jne 0x40ed06
lea eax, [esp + 0x50]
mov dword [esp + 0x10], eax
jmp 0x40edb5
mov eax, dword [0x4d9a04]
imul esi, eax, 0x70
inc eax
add esi, ecx
xor ecx, ecx
cmp eax, dword [0x4d70f8]
mov dword [esp + 0x10], esi
cmovge eax, ecx
mov dword [0x4d9a04], eax
mov eax, dword [ebp + 0x18]
mov byte [esi], bl
mov byte [esi + 5], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [0x4d9a00], eax
sub ecx, dword [0x4dc278]
mov dword [0x4dc278], eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4d0b80]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4d0acc]
movss dword [esi + 8], xmm0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xc
test esi, esi
je 0x40ed9f
cmp esi, dword [0x4d99fc]
je 0x40ed9a
push esi
push eax
push 0x418
push dword [0x4d9978]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x40eda5
mov byte [eax], 0
jmp 0x40eda5
mov dword [eax], 0x412f4e
mov eax, dword [esp + 0x10]
mov dword [0x4d99fc], esi
mov esi, dword [ebp + 0x1c]
movzx edx, di
cmp bl, 0xe7
jne 0x40edf9
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0x7fff
push edx
push esi
push dword [ebp + 0x18]
mov ax, word [ecx + 4]
push 0
push 0xe7
push ecx
mov ecx, dword [esp + 0x34]
mov word [edx + 2], ax
mov byte [edx + 4], 0x55
push dword [ebp + 8]
mov edx, dword [esp + 0x48]
call fcn.00410750
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov word [eax + 2], di
mov cl, 3
mov edi, dword [esp + 0x18]
mov al, bl
add al, 0x64
cmp cl, al
sbb eax, eax
and eax, edx
movzx eax, ax
mov dword [esp + 0x20], eax
mov eax, 0x20
cmp edi, dword [0x4d9994]
jne 0x40ee4d
mov cl, byte [ebp + 0x20]
mov edx, dword [ebp + 0x18]
and cl, 1
mov dword [esp + 0x30], ecx
jne 0x40eed2
movzx ecx, bl
mov al, dl
xor al, 1
shl al, 7
mov byte [ecx + 0x4da2e8], al
mov ecx, dword [esp + 0x30]
jmp 0x40eecd
mov ecx, dword [ebp + 0x20]
mov edx, dword [0x4dc2d8]
movzx esi, bl
shr ecx, 4
and ecx, 0xffffff01
mov dword [esp + 0x30], ecx
lea eax, [esi + esi*4]
cmp byte [edx + eax*4 + 8], 0
jne 0x40eeca
test byte [ebp + 0x20], 0x10
jne 0x40eeca
cmp bl, 0xa0
je 0x40ee80
cmp bl, 0xa1
jne 0x40eea4
mov edx, dword [ebp + 0x18]
test dl, dl
jne 0x40eea4
cmp bl, 0xa0
mov dword [esp + 0x40], 0x10
mov eax, 0x20
cmove eax, dword [esp + 0x40]
test byte [0x4da2d7], al
jne 0x40eecd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [0x4dc280], eax
mov dword [0x4dc27c], eax
mov al, dl
xor al, 1
shl al, 7
mov byte [esi + 0x4da2e8], al
jmp 0x40eecd
mov edx, dword [ebp + 0x18]
mov eax, 0x20
cmp byte [esp + 0x17], 0
je 0x40eedd
mov al, 0x69
jmp 0x40eee7
test cl, cl
mov esi, 0x61
cmovne eax, esi
cmp byte [0x4da2d5], 0
mov ecx, dword [esp + 0x10]
lea esi, [ecx + 4]
mov byte [esi], al
mov dword [esp + 0x3c], esi
je 0x40ef34
cmp bl, 0x5b
je 0x40ef07
cmp bl, 0x5c
jne 0x40ef34
test dl, dl
jne 0x40ef34
mov edx, dword [ebp + 0x1c]
push 0
push SysReAllocString
push 0x7fff
push ecx
push edx
mov edx, dword [ebp + 0xc]
push 0
push ecx
mov ecx, edi
push ebx
call fcn.00410600
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4dc2ca], 0
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
je 0x40efed
cmp bl, 0x1b
jne 0x40efed
test dl, dl
jne 0x40efed
push 0
push str.32771
call esi
test eax, eax
je 0x40efed
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
jne 0x40efe7
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
xor ecx, ecx
call fcn.0041a670
mov dl, byte [0x4da2e6]
mov ecx, 1
push 0xffc3d44d
shr dl, 3
push 0
and dl, 1
push 0
push 0
or dl, 0xa4
call fcn.0041a670
mov edx, dword [esp + 0x30]
add esp, 0x20
push 0
push SysReAllocString
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
push 0
push ecx
push 0x1b
mov ecx, edi
call fcn.00410600
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
mov eax, dword [esp + 0x20]
movzx eax, ax
mov dword [esp + 0x30], eax
lea ecx, [eax + eax*4]
mov eax, dword [0x4dc2dc]
lea edi, [eax + ecx*4]
mov eax, dword [esp + 0x18]
mov cl, byte [edi + 0x13]
mov byte [esp + 0x16], cl
cmp eax, dword [0x4d9998]
jne 0x40f01a
test cl, cl
jne 0x40f02d
mov ecx, dword [0x4dc2d8]
movzx eax, bl
lea eax, [eax + eax*4]
lea edi, [ecx + eax*4]
mov eax, dword [esp + 0x18]
cmp byte [esp + 0x17], 0
je 0x40f08e
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
cmp ecx, 0xffc3d44e
jne 0x40f060
test al, al
je 0x40f060
cmp dword [0x4da434], edi
jne 0x40f060
mov byte [edi + 0xd], 0
mov byte [edi + 0x10], 0
mov dword [0x4da434], 0
mov edx, dword [esp + 0x10]
push 0x7fff
push edx
push ecx
push eax
mov ecx, dword [esp + 0x28]
push dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00410750
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x18]
mov edx, 0x7fff
mov dword [esp + 0x40], edx
test cl, cl
jne 0x40f0a5
mov byte [edi + 0x11], cl
mov word [edi + 4], dx
cmp eax, dword [0x4d9994]
jne 0x40f115
test bl, bl
jne 0x40f0e1
mov edx, dword [esp + 0x10]
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [esp + 0x34]
push ecx
push dword [esp + 0x30]
mov ecx, eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00410750
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp bl, 1
je 0x40f0eb
cmp bl, 2
jne 0x40f115
cmp dword [0x4d9948], 0
jne 0x40f13f
push 0
push str.32768
call esi
test eax, eax
je 0x40f112
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4dba60]
je 0x40f13c
mov ecx, dword [ebp + 0x18]
mov eax, dword [0x4da434]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x40f174
cmp eax, edi
je 0x40f174
test cl, cl
jne 0x40f174
cmp esi, dword [0x4d9998]
jne 0x40f15e
xor eax, eax
cmp byte [edi + 8], al
sete al
jmp 0x40f167
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x10]
mov al, cl
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
xor al, 1
push edx
mov byte [edi + 0x10], 0
mov byte [edi + 0xd], al
push ecx
jmp 0x40f06c
mov eax, dword [0x4da434]
movzx eax, byte [eax + 8]
test eax, eax
je 0x40f174
mov eax, dword [0x4da434]
mov byte [eax + 0x12], 1
cmp byte [edi + 9], 0
jne 0x40f19d
cmp byte [edi + 0xa], 0
jne 0x40f19d
mov edx, dword [esp + 0x10]
mov al, cl
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
xor al, 1
push edx
push ecx
mov byte [edi + 0xd], al
mov ecx, esi
jmp 0x40f070
mov dword [esp + 0x34], 0
mov eax, 0x7fff
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
test cl, cl
je 0x40f1e4
mov dh, byte [edi + 0x10]
mov al, byte [edi + 0xd]
mov byte [esp + 0xf], al
movzx eax, word [edi + 4]
mov byte [esp + 0xe], dh
mov edx, 0x7fff
mov byte [edi + 0x10], 0
cmp ax, dx
je 0x40f1f4
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov word [edi + 4], dx
jmp 0x40f1f4
mov al, byte [esp + 0xf]
mov byte [esp + 0xf], al
mov al, byte [esp + 0xf]
mov byte [esp + 0xe], al
mov al, cl
xor dl, dl
xor al, 1
mov byte [edi + 0xd], al
cmp esi, dword [0x4d9998]
jne 0x40f273
cmp byte [edi + 8], dl
je 0x40f28f
mov eax, dword [0x4dc2d8]
cmp byte [eax + 0xcb5], dl
jne 0x40f227
cmp byte [eax + 0xcc9], dl
jne 0x40f227
xor cl, cl
jmp 0x40f229
mov cl, 1
cmp byte [eax + 0xcdd], 0
mov byte [eax + 0x161], cl
jne 0x40f245
cmp byte [eax + 0xcf1], 0
jne 0x40f245
xor cl, cl
jmp 0x40f247
mov cl, 1
cmp byte [eax + 0xc8d], 0
mov byte [eax + 0x175], cl
jne 0x40f269
cmp byte [eax + 0xca1], 0
jne 0x40f269
xor cl, cl
mov byte [eax + 0x14d], cl
jmp 0x40f28f
mov cl, 1
mov byte [eax + 0x14d], cl
jmp 0x40f28f
cmp dword [0x4d9998], 0
jne 0x40f28f
mov cl, 1
call fcn.0041d100
mov byte [0x4da2e5], al
mov dl, 1
mov byte [0x4da2e6], al
mov eax, dword [edi]
test eax, eax
je 0x40f29f
cmp dword [eax], 7
mov byte [esp + 0x17], 1
je 0x40f2a4
mov byte [esp + 0x17], 0
test dl, dl
jne 0x40f2af
mov cl, 1
call fcn.0041d100
mov cl, byte [edi + 9]
mov eax, dword [ebp + 0x18]
test cl, cl
je 0x40f540
test al, al
jne 0x40f540
mov eax, dword [0x4da434]
test eax, eax
je 0x40f2dc
cmp byte [edi + 0xa], 0
je 0x40f2dc
cmp edi, eax
jne 0x40f53d
cmp cl, 1
jne 0x40f38d
cmp byte [esp + 0x16], 0
mov ecx, dword [esp + 0x30]
jne 0x40f2f3
movzx ecx, bl
xor edx, edx
movzx eax, cx
cmp byte [esp + 0x16], dl
mov dword [esp + 0x38], ecx
cmovne edx, eax
movzx eax, cl
xor ecx, ecx
cmp byte [esp + 0x16], cl
push 0
cmovne eax, ecx
mov cl, al
call fcn.0041d310
mov ch, al
xor edx, edx
xor eax, eax
mov byte [esp + 0x23], ch
add esp, 4
mov dword [esp + 0x44], edx
cmp ax, word [0x4da464]
jae 0x40f475
mov cl, byte [0x4d99f8]
nop dword [eax]
cmp byte [esp + 0x16], 0
mov eax, dword [0x4da454]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x4c], edx
je 0x40f359
movzx eax, word [edx + 0xa]
jmp 0x40f35d
movzx eax, byte [edx + 0x11]
cmp dword [esp + 0x38], eax
je 0x40f36c
test byte [edx + 0xe], ch
je 0x40f459
cmp word [edx + 6], 0
je 0x40f3f8
cmp byte [edx + 0x19], 0
je 0x40f459
test cl, cl
jne 0x40f459
mov esi, dword [esp + 0x18]
xor dl, dl
cmp edi, dword [0x4da434]
je 0x40f3a0
mov dword [0x4da434], edi
mov byte [edi + 0x12], dl
cmp byte [edi + 0xa], 0
je 0x40f4c3
mov al, byte [edi + 8]
mov cl, byte [0x4da2e5]
test al, al
je 0x40f3bb
not al
and cl, al
test cl, cl
jne 0x40f3cd
test dl, dl
jne 0x40f3cd
test byte [edi + 0xc], 1
je 0x40f4c3
cmp esi, dword [0x4d9998]
jne 0x40f47c
cmp byte [esp + 0x16], 0
je 0x40f47c
mov eax, dword [0x4dc2d0]
movzx ecx, cl
shl ecx, 9
add ecx, dword [esp + 0x30]
jmp 0x40f48c
mov esi, dword [edx + 0x20]
mov eax, esi
test eax, eax
je 0x40f459
cmp byte [eax + 0x1c], 0
jne 0x40f410
mov eax, dword [eax + 8]
test eax, eax
jne 0x40f401
jmp 0x40f459
cmp byte [esi + 0x1c], 0
je 0x40f44e
test cl, cl
je 0x40f429
mov ecx, esi
call fcn.0049da70
test al, al
je 0x40f444
mov edx, dword [esp + 0x4c]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40f389
mov edx, dword [edx + 0x1c]
call fcn.00413770
test eax, eax
jne 0x40f389
mov cl, byte [0x4d99f8]
mov edx, dword [esp + 0x4c]
mov esi, dword [esi + 8]
test esi, esi
jne 0x40f410
mov ch, byte [esp + 0x1f]
mov edx, dword [esp + 0x44]
movzx eax, word [0x4da464]
inc edx
mov dword [esp + 0x44], edx
cmp edx, eax
jl 0x40f340
mov esi, dword [esp + 0x18]
mov dl, 1
jmp 0x40f3a0
movzx ecx, cl
movzx eax, bl
shl ecx, 8
add ecx, eax
mov eax, dword [0x4dc2cc]
movzx eax, word [eax + ecx*2]
movzx ecx, ax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
test ax, ax
jns 0x40f4a6
mov word [edi + 4], ax
jmp 0x40f4cf
and eax, 0x7fff
cmp ax, word [0x4da464]
jae 0x40f4c3
mov ecx, eax
mov eax, dword [0x4dc2d4]
mov ax, word [eax + ecx*2]
mov word [edi + 4], ax
mov eax, 0x7fff
cmp word [esp + 0x24], ax
jne 0x40f53d
test dl, dl
je 0x40f4de
mov eax, dword [esp + 0x3c]
or byte [edi + 0xc], 8
mov byte [eax], 0x23
cmp byte [edi + 8], 0
jne 0x40f526
test byte [edi + 0xc], 1
jne 0x40f526
cmp byte [esp + 0x17], 0
jne 0x40f526
test dl, dl
jne 0x40f526
mov edx, dword [esp + 0x10]
push 0
push SysReAllocString
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
push 0
push ecx
mov ecx, esi
mov byte [edi + 0x11], 1
push ebx
call fcn.00410600
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
push edx
push 0
jmp 0x40f070
mov eax, dword [ebp + 0x18]
cmp byte [edi + 0xa], 0
mov byte [esp + 0x1f], 0
je 0x40f5da
test al, al
je 0x40f5da
mov ch, byte [esp + 0xe]
cmp dword [0x4da434], edi
jne 0x40f571
test ch, ch
je 0x40f5da
mov dword [0x4da434], 0
cmp byte [edi + 0xb], 0
jne 0x40f5d5
mov cl, byte [edi + 0xc]
test cl, 8
je 0x40f589
xor dl, dl
and cl, 0xf7
mov byte [edi + 0xc], cl
jmp 0x40f58b
mov dl, 1
test ch, ch
je 0x40f5bf
test dl, dl
je 0x40f5bf
mov edx, dword [esp + 0x10]
push 0
push SysReAllocString
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
mov ecx, esi
push ebx
call fcn.00410600
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
push edx
push eax
jmp 0x40f070
mov byte [esp + 0x1f], 1
cmp byte [edi + 9], 0
je 0x40f7b0
test al, al
je 0x40f7b0
mov eax, dword [0x4da434]
xor ecx, ecx
cmp eax, edi
cmove eax, ecx
mov dword [0x4da434], eax
cmp byte [edi + 0xe], cl
je 0x40f61c
push 0xffc3d44d
push ecx
push ecx
mov byte [edi + 0xe], cl
mov dl, 0x12
push ecx
mov ecx, 1
call fcn.0041a670
add esp, 0x10
cmp byte [edi + 0xf], 0
je 0x40f640
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
mov byte [edi + 0xf], 0
mov ecx, 1
call fcn.0041a670
add esp, 0x10
mov edx, dword [esp + 0x24]
mov eax, 0x7fff
cmp dx, ax
jne 0x40f672
mov al, byte [edi + 0xc]
test al, 8
je 0x40f672
and al, 0xf7
mov byte [edi + 0xc], al
mov edx, dword [esp + 0x10]
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
mov ecx, esi
push edx
push dword [ebp + 0x18]
jmp 0x40f070
mov cl, byte [esp + 0x17]
mov al, byte [edi + 0x12]
test cl, cl
je 0x40f702
cmp al, 2
jne 0x40f6e6
mov edi, dword [esp + 0x20]
mov dl, bl
push 0xffc3d44e
push 0
push 0
push edi
mov ecx, 1
call fcn.0041a670
push 0xffc3d44d
push 0
push 0
push edi
mov dl, bl
mov ecx, 2
call fcn.0041a670
mov edx, dword [esp + 0x30]
add esp, 0x20
push 0
push SysReAllocString
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
push edx
push dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, esi
push ebx
call fcn.00410600
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 1
jne 0x40f74e
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
push edx
push dword [ebp + 0x18]
jmp 0x40f070
test al, al
je 0x40f74e
mov eax, 0x7fff
cmp dx, ax
jne 0x40f74e
cmp byte [edi + 8], 0
jne 0x40f65a
test byte [edi + 0xc], 1
mov edx, dword [esp + 0x10]
jne 0x40f65e
push 0
push SysReAllocString
push eax
push edx
mov edx, dword [ebp + 0x1c]
push edx
push dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, esi
push ebx
call fcn.00410600
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0xa], 0
jne 0x40f79e
cmp byte [edi + 8], 0
jne 0x40f65a
test byte [edi + 0xc], 1
jne 0x40f65a
test cl, cl
jne 0x40f65a
mov edx, dword [esp + 0x10]
push 0
push SysReAllocString
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
push edx
push dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, esi
push ebx
call fcn.00410600
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0xf], 0
jne 0x40f7b4
cmp byte [edi + 0xb], 0
jne 0x40f7b4
jmp 0x40f65a
mov edx, dword [esp + 0x24]
cmp dword [0x4da434], 0
mov byte [esp + 0xe], 0
je 0x40fbab
mov ecx, dword [ebp + 0x18]
test cl, cl
je 0x40f7d7
cmp byte [edi + 0xb], 0
je 0x40fbab
mov eax, 0x7fff
cmp dx, ax
jne 0x40ff09
movzx eax, word [edi + 6]
xor esi, esi
mov dword [esp + 0x38], eax
cmp ax, word [esp + 0x40]
je 0x40f9a9
mov ecx, eax
nop dword [eax]
mov eax, dword [0x4da454]
movzx ecx, cx
mov edx, dword [eax + ecx*4]
mov al, byte [edx + 0x11]
test al, al
jne 0x40f858
cmp word [edx + 0xa], 0
je 0x40f895
movzx eax, word [edx + 0xc]
mov dword [esp + 0x38], eax
movzx eax, word [edx + 0xa]
lea ecx, [eax + eax*4]
mov eax, dword [0x4dc2dc]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x38]
cmp byte [eax + 0xd], 0
je 0x40f883
cmp byte [edx + 0x16], 0
je 0x40f878
cmp byte [ebp + 0x18], 0
jne 0x40f893
mov ax, word [edx + 4]
mov word [edi + 4], ax
test esi, esi
jne 0x40f89d
jmp 0x40f883
movzx ecx, word [edx + 0xc]
mov dword [esp + 0x38], ecx
test al, al
je 0x40f825
mov ebx, dword [0x4dc2d8]
movzx eax, al
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
mov ebx, dword [ebp + 0x10]
jmp 0x40f838
cmp byte [ebp + 0x18], 0
jne 0x40f883
test esi, esi
cmove esi, edx
mov eax, 0x7fff
cmp cx, ax
jne 0x40f800
jmp 0x40f895
mov esi, edx
test esi, esi
je 0x40f9a2
movzx ecx, byte [esi + 0x11]
cmp ecx, 0x12
ja case.0x40f8b1.1
movzx eax, byte [ecx + 0x4105cc]
jmp dword [eax*4 + 0x4105b8]
mov ecx, dword [0x4dc2d8]
mov eax, 0xc80
mov edx, 0xc94
cmp byte [ecx + 0xca1], 0
cmovne eax, edx
add eax, ecx
jmp 0x40f92f
mov ecx, dword [0x4dc2d8]
mov eax, 0xca8
mov edx, 0xcbc
cmp byte [ecx + 0xcc9], 0
cmovne eax, edx
add eax, ecx
jmp 0x40f92f
mov ecx, dword [0x4dc2d8]
mov eax, 0xcd0
mov edx, 0xce4
cmp byte [ecx + 0xcf1], 0
cmovne eax, edx
add eax, ecx
jmp 0x40f92f
movzx eax, word [esi + 0xa]
lea ecx, [eax + eax*4]
mov eax, dword [0x4dc2dc]
lea eax, [eax + ecx*4]
jmp 0x40f92f
lea eax, [ecx + ecx*4]
mov ecx, dword [0x4dc2d8]
lea eax, [ecx + eax*4]
mov dword [0x4da434], eax
movzx eax, word [esi + 6]
test ax, ax
je 0x40f945
mov edx, eax
mov dword [esp + 0x2c], edx
jmp 0x40f98d
movzx eax, word [esi + 4]
lea ecx, [esp + 0x2c]
mov esi, dword [ebp + 0x1c]
mov dl, byte [ebp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x12]
push eax
lea eax, [edi + 0xc]
push eax
push esi
call fcn.00414240
add esp, 0x10
mov dword [esp + 0x34], eax
test eax, eax
jne 0x40f989
mov edx, dword [esp + 0x10]
push 0x7fff
push edx
push esi
push dword [ebp + 0x18]
jmp 0x40f06c
mov edx, dword [esp + 0x2c]
mov eax, dword [0x4da434]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x24], edx
movzx esi, dx
mov byte [eax + 0x12], 2
jmp 0x40f9ad
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
mov eax, 0x7ffe
cmp si, ax
je 0x40f9c5
mov eax, 0x7ffd
cmp si, ax
jne 0x40fbab
test cl, cl
jne 0x40f9cd
mov byte [edi + 0x10], 1
test byte [0x4da2e6], 0xc
jne 0x40f9f0
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x12
xor ecx, ecx
call fcn.0041a670
mov ecx, dword [ebp + 0x18]
add esp, 0x10
cmp bl, 0xa2
je 0x40f9fa
cmp bl, 0xa3
jne 0x40fa1a
test cl, cl
jne 0x40fa1a
push 0xffc3d44d
push 0
push 0
push dword [esp + 0x2c]
mov dl, bl
mov ecx, 1
call fcn.0041a670
add esp, 0x10
mov eax, dword [0x4da434]
mov byte [eax + 0xe], 1
mov eax, 0x7ffd
cmp si, ax
jne 0x40fa5b
test byte [0x4da2e6], 0x30
jne 0x40fa4d
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
xor ecx, ecx
call fcn.0041a670
add esp, 0x10
mov eax, dword [0x4da434]
mov byte [eax + 0xf], 1
jmp 0x40fad7
mov eax, 0x7ffe
cmp si, ax
jne 0x40fad7
cmp bl, 0xa0
je 0x40fa6f
cmp bl, 0xa1
jne 0x40fa91
cmp byte [ebp + 0x18], 0
jne 0x40fa91
push 0xffc3d44d
push 0
push 0
push dword [esp + 0x2c]
mov dl, bl
mov ecx, 1
call fcn.0041a670
add esp, 0x10
test byte [0x4da2e6], 0x10
je 0x40fab4
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0xa0
mov ecx, 1
call fcn.0041a670
add esp, 0x10
test byte [0x4da2e6], 0x20
je 0x40fad7
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0xa1
mov ecx, 1
call fcn.0041a670
add esp, 0x10
test byte [0x4da2e6], 1
je 0x40fafa
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0xa2
mov ecx, 1
call fcn.0041a670
add esp, 0x10
test byte [0x4da2e6], 2
je 0x40fb1d
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0xa3
mov ecx, 1
call fcn.0041a670
add esp, 0x10
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 9
mov ecx, 2
call fcn.0041a670
mov eax, 0x7ffd
add esp, 0x10
cmp si, ax
jne 0x40fb7e
mov eax, dword [0x4da434]
cmp byte [eax + 0xf], 0
je 0x40fb7e
cmp bl, 0x60
jb 0x40fb56
cmp bl, 0x69
jbe 0x40fb5b
cmp bl, 0x6e
jne 0x40fb7e
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
mov ecx, 1
call fcn.0041a670
mov eax, dword [0x4da434]
add esp, 0x10
mov byte [eax + 0xf], 0
mov eax, dword [esp + 0x3c]
mov byte [eax], 0x68
mov eax, dword [ebp + 0x18]
test al, al
jne 0x40fb90
mov byte [edi + 0x11], 1
mov edx, dword [esp + 0x10]
push 0
push SysReAllocString
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
push edx
push eax
jmp 0x41059e
mov eax, 0x7fff
cmp dx, ax
jne 0x40ff06
mov al, byte [edi + 8]
mov dl, byte [0x4da2e5]
test al, al
je 0x40fbca
not al
and dl, al
mov eax, dword [esp + 0x18]
mov dh, byte [esp + 0x16]
cmp eax, dword [0x4d9998]
jne 0x40fbfa
test dh, dh
je 0x40fbfa
mov eax, dword [0x4dc2d0]
movzx ecx, dl
shl ecx, 9
add ecx, dword [esp + 0x30]
movzx eax, word [eax + ecx*2]
movzx ecx, bl
mov dword [esp + 0x44], ecx
jmp 0x40fc12
movzx eax, bl
movzx ecx, dl
shl ecx, 8
mov dword [esp + 0x44], eax
add ecx, eax
mov eax, dword [0x4dc2cc]
movzx eax, word [eax + ecx*2]
movzx ecx, ax
movzx esi, ax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
mov ecx, esi
cmp ax, word [esp + 0x40]
jne 0x40fca7
cmp byte [0x4dc2ca], 0
je 0x40fca7
cmp bl, 9
je 0x40fca7
mov eax, dword [esp + 0x18]
and dl, 0xf3
cmp eax, dword [0x4d9998]
jne 0x40fc5f
test dh, dh
je 0x40fc5f
mov eax, dword [0x4dc2d0]
movzx ecx, dl
shl ecx, 9
add ecx, dword [esp + 0x30]
jmp 0x40fc6e
mov eax, dword [0x4dc2cc]
movzx ecx, dl
shl ecx, 8
add ecx, dword [esp + 0x44]
movzx eax, word [eax + ecx*2]
mov esi, 0x7ff9
movzx edx, ax
movzx ecx, ax
and eax, 0x7fff
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edx
cmp ax, si
jbe 0x40fe85
mov esi, 0x7fff
cmp ax, si
jb 0x40fcab
mov ecx, dword [ebp + 0x18]
mov edx, esi
jmp 0x40fe36
mov edx, dword [esp + 0x24]
movzx eax, cx
mov ecx, dword [ebp + 0x18]
test ax, ax
jns 0x40fd9f
test cl, cl
jne 0x40fe22
mov ah, byte [0x4da2e5]
mov al, ah
mov word [edi + 4], dx
and al, 0xc0
movzx ecx, al
mov al, ah
neg ecx
sbb ecx, ecx
and ecx, 8
mov edx, ecx
or edx, 1
and al, 0xc
mov al, ah
cmove edx, ecx
mov ecx, edx
or ecx, 4
and al, 0x30
mov al, ah
cmove ecx, edx
movzx edx, word [edi + 6]
mov esi, ecx
or esi, 2
and al, 3
mov eax, 0x7fff
cmove esi, ecx
cmp dx, ax
je 0x40fd70
nop dword [eax]
mov eax, dword [0x4da454]
movzx ecx, dx
mov ecx, dword [eax + ecx*4]
cmp byte [ecx + 0x15], 0
movzx edx, word [ecx + 0xc]
jne 0x40fd36
movzx eax, byte [ecx + 0xf]
mov ebx, dword [ebp + 0x10]
not eax
test byte [0x4da2e5], al
jne 0x40fd66
cmp byte [ecx + 0x16], 0
jne 0x40fd66
cmp byte [ecx + 0x11], 0
jne 0x40fd66
cmp word [ecx + 0xa], 0
jne 0x40fd66
cmp word [ecx + 6], 0
jne 0x40fd66
mov eax, esi
not eax
test dword [ecx], eax
jne 0x40fd66
movzx eax, byte [0x4da2e5]
not eax
test byte [ecx + 0xe], al
je 0x40fd88
mov eax, 0x7fff
cmp dx, ax
jne 0x40fd10
mov ecx, dword [ebp + 0x18]
mov eax, 0x7fff
movzx edx, ax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edx
jmp 0x40fe26
movzx eax, word [ecx + 4]
mov ecx, dword [ebp + 0x18]
movzx edx, ax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edx
jmp 0x40fe26
mov edx, 0x7fff
cmp ax, dx
je 0x40fe36
and eax, edx
test cl, cl
je 0x40fe64
cmp ax, word [0x4da464]
jae 0x40fe1b
mov esi, eax
mov eax, dword [0x4dc2d4]
cmp word [eax + esi*2], dx
je 0x40fe1b
cmp byte [esp + 0x1f], 0
jne 0x40fe08
push dword [esp + 0x3c]
mov edx, dword [ebp + 0x1c]
lea eax, [esp + 0x12]
push eax
lea eax, [edi + 0xc]
push eax
push edx
mov dl, cl
lea ecx, [esp + 0x3c]
call fcn.00414240
mov ecx, dword [ebp + 0x18]
add esp, 0x10
mov dword [esp + 0x34], eax
test eax, eax
je 0x40fe08
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
jmp 0x40fe26
mov eax, dword [0x4dc2d4]
movzx edx, word [eax + esi*2]
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edx
jmp 0x40fe26
cmp byte [esp + 0x1f], 0
jne 0x40fe3a
mov edx, dword [esp + 0x24]
mov eax, 0x7fff
cmp dx, ax
jne 0x40ff09
mov edx, eax
test cl, cl
je 0x40fea2
cmp byte [edi + 8], 0
jne 0x40fe8f
test byte [edi + 0xc], 1
jne 0x40fe8f
cmp byte [edi + 9], 0
je 0x40fe8f
cmp byte [esp + 0x17], 0
jne 0x40fe8f
push 0
push SysReAllocString
push 0x7fff
jmp 0x410595
mov edx, dword [esp + 0x24]
cmp ax, word [0x4da464]
jae 0x40fe26
mov ecx, eax
mov eax, dword [0x4dc2d4]
mov ax, word [eax + ecx*2]
mov ecx, dword [ebp + 0x18]
mov word [edi + 4], ax
jmp 0x40fe26
mov ecx, dword [ebp + 0x18]
mov edx, 0x7fff
jmp 0x40fe36
mov edx, dword [esp + 0x10]
push 0x7fff
push edx
push dword [ebp + 0x1c]
push ecx
jmp 0x40f06c
cmp word [edi + 4], dx
lea ecx, [edi + 4]
jne 0x40febf
mov edx, dword [esp + 0x10]
push 0x7fff
push edx
push dword [ebp + 0x1c]
push 0
jmp 0x40f06c
mov esi, dword [ebp + 0x1c]
lea eax, [esp + 0xe]
push 0
push eax
lea eax, [edi + 0xc]
mov dl, 1
push eax
push esi
call fcn.00414240
mov edx, dword [esp + 0x20]
add esp, 0x10
cmp byte [esp + 0xe], 0
je 0x40fef1
push 0x7fff
push edx
push esi
push 0
jmp 0x40f06c
push 0
push SysReAllocString
push 0x7fff
push edx
push esi
push 0
jmp 0x41059e
mov ecx, dword [ebp + 0x18]
mov al, byte [edi + 0xc]
lea esi, [edi + 0xc]
test al, 8
je 0x40ff20
test cl, cl
je 0x40ff20
and al, 0xf7
mov byte [esp + 0xe], 1
mov byte [esi], al
mov eax, edx
and eax, 0x7fff
cmp ax, word [0x4da464]
jae 0x410025
cmp dword [esp + 0x34], 0
jne 0x410025
push dword [esp + 0x3c]
lea eax, [esp + 0x12]
mov dl, cl
push eax
push esi
push dword [ebp + 0x1c]
lea ecx, [esp + 0x3c]
call fcn.00414240
add esp, 0x10
mov dword [esp + 0x34], eax
test eax, eax
jne 0x41001f
mov eax, dword [esp + 0x3c]
cmp byte [eax], 0x69
jne 0x40ff84
mov edx, dword [esp + 0x10]
push 0x7fff
push edx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
jmp 0x40f06c
mov eax, dword [ebp + 0x18]
test al, al
je 0x40ffbb
cmp byte [edi + 0x11], 0
mov edx, dword [esp + 0x10]
je 0x40ffac
push 0
push SysReAllocString
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
push edx
push eax
jmp 0x41059e
push 0x7fff
push edx
mov edx, dword [ebp + 0x1c]
push edx
jmp 0x40f06b
lea ecx, [edi + 4]
mov eax, 0x7fff
cmp word [ecx], ax
je 0x40feab
push 0
lea eax, [esp + 0x12]
mov byte [esp + 0x12], 0
push eax
push esi
push dword [ebp + 0x1c]
mov dl, 1
call fcn.00414240
mov edx, dword [esp + 0x20]
add esp, 0x10
cmp byte [esp + 0xe], 0
je 0x410001
push 0x7fff
push edx
push dword [ebp + 0x1c]
push 0
jmp 0x40f06c
and byte [esi], 0xf7
push 0
push SysReAllocString
push 0x7fff
push edx
push dword [ebp + 0x1c]
mov byte [edi + 0x11], 1
push 0
jmp 0x41059e
mov ecx, dword [esp + 0x2c]
jmp 0x410029
mov ecx, dword [esp + 0x24]
and ecx, 0x7fff
test byte [0x4da2e6], 0xcc
mov dword [esp + 0x24], ecx
je 0x41010f
cmp byte [esp + 0xe], 0
jne 0x41010f
cmp byte [0x4dc2c9], 0
jne 0x410064
mov eax, dword [esp + 0x18]
cmp eax, dword [0x4d9994]
jne 0x41010f
test byte [0x4da2e6], 0xc0
mov dl, byte [0x4da2e4]
je 0x4100a3
test dl, 0xc0
jne 0x410093
cmp cx, word [0x4da464]
jae 0x4100a3
mov eax, dword [0x4da454]
movzx ecx, cx
mov eax, dword [eax + ecx*4]
mov al, byte [eax + 0xf]
and al, 0xc0
je 0x41009f
mov byte [0x4dc2c8], 1
jmp 0x41010f
mov ecx, dword [esp + 0x24]
cmp byte [0x4dc2c8], 0
jne 0x41010f
mov al, byte [0x4da2e6]
test al, 0xc
je 0x41010f
test al, 3
jne 0x41010f
test dl, 0xc
jne 0x4100d9
cmp cx, word [0x4da464]
jae 0x41010f
mov eax, dword [0x4da454]
movzx ecx, cx
mov eax, dword [eax + ecx*4]
mov al, byte [eax + 0xf]
and al, 0xc
je 0x41010f
cmp dword [0x4d9998], 0
je 0x4100eb
mov byte [0x4dc2c8], 1
jmp 0x41010f
movzx eax, word [0x4d82f8]
mov ecx, 2
mov dl, byte [0x4d82ea]
push 0xffc3d44d
push 0
push 0
push eax
call fcn.0041a670
add esp, 0x10
mov eax, dword [esp + 0x24]
movzx ecx, ax
lea eax, [ecx - 0x7ffa]
cmp eax, 4
ja case.default.0x410125
jmp dword [eax*4 + 0x4105e0]
cmp byte [0x4dc2ca], 0
je 0x40ff6f
xor al, al
test byte [0x4da2e6], 4
je 0x41014b
mov edx, 0xa4
jmp 0x41015d
test byte [0x4da2e6], 8
movzx edx, al
mov eax, 0xa5
cmovne edx, eax
cmp byte [0x4dc2ca], 0
mov dword [esp + 0x40], edx
je 0x4101e6
mov eax, 0x7ffb
cmp word [esp + 0x24], ax
je case.0x410125.32765
test dl, dl
movzx eax, dl
push 0xffc3d44d
mov ecx, 0x12
cmovne ecx, eax
push 0
push 0
mov dl, cl
mov ecx, 1
push 0
call fcn.0041a670
add esp, 0x10
cmp byte [edi + 8], 0
je 0x4101d5
cmp bl, 0x5b
je 0x4101d5
cmp bl, 0x5c
je 0x4101d5
cmp byte [ebp + 0x18], 0
jne 0x4101d5
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 1
call fcn.0041a670
add esp, 0x10
mov byte [0x4dc2ca], 0
mov edx, 0x7fff
jmp 0x410479
cmp bl, 0xa4
je 0x4101f5
mov byte [esp + 0x1f], 0
cmp bl, 0xa5
jne 0x4101fa
mov byte [esp + 0x1f], 1
cmp bl, 0xa0
je 0x410208
cmp bl, 0xa1
je 0x410208
xor cl, cl
jmp 0x41020a
mov cl, 1
mov byte [esp + 0x16], cl
cmp bl, 0xa2
je 0x41021d
mov byte [esp + 0xf], 0
cmp bl, 0xa3
jne 0x410222
mov byte [esp + 0xf], 1
xor dl, dl
test byte [0x4da2e6], 0x10
mov dword [esp + 0x34], edx
je 0x410235
mov dl, 0xa0
jmp 0x410254
test byte [0x4da2e6], 0x20
mov eax, dword [ebp + 0x18]
je 0x410245
mov dl, 0xa1
jmp 0x410257
test al, al
jne 0x41025b
test cl, cl
movzx edx, dl
movzx eax, bl
cmovne edx, eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x34], edx
xor cl, cl
test byte [0x4da2e6], 1
mov dword [esp + 0x30], ecx
je 0x410271
mov byte [esp + 0x30], 0xa2
jmp 0x410297
test byte [0x4da2e6], 2
je 0x410281
mov byte [esp + 0x30], 0xa3
jmp 0x410297
test al, al
jne 0x410297
cmp byte [esp + 0xf], 0
movzx ecx, cl
movzx eax, bl
cmovne ecx, eax
mov dword [esp + 0x30], ecx
mov byte [esp + 0xf], 0
test dl, dl
je 0x4102bd
push 0xffc3d44d
push 0
push 0
push 0
mov ecx, 1
call fcn.0041a670
add esp, 0x10
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x30]
test al, al
je 0x4102df
push 0xffc3d44d
push 0
push 0
push 0
mov dl, al
mov ecx, 1
call fcn.0041a670
add esp, 0x10
cmp byte [esp + 0x1f], 0
je 0x4102f0
cmp byte [ebp + 0x18], 0
jne 0x4102f8
mov al, bl
jmp 0x4102f4
mov eax, dword [esp + 0x40]
test al, al
jne 0x41030f
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x12
xor ecx, ecx
call fcn.0041a670
add esp, 0x10
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 9
mov ecx, 2
call fcn.0041a670
add esp, 0x10
cmp byte [esp + 0xf], 0
je 0x410350
cmp byte [esp + 0x16], 0
jne 0x410350
mov dl, byte [esp + 0x34]
xor ecx, ecx
push 0xffc3d44d
push 0
push 0
push 0
call fcn.0041a670
add esp, 0x10
mov byte [0x4dc2ca], 1
mov edx, 0x7fff
jmp 0x410479
cmp byte [0x4dc2ca], 0
je 0x40ff6f
mov eax, dword [ebp + 0x18]
test al, al
jne 0x4103a6
cmp bl, 0xa2
je 0x410389
cmp bl, 0xa3
je 0x410389
cmp bl, 0xa0
je 0x410389
cmp bl, 0xa1
jne 0x4103a6
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
mov ecx, 1
call fcn.0041a670
mov eax, dword [ebp + 0x18]
add esp, 0x10
test byte [0x4da2e6], 0xc
je 0x4103bd
test al, al
je 0x4103d4
cmp bl, 0xa4
je 0x4103bd
cmp bl, 0xa5
jne 0x4103d4
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x12
xor ecx, ecx
call fcn.0041a670
add esp, 0x10
mov eax, 0x7ffd
cmp word [esp + 0x24], ax
jne 0x410435
test byte [0x4da2e6], 0x30
jne 0x410435
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
xor ecx, ecx
call fcn.0041a670
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 9
mov ecx, 2
call fcn.0041a670
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 0x10
mov ecx, 1
call fcn.0041a670
add esp, 0x30
mov edx, 0x7fff
jmp 0x410479
push 0xffc3d44d
push 0
push 0
push 0
mov dl, 9
mov ecx, 2
call fcn.0041a670
add esp, 0x10
mov edx, 0x7fff
jmp 0x410479
mov edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], edx
mov eax, dword [ecx + 4]
test eax, eax
je 0x410479
cmp byte [eax], 5
jb 0x410479
movzx eax, word [ecx + 0x14]
shl eax, 0x10
or edx, eax
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x18]
mov byte [eax], 0x68
test cl, cl
je 0x410528
cmp byte [esp + 0x17], 0
je 0x4104e7
cmp byte [edi + 9], 0
je 0x4104e7
mov esi, dword [esp + 0x20]
mov dl, bl
push 0xffc3d44e
push 0
push 0
push esi
mov ecx, 1
call fcn.0041a670
push 0xffc3d44d
push 0
push 0
push esi
mov dl, bl
mov ecx, 2
call fcn.0041a670
mov eax, dword [esp + 0x68]
add esp, 0x20
mov edx, dword [esp + 0x10]
push 0
push SysReAllocString
push eax
push edx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
jmp 0x41059e
cmp byte [edi + 8], 0
je 0x410500
cmp byte [edi + 0x11], 0
je 0x410549
push 0
push SysReAllocString
push edx
jmp 0x410595
cmp byte [esp + 0xe], 0
je 0x410589
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push edx
push dword [ebp + 0x1c]
push ecx
push dword [esp + 0x30]
mov ecx, eax
push ebx
push dword [ebp + 0xc]
jmp 0x40ede3
mov eax, dword [0x4da434]
mov byte [edi + 0x10], 1
test eax, eax
je 0x41053f
cmp byte [eax + 8], 0
je 0x41053f
mov byte [eax + 0x12], 2
cmp byte [esp + 0xe], 0
je 0x410558
or byte [esi], 8
push edx
mov edx, dword [esp + 0x14]
push edx
push dword [ebp + 0x1c]
push ecx
jmp 0x40f06c
cmp bl, 0xa4
je 0x410562
cmp bl, 0xa5
jne 0x410581
push 0xffc3d450
push 0
push 0
push dword [esp + 0x2c]
mov dl, bl
mov ecx, 1
call fcn.0041a670
mov ecx, dword [ebp + 0x18]
add esp, 0x10
test cl, cl
jne 0x410589
mov byte [edi + 0x11], 1
mov eax, dword [esp + 0x48]
push 0
push SysReAllocString
push eax
mov edx, dword [esp + 0x1c]
push edx
push dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + 0x34]
push ebx
call fcn.00410600
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret