Function at 0x404750
Capabilities:
Enumerate pe sections
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x28], 0x3fff
cmp eax, 0xffc3d44f
je 0x404789
cmp eax, 0xffc3d44e
je 0x404789
mov byte [esp + 0x13], 0
cmp eax, 0xffc3d44d
jne 0x40478e
mov byte [esp + 0x13], 1
mov ecx, dword [0x4a3544]
cmp ecx, edi
jne 0x4047a5
lea ebx, [esp + 0x40]
mov dword [esp + 0x18], ebx
jmp 0x404848
mov eax, dword [0x4a3548]
mov ebx, eax
imul ebx, ebx, 0x70
inc eax
add ebx, ecx
mov dword [esp + 0x18], ebx
mov dword [0x4a3548], eax
cmp eax, dword [0x49f3a8]
jl 0x4047c9
mov dword [0x4a3548], edi
mov al, byte [ebp + 0x18]
mov cl, byte [ebp + 0x20]
mov byte [ebx], al
mov byte [ebx + 5], cl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub edx, dword [0x4a5488]
mov dword [0x4a354c], eax
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
jns 0x4047f7
fadd dword [0x49a4f8]
fdiv qword [0x49a4f0]
mov dword [0x4a5488], eax
fstp dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, edi
je 0x404838
cmp esi, dword [0x4a3550]
je 0x404832
mov ecx, dword [0x4a2c30]
push esi
lea eax, [ebx + 0xc]
push eax
push 0x418
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x40483f
mov byte [ebx + 0xc], 0
jmp 0x40483f
mov dword [ebx + 0xc], 0x412f4e
mov edx, dword [ebp + 0x28]
mov dword [0x4a3550], esi
mov al, byte [ebp + 0x18]
cmp al, 0xe7
jne 0x404867
mov edx, dword [ebp + 0x14]
mov ax, word [edx + 4]
mov word [ebx + 2], ax
mov byte [ebx + 4], 0x55
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cx, word [ebp + 0x1c]
mov word [ebx + 2], cx
lea ecx, [eax + 0x64]
cmp cl, 3
ja 0x40487a
mov dword [ebp + 0x1c], edi
mov edi, dword [ebp + 8]
cmp edi, dword [0x4a2d64]
jne 0x4048ac
and dl, 1
mov byte [esp + 0x11], dl
jne 0x4049db
cmp byte [ebp + 0x20], 0
movzx eax, al
setne dl
dec dl
and dl, 0x80
mov byte [eax + 0x4a2c50], dl
jmp 0x4049db
shr edx, 4
and dl, 1
test dword [ebp + 0x1c], 0x100
mov byte [esp + 0x11], dl
jne case.0x4048ed.13
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je case.0x4048ed.13
movzx eax, byte [ebp + 0x18]
add eax, 0xfffffff4
cmp eax, 0x62
ja case.0x4048ed.13
movzx ecx, byte [eax + 0x4062ec]
jmp dword [ecx*4 + 0x4062bc]
cmp byte [ebp + 0x20], 0
sete dl
mov byte [0x4a1b24], dl
jmp case.0x4048ed.13
cmp byte [ebp + 0x20], 0
sete al
mov byte [0x4a1b25], al
jmp case.0x4048ed.13
cmp byte [ebp + 0x20], 0
sete cl
mov byte [0x4a1b26], cl
jmp case.0x4048ed.13
cmp byte [ebp + 0x20], 0
sete dl
mov byte [0x4a1b27], dl
jmp case.0x4048ed.13
cmp byte [ebp + 0x20], 0
sete al
mov byte [0x4a1b28], al
jmp case.0x4048ed.13
cmp byte [ebp + 0x20], 0
sete cl
mov byte [0x4a1b29], cl
jmp case.0x4048ed.13
cmp byte [ebp + 0x20], 0
sete dl
mov byte [0x4a1b2a], dl
jmp case.0x4048ed.13
cmp byte [ebp + 0x20], 0
sete al
mov byte [0x4a1b2b], al
jmp case.0x4048ed.13
cmp byte [ebp + 0x20], 0
sete cl
mov byte [0x4a1b2c], cl
jmp case.0x4048ed.13
cmp byte [ebp + 0x20], 0
sete dl
mov byte [0x4a1b2d], dl
jmp case.0x4048ed.13
cmp byte [ebp + 0x20], 0
sete al
mov byte [0x4a1b2e], al
movzx esi, byte [ebp + 0x18]
mov edx, dword [0x4a3568]
lea ecx, [esi + esi*8]
shl ecx, 5
cmp byte [ecx + edx + 4], 0
jne 0x4049db
test byte [ebp + 0x28], 0x10
jne 0x4049db
mov eax, dword [ebp + 0x20]
push eax
mov al, byte [ebp + 0x18]
call fcn.00407640
add esp, 4
test al, al
je 0x4049db
cmp byte [ebp + 0x20], 0
setne cl
dec cl
and cl, 0x80
mov byte [esi + 0x4a2c50], cl
cmp byte [esp + 0x13], 0
je 0x4049e6
mov al, 0x69
jmp 0x4049f2
mov al, byte [esp + 0x11]
neg al
sbb al, al
and al, 0x41
add al, 0x20
cmp byte [0x4a2d50], 0
lea ecx, [ebx + 4]
mov dword [esp + 0x38], ecx
mov byte [ecx], al
je 0x404a44
mov al, byte [ebp + 0x18]
cmp al, 0x5b
je 0x404a0f
cmp al, 0x5c
jne 0x404a44
cmp byte [ebp + 0x20], 0
jne 0x404a44
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push 0
push SysReAllocString
push 0x3fff
push edx
push eax
push ecx
mov ecx, dword [ebp + 0x14]
xor bl, bl
mov eax, edi
call fcn.004063e0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4a1b48], 0
je 0x404af1
cmp byte [ebp + 0x18], 0x1b
jne 0x404af1
cmp byte [ebp + 0x20], 0
jne 0x404af1
push 0
push str.32771
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x404af1
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 0x404af1
push 0xffc3d44d
push 0
push 0
push 0
push 0x1b
push 0
call fcn.0040e7c0
mov dl, byte [0x4a2c2d]
push 0xffc3d44d
shr dl, 3
push 0
and dl, 1
or dl, 0xa4
push 0
movzx eax, dl
push 0
push eax
push 1
call fcn.0040e7c0
mov ecx, dword [esp + 0x48]
mov edx, dword [ebp + 0x1c]
push 0
push SysReAllocString
push 0x3fff
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push 0x1b
xor bl, bl
mov eax, edi
call fcn.004063e0
add esp, 0x48
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [ebp + 0x1c]
mov ecx, dword [0x4a356c]
mov dword [esp + 0x34], eax
lea eax, [eax + eax*8]
shl eax, 5
add eax, ecx
mov cl, byte [eax + 0x12]
mov byte [esp + 0x30], cl
cmp edi, dword [0x4a2d60]
jne 0x404b21
test cl, cl
je 0x404b21
mov cl, byte [ebp + 0x18]
mov esi, eax
jmp 0x404b33
mov cl, byte [ebp + 0x18]
movzx eax, cl
lea esi, [eax + eax*8]
shl esi, 5
add esi, dword [0x4a3568]
cmp byte [esp + 0x13], 0
mov dword [esp + 0x14], esi
je 0x404b80
cmp dword [ebp + 0x24], 0xffc3d44e
jne 0x404b67
cmp byte [ebp + 0x20], 0
je 0x404b67
cmp dword [0x4a1b44], esi
jne 0x404b67
mov byte [esi + 0xc], 0
mov byte [esi + 0xf], 0
mov dword [0x4a1b44], 0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
push 0x3fff
push ebx
push edx
push eax
push ecx
jmp 0x4062a0
mov al, byte [ebp + 0x20]
test al, al
jne 0x404b93
mov edx, 0x3fff
mov byte [esi + 0x10], al
mov word [esi + 6], dx
cmp edi, dword [0x4a2d60]
jne 0x404c4a
test al, al
je 0x404ca6
cmp byte [0x4a1b4c], 0
je 0x404bb5
cmp cl, 0x5b
je 0x404be7
cmp byte [0x4a1b4b], 0
je 0x404bc3
cmp cl, 0x5c
je 0x404be7
cmp byte [0x4a1b4a], 0
je 0x404bd1
cmp cl, 0xa4
je 0x404be7
cmp byte [0x4a1b49], 0
je 0x404ca6
cmp cl, 0xa5
jne 0x404ca6
movzx eax, cl
add eax, 0xffffffa5
cmp eax, 0x4a
ja case.0x404bf9.93
movzx eax, byte [eax + 0x406364]
jmp dword [eax*4 + 0x406350]
mov byte [0x4a1b4c], 0
jmp case.0x404bf9.93
mov byte [0x4a1b4b], 0
jmp case.0x404bf9.93
mov byte [0x4a1b4a], 0
jmp case.0x404bf9.93
mov byte [0x4a1b49], 0
test byte [0x4a2c2d], 3
jne 0x404ca6
movzx ecx, byte [0x49f365]
push 0xffc3d44d
push 0
push 0
push 0
push ecx
push 2
call fcn.0040e7c0
add esp, 0x18
jmp 0x404ca6
test cl, cl
jne 0x404c69
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
push 0x3fff
push ebx
push edx
push eax
push ecx
xor cl, cl
jmp 0x4062a3
cmp cl, 1
je 0x404c73
cmp cl, 2
jne 0x404ca6
cmp dword [0x4a2dbc], 0
jne 0x406280
push 0
push str.32768
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x404ca6
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4a4c40]
je 0x406280
mov ecx, dword [0x4a1b44]
test ecx, ecx
je 0x404cd8
cmp ecx, esi
je 0x404cd8
cmp byte [ebp + 0x20], 0
jne 0x404cd8
cmp edi, dword [0x4a2d60]
jne 0x404ccc
xor eax, eax
cmp byte [esi + 4], al
sete al
jmp 0x404cd0
movzx eax, byte [ecx + 4]
test eax, eax
je 0x404cd8
mov byte [ecx + 0x11], 1
cmp byte [esi + 8], 0
jne 0x404ce8
cmp byte [esi + 9], 0
je 0x404b67
mov dl, byte [ebp + 0x20]
mov esi, dword [esp + 0x14]
mov ebx, 0x3fff
mov byte [esp + 0x2f], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], 0
test dl, dl
je 0x404d39
mov al, byte [esi + 0xc]
mov cl, byte [esi + 0xf]
mov byte [esp + 0x23], al
movzx eax, word [esi + 6]
mov byte [esp + 0x22], cl
mov ecx, ebx
mov byte [esi + 0xf], 0
cmp ax, cx
je 0x404d37
mov ebx, eax
mov eax, ecx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x2f], 1
mov word [esi + 6], ax
test dl, dl
mov eax, dword [0x4a2d60]
sete cl
mov byte [esi + 0xc], cl
mov byte [esp + 0x11], 0
cmp edi, eax
jne 0x404dc8
cmp byte [esi + 4], 0
je 0x404de8
mov ecx, dword [0x4a3568]
cmp byte [ecx + 0xb64c], 0
jne 0x404d73
cmp byte [ecx + 0xb76c], 0
jne 0x404d73
xor eax, eax
jmp 0x404d78
mov eax, 1
cmp byte [ecx + 0xb88c], 0
mov byte [ecx + 0x132c], al
jne 0x404d94
cmp byte [ecx + 0xb9ac], 0
jne 0x404d94
xor eax, eax
jmp 0x404d99
mov eax, 1
cmp byte [ecx + 0xb40c], 0
mov byte [ecx + 0x144c], al
jne 0x404dbb
cmp byte [ecx + 0xb52c], 0
jne 0x404dbb
xor eax, eax
mov byte [ecx + 0x120c], al
jmp 0x404de8
mov eax, 1
mov byte [ecx + 0x120c], al
jmp 0x404de8
test eax, eax
jne 0x404de8
push 1
call fcn.00410db0
mov dl, byte [ebp + 0x20]
add esp, 4
mov byte [0x4a2c2e], al
mov byte [0x4a2c2d], al
mov byte [esp + 0x11], 1
mov eax, dword [esi]
test eax, eax
je 0x404df8
cmp dword [eax], 7
mov byte [esp + 0x13], 1
je 0x404dfd
mov byte [esp + 0x13], 0
mov al, byte [esi + 8]
test al, al
je 0x404f67
test dl, dl
jne 0x404f67
mov ecx, dword [0x4a1b44]
test ecx, ecx
je 0x404e27
cmp byte [esi + 9], dl
je 0x404e27
cmp esi, ecx
jne 0x404f67
cmp al, 1
jne 0x404e53
cmp byte [esp + 0x30], 0
mov eax, dword [esp + 0x34]
jne 0x404e3a
movzx eax, byte [ebp + 0x18]
mov edx, dword [esp + 0x30]
push edx
push eax
call fcn.004098a0
add esp, 8
test al, al
je 0x404e53
mov byte [esp + 0x12], 1
jmp 0x404e6a
mov byte [esp + 0x12], 0
cmp esi, dword [0x4a1b44]
je 0x404e6a
mov dword [0x4a1b44], esi
mov byte [esi + 0x11], 0
cmp byte [esi + 9], 0
je 0x404f14
cmp byte [esp + 0x11], 0
jne 0x404e8a
push 1
mov byte [esp + 0x15], 1
call fcn.00410db0
add esp, 4
mov al, byte [esi + 4]
mov cl, byte [0x4a2c2e]
test al, al
je 0x404e9b
not al
and cl, al
test cl, cl
jne 0x404ea5
cmp byte [esp + 0x12], cl
je 0x404f14
cmp edi, dword [0x4a2d60]
jne 0x404eca
cmp byte [esp + 0x30], 0
je 0x404eca
movzx eax, cl
mov ecx, dword [0x4a3560]
shl eax, 9
add eax, dword [esp + 0x34]
movzx ebx, word [ecx + eax*2]
jmp 0x404ee0
movzx eax, byte [ebp + 0x18]
movzx edx, cl
mov ecx, dword [0x4a355c]
shl edx, 8
add edx, eax
movzx ebx, word [ecx + edx*2]
mov dword [esp + 0x1c], ebx
test ebx, 0x4000
je 0x404ef2
mov word [esi + 6], bx
jmp 0x404f1e
mov ecx, dword [0x4a059c]
mov eax, ebx
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x404f14
movzx edx, ax
mov eax, dword [0x4a3564]
mov cx, word [eax + edx*2]
mov word [esi + 6], cx
mov edx, 0x3fff
cmp bx, dx
jne 0x404f67
mov al, byte [esp + 0x12]
test al, al
je 0x404f31
mov ecx, dword [esp + 0x38]
or byte [esi + 0xb], 8
mov byte [ecx], 0x23
cmp byte [esi + 4], 0
jne 0x404f4c
test byte [esi + 0xb], 1
jne 0x404f4c
cmp byte [esp + 0x13], 0
jne 0x404f4c
test al, al
je 0x404a15
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
push 0x3fff
push edx
push 0
push eax
push ecx
jmp 0x4062a0
cmp byte [esi + 9], 0
mov byte [esp + 0x21], 0
je 0x40500e
cmp byte [ebp + 0x20], 0
je 0x40500e
cmp dword [0x4a1b44], esi
jne 0x404f99
cmp byte [esp + 0x22], 0
je 0x40500e
mov dword [0x4a1b44], 0
cmp byte [esi + 0xa], 0
jne 0x405009
mov al, byte [esi + 0xb]
test al, 8
je 0x404faf
xor cl, cl
and al, 0xf7
mov byte [esi + 0xb], al
jmp 0x404fb1
mov cl, 1
cmp byte [esp + 0x22], 0
je 0x404fec
test cl, cl
je 0x404fec
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov bl, byte [ebp + 0x20]
push 0
push SysReAllocString
push 0x3fff
push edx
push eax
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, edi
call fcn.004063e0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push 0
push 0x3fff
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
jmp 0x4062a0
mov byte [esp + 0x21], 1
cmp byte [esi + 8], 0
je 0x4051d0
cmp byte [ebp + 0x20], 0
je 0x4051d0
cmp dword [0x4a1b44], esi
jne 0x405034
mov dword [0x4a1b44], 0
cmp byte [esi + 0xd], 0
je 0x405055
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
mov byte [esi + 0xd], 0
call fcn.0040e7c0
add esp, 0x18
cmp byte [esi + 0xe], 0
je 0x405076
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
mov byte [esi + 0xe], 0
call fcn.0040e7c0
add esp, 0x18
mov eax, 0x3fff
cmp bx, ax
jne 0x4050a9
mov al, byte [esi + 0xb]
test al, 8
je 0x4050a9
and al, 0xf7
mov byte [esi + 0xb], al
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x10]
push 0
push 0x3fff
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
jmp 0x4062a0
mov cl, byte [esp + 0x13]
mov al, byte [esi + 0x11]
test cl, cl
je 0x405125
cmp al, 2
jne 0x40510c
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
push 0xffc3d44e
push 0
push 0
push ebx
push esi
push 1
call fcn.0040e7c0
push 0xffc3d44d
push 0
push 0
push ebx
push esi
push 2
call fcn.0040e7c0
mov edx, dword [esp + 0x48]
mov ecx, dword [ebp + 0x14]
push 0
push SysReAllocString
push 0x3fff
push edx
push ebx
mov bl, byte [ebp + 0x20]
push esi
mov eax, edi
call fcn.004063e0
add esp, 0x48
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 1
jne 0x405179
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x20]
push 0
push 0x3fff
push eax
push ecx
jmp 0x406298
test al, al
je 0x405179
mov edx, 0x3fff
cmp bx, dx
jne 0x405179
cmp byte [esi + 4], 0
je 0x405152
cmp al, 2
jne 0x40508c
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x20]
push 1
push edx
push eax
push ecx
jmp 0x406298
test byte [esi + 0xb], 1
push 0
je 0x405191
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push 0x3fff
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
mov cl, byte [ebp + 0x18]
push edx
push edi
jmp 0x4062a4
cmp byte [esi + 9], 0
jne 0x4051bf
cmp byte [esi + 4], 0
jne 0x405110
test byte [esi + 0xb], 1
jne 0x405110
test cl, cl
jne 0x405110
push 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov bl, byte [ebp + 0x20]
push SysReAllocString
push 0x3fff
push eax
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov eax, edi
call fcn.004063e0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x23], 0
jne 0x4051d0
cmp byte [esi + 0xa], 0
je 0x40508c
cmp byte [esp + 0x11], 0
jne 0x4051eb
mov edx, 0x3fff
cmp bx, dx
jne 0x4051eb
push 1
call fcn.00410db0
add esp, 4
cmp dword [0x4a1b44], 0
mov byte [esp + 0x12], 0
je 0x4058a3
cmp byte [ebp + 0x20], 0
je 0x405211
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xa], 0
je 0x4058a3
mov ecx, 0x3fff
cmp bx, cx
jne 0x405af8
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x13], 0
mov dword [esp + 0x24], 0
jbe 0x40533e
mov edi, dword [0x4a3568]
lea esi, [edx + 0x16]
mov cl, byte [esi]
movzx eax, cl
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + edi + 0xc], 0
je 0x4052b2
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x4052a0
cmp byte [ebp + 0x20], 0
jne 0x4052d0
mov ecx, 0x3fff
mov word [edx + 6], ax
cmp bx, cx
je 0x4052b2
mov dword [esp + 0x1c], ebx
movzx ecx, byte [esp + 0x11]
mov eax, ecx
sub eax, 0x10
je 0x405325
dec eax
je 0x40530c
dec eax
je 0x4052f0
lea ecx, [ecx + ecx*8]
shl ecx, 5
add ecx, edi
mov dword [0x4a1b44], ecx
jmp 0x4053a6
cmp byte [ebp + 0x20], 0
mov edi, dword [0x4a3568]
jne 0x4052b2
mov ebx, eax
mov byte [esp + 0x11], cl
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
movzx ecx, byte [edx + 0x13]
inc eax
add esi, 4
mov dword [esp + 0x24], eax
cmp eax, ecx
jl 0x40523e
jmp 0x4052da
mov dl, byte [esi]
movzx ebx, word [esi + 2]
mov byte [esp + 0x11], dl
mov eax, 0x3fff
mov dword [esp + 0x1c], ebx
cmp bx, ax
je 0x40533e
mov edi, dword [0x4a3568]
jmp 0x405273
xor eax, eax
cmp byte [edi + 0xb9ac], al
setne al
lea eax, [eax + eax*8 + 0x5c4]
shl eax, 5
add eax, edi
jmp 0x4053a1
xor eax, eax
cmp byte [edi + 0xb76c], al
setne al
lea eax, [eax + eax*8 + 0x5b2]
shl eax, 5
add eax, edi
jmp 0x4053a1
xor eax, eax
cmp byte [edi + 0xb52c], al
setne al
lea eax, [eax + eax*8 + 0x5a0]
shl eax, 5
add eax, edi
jmp 0x4053a1
mov ecx, dword [esp + 0x14]
xor edi, edi
cmp byte [ecx + 0x14], 0
jbe 0x4053b4
mov esi, ecx
add esi, 0xde
movzx ecx, word [esi]
mov eax, ecx
lea edx, [eax + eax*8]
mov eax, dword [0x4a356c]
shl edx, 5
cmp byte [edx + eax + 0xc], 0
je 0x4053db
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x4053cd
cmp byte [ebp + 0x20], 0
jne 0x4053f1
mov ecx, dword [esp + 0x14]
mov edx, 0x3fff
mov word [ecx + 6], ax
cmp bx, dx
je 0x4053db
mov dword [esp + 0x1c], ebx
movzx eax, word [esp + 0x24]
lea eax, [eax + eax*8]
shl eax, 5
add eax, dword [0x4a356c]
mov dword [0x4a1b44], eax
mov edx, 0x3fff
cmp bx, dx
jne case.default.0x4053c6
movzx eax, byte [ebp + 0x18]
add eax, 0xffffff60
cmp eax, 5
ja case.default.0x4053c6
jmp dword [eax*4 + 0x4063b0]
cmp byte [ebp + 0x20], 0
jne 0x4053db
mov ebx, eax
mov eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + 0x14]
inc edi
add esi, 4
cmp edi, edx
jl 0x405352
jmp 0x4053fc
movzx eax, word [esi]
movzx ebx, word [esi + 2]
mov dword [esp + 0x24], eax
mov ecx, 0x3fff
mov dword [esp + 0x1c], ebx
cmp bx, cx
je 0x4053b4
jmp 0x405390
mov al, 0x11
jmp 0x405416
mov al, 0x12
jmp 0x405416
mov al, 0x10
mov ecx, dword [0x4a3568]
movzx eax, al
lea esi, [eax + eax*8]
shl esi, 5
movzx edx, byte [esi + ecx + 0x13]
add esi, ecx
xor edi, edi
mov dword [esp + 0x38], esi
test edx, edx
jle 0x4054b3
add esi, 0x16
lea ecx, [ecx]
mov cl, byte [esi]
mov ebx, dword [0x4a3568]
movzx eax, cl
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + ebx + 0xc], 0
je 0x405493
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x405481
cmp byte [ebp + 0x20], 0
jne 0x4054a1
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov word [ecx + 6], ax
mov eax, 0x3fff
cmp bx, ax
jne 0x4054c1
jmp 0x405497
cmp byte [ebp + 0x20], 0
jne 0x405493
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x11], cl
jmp 0x405497
mov ebx, dword [esp + 0x1c]
inc edi
add esi, 4
cmp edi, edx
jl 0x405440
jmp 0x4054af
movzx ebx, word [esi + 2]
mov cl, byte [esi]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x11], cl
mov esi, dword [esp + 0x38]
mov edx, 0x3fff
cmp bx, dx
je 0x40554d
movzx ecx, byte [esp + 0x11]
mov eax, ecx
sub eax, 0x10
je 0x40552e
dec eax
je 0x40550c
dec eax
je 0x4054ea
lea ecx, [ecx + ecx*8]
shl ecx, 5
add ecx, dword [0x4a3568]
mov dword [0x4a1b44], ecx
jmp case.default.0x4053c6
mov ecx, dword [0x4a3568]
xor eax, eax
cmp byte [ecx + 0xb9ac], al
setne al
lea eax, [eax + eax*8 + 0x5c4]
shl eax, 5
add eax, ecx
jmp 0x4055c1
mov ecx, dword [0x4a3568]
xor eax, eax
cmp byte [ecx + 0xb76c], al
setne al
lea eax, [eax + eax*8 + 0x5b2]
shl eax, 5
add eax, ecx
jmp 0x4055c1
mov ecx, dword [0x4a3568]
xor eax, eax
cmp byte [ecx + 0xb52c], al
setne al
lea eax, [eax + eax*8 + 0x5a0]
shl eax, 5
add eax, ecx
jmp 0x4055c1
movzx eax, byte [esi + 0x14]
xor edi, edi
mov dword [esp + 0x38], eax
test eax, eax
jle case.default.0x4053c6
add esi, 0xde
movzx ecx, word [esi]
mov edx, dword [0x4a356c]
mov eax, ecx
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [eax + edx + 0xc], 0
je 0x405646
movzx eax, word [esi + 2]
test eax, 0x4000
je 0x405638
cmp byte [ebp + 0x20], 0
jne 0x405656
mov ecx, dword [esp + 0x14]
mov edx, 0x3fff
mov word [ecx + 6], ax
cmp bx, dx
je 0x405646
mov dword [esp + 0x1c], ebx
movzx eax, word [esp + 0x24]
lea eax, [eax + eax*8]
shl eax, 5
add eax, dword [0x4a356c]
mov dword [0x4a1b44], eax
mov esi, ebx
mov ecx, 0x3fff
and esi, 0x3fff
cmp bx, cx
je 0x40568e
mov edx, dword [0x4a059c]
cmp si, word [edx]
jae 0x405684
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [ebp + 0x24]
push eax
lea edx, [esp + 0x20]
add ecx, 0xb
push edx
lea esi, [ebx + 4]
lea eax, [esp + 0x1a]
call fcn.00409b00
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x405678
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x20]
push 0x3fff
push ebx
push eax
mov eax, dword [ebp + 8]
push ecx
mov cl, byte [ebp + 0x18]
push edx
push eax
jmp 0x4062a4
cmp byte [ebp + 0x20], 0
jne 0x405646
mov ebx, eax
mov eax, ecx
mov dword [esp + 0x24], eax
inc edi
add esi, 4
cmp edi, dword [esp + 0x38]
jl 0x405561
jmp 0x405661
movzx ecx, word [esi]
movzx ebx, word [esi + 2]
mov dword [esp + 0x24], ecx
mov edx, 0x3fff
mov dword [esp + 0x1c], ebx
cmp bx, dx
je case.default.0x4053c6
jmp 0x4055b0
mov ebx, dword [esp + 0x1c]
mov esi, ebx
and esi, 0x3fff
mov edx, dword [0x4a1b44]
mov byte [edx + 0x11], 2
mov eax, 0x3ffe
cmp si, ax
je 0x4056a6
mov ecx, 0x3ffd
cmp si, cx
jne 0x4058a3
cmp byte [ebp + 0x20], 0
jne 0x4056b4
mov edx, dword [esp + 0x14]
mov byte [edx + 0xf], 1
test byte [0x4a2c2d], 0xc
jne 0x4056d4
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040e7c0
add esp, 0x18
mov al, byte [ebp + 0x18]
cmp al, 0xa2
je 0x4056df
cmp al, 0xa3
jne 0x405705
cmp byte [ebp + 0x20], 0
jne 0x405705
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push 0xffc3d44d
push 0
push 0
push edi
push eax
push 1
call fcn.0040e7c0
mov al, byte [ebp + 0x18]
add esp, 0x18
jmp 0x405708
mov edi, dword [ebp + 0x1c]
mov ecx, dword [0x4a1b44]
mov edx, 0x3ffd
mov byte [ecx + 0xd], 1
cmp si, dx
jne 0x40574a
test byte [0x4a2c2d], 0x30
jne 0x40573c
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.0040e7c0
add esp, 0x18
mov eax, dword [0x4a1b44]
mov byte [eax + 0xe], 1
jmp 0x4057c0
mov ecx, 0x3ffe
cmp si, cx
jne 0x4057c0
cmp al, 0xa0
je 0x40575c
cmp al, 0xa1
jne 0x40577a
cmp byte [ebp + 0x20], 0
jne 0x40577a
mov edx, dword [ebp + 0x18]
push 0xffc3d44d
push 0
push 0
push edi
push edx
push 1
call fcn.0040e7c0
add esp, 0x18
test byte [0x4a2c2d], 0x10
je 0x40579d
push 0xffc3d44d
push 0
push 0
push 0
push 0xa0
push 1
call fcn.0040e7c0
add esp, 0x18
test byte [0x4a2c2d], 0x20
je 0x4057c0
push 0xffc3d44d
push 0
push 0
push 0
push 0xa1
push 1
call fcn.0040e7c0
add esp, 0x18
test byte [0x4a2c2d], 1
je 0x4057e3
push 0xffc3d44d
push 0
push 0
push 0
push 0xa2
push 1
call fcn.0040e7c0
add esp, 0x18
test byte [0x4a2c2d], 2
je 0x405806
push 0xffc3d44d
push 0
push 0
push 0
push 0xa3
push 1
call fcn.0040e7c0
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040e7c0
mov eax, 0x3ffd
add esp, 0x18
cmp si, ax
jne 0x405863
mov ecx, dword [0x4a1b44]
cmp byte [ecx + 0xe], 0
je 0x405863
mov al, byte [ebp + 0x18]
cmp al, 0x60
jb 0x40583e
cmp al, 0x69
jbe 0x405842
cmp al, 0x6e
jne 0x405863
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.0040e7c0
mov edx, dword [0x4a1b44]
add esp, 0x18
mov byte [edx + 0xe], 0
cmp byte [ebp + 0x20], 0
mov eax, dword [esp + 0x18]
mov byte [eax + 4], 0x68
jne 0x405879
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x10], 1
push 0
push SysReAllocString
push 0x3fff
push eax
push edi
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov bl, byte [ebp + 0x20]
call fcn.004063e0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x3fff
cmp bx, ax
jne 0x405af8
mov ecx, dword [esp + 0x14]
mov cl, byte [ecx + 4]
mov al, byte [0x4a2c2e]
test cl, cl
je 0x4058c5
not cl
and al, cl
mov edi, dword [ebp + 8]
mov esi, dword [0x4a2d60]
cmp edi, esi
jne 0x4058f2
cmp byte [esp + 0x30], 0
je 0x4058f2
mov ecx, dword [0x4a3560]
movzx edx, al
shl edx, 9
add edx, dword [esp + 0x34]
movzx ebx, word [ecx + edx*2]
mov cl, byte [ebp + 0x18]
jmp 0x40590a
mov cl, byte [ebp + 0x18]
movzx edx, al
movzx ebx, cl
shl edx, 8
add edx, ebx
mov ebx, dword [0x4a355c]
movzx ebx, word [ebx + edx*2]
mov edx, 0x3fff
mov dword [esp + 0x1c], ebx
cmp bx, dx
jne 0x405989
cmp byte [0x4a1b48], 0
je 0x405989
cmp cl, 9
je 0x405989
and al, 0xf3
cmp edi, esi
jne 0x405949
cmp byte [esp + 0x30], 0
je 0x405949
mov ecx, dword [0x4a3560]
movzx eax, al
shl eax, 9
add eax, dword [esp + 0x34]
movzx ebx, word [ecx + eax*2]
jmp 0x40595e
movzx edx, al
movzx eax, cl
mov ecx, dword [0x4a355c]
shl edx, 8
add edx, eax
movzx ebx, word [ecx + edx*2]
mov edx, ebx
and edx, 0x3fff
mov eax, edx
mov ecx, 0x3ff9
mov dword [esp + 0x1c], ebx
cmp ax, cx
jbe 0x405980
mov edx, 0x3fff
cmp ax, dx
jb 0x405989
mov ebx, 0x3fff
mov dword [esp + 0x1c], ebx
test ebx, 0x4000
je 0x4059fd
cmp byte [ebp + 0x20], 0
jne 0x405a65
mov eax, dword [esp + 0x14]
mov word [eax + 6], bx
mov eax, dword [esp + 0x14]
add eax, 6
mov ecx, 0x3fff
cmp word [eax], cx
je 0x404f4c
mov ecx, dword [esp + 0x14]
push 1
push eax
add ecx, 0xb
xor esi, esi
lea eax, [esp + 0x1a]
xor edi, edi
call fcn.00409b00
add esp, 8
cmp byte [esp + 0x12], 0
push edi
je 0x405aca
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0x3fff
push edx
mov edx, dword [ebp + 8]
push edi
push eax
push ecx
mov cl, byte [ebp + 0x18]
push edx
jmp 0x4062a4
mov ecx, 0x3fff
cmp bx, cx
je 0x405a73
mov edx, ebx
and edx, ecx
cmp byte [ebp + 0x20], 0
mov eax, edx
je 0x405a45
mov ecx, dword [0x4a059c]
cmp ax, word [ecx]
jae 0x405a3c
movzx edx, ax
mov eax, dword [0x4a3564]
movzx eax, word [eax + edx*2]
mov ecx, 0x3fff
cmp ax, cx
je 0x405a3c
mov ebx, eax
mov dword [esp + 0x1c], ebx
jmp 0x405a65
cmp byte [esp + 0x21], 0
jne 0x405a73
jmp 0x405a65
mov edx, dword [0x4a059c]
cmp ax, word [edx]
jae 0x405a65
mov ecx, dword [0x4a3564]
movzx eax, ax
mov dx, word [ecx + eax*2]
mov eax, dword [esp + 0x14]
mov word [eax + 6], dx
mov ecx, 0x3fff
cmp bx, cx
jne 0x405af8
cmp byte [ebp + 0x20], 0
je 0x4059a3
mov eax, dword [esp + 0x14]
cmp byte [eax + 4], 0
jne 0x404fec
test byte [eax + 0xb], 1
jne 0x404fec
cmp byte [eax + 8], 0
je 0x404fec
cmp byte [esp + 0x13], 0
jne 0x404fec
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push 0
push SysReAllocString
push 0x3fff
push edx
push eax
push ecx
mov eax, edi
jmp 0x40588e
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push SysReAllocString
push 0x3fff
push eax
push ecx
push edx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
xor bl, bl
call fcn.004063e0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0xb]
add ecx, 0xb
mov dword [esp + 0x24], ecx
test al, 8
je 0x405b19
cmp byte [ebp + 0x20], 0
je 0x405b19
and al, 0xf7
mov byte [esp + 0x12], 1
mov byte [ecx], al
mov ecx, dword [0x4a059c]
mov eax, ebx
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x405c33
cmp dword [esp + 0x3c], 0
jne 0x405c33
mov edx, dword [ebp + 0x20]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edi, dword [ebp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
lea esi, [ebx + 4]
lea eax, [esp + 0x1a]
call fcn.00409b00
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x405c2f
mov eax, dword [ebp + 0x20]
test al, al
je 0x405bb1
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x10], 0
push 0
je 0x405b96
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push SysReAllocString
push 0x3fff
mov edx, ebx
push edx
push eax
push ecx
jmp 0x40588b
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push 0x3fff
push ebx
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push ecx
mov cl, byte [ebp + 0x18]
jmp 0x4062a4
mov eax, dword [esp + 0x14]
add eax, 6
mov edx, 0x3fff
cmp word [eax], dx
jne 0x405be0
push 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0x3fff
push ebx
push 0
push eax
push ecx
mov cl, byte [ebp + 0x18]
push edx
jmp 0x4062a4
mov ecx, dword [esp + 0x24]
push 1
push eax
xor esi, esi
lea eax, [esp + 0x1a]
xor edi, edi
mov byte [esp + 0x1a], 0
call fcn.00409b00
add esp, 8
cmp byte [esp + 0x12], 0
push edi
jne 0x405bc4
mov eax, dword [esp + 0x28]
and byte [eax], 0xf7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x1c]
push SysReAllocString
push 0x3fff
push ecx
mov byte [eax + 0x10], 1
mov eax, dword [ebp + 0x18]
push edx
push eax
jmp 0x405ae1
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 8]
mov ecx, dword [0x4a2d60]
mov dl, byte [0x4a2c2d]
and ebx, 0x3fff
mov edi, ebx
cmp esi, ecx
jne 0x405c83
test dl, 0x3f
jne 0x405ca4
mov eax, dword [0x4a3568]
test dl, 0x40
je 0x405c6d
cmp byte [eax + 0x6668], 0
jne 0x405c6d
mov byte [0x4a1b4c], 1
test dl, dl
jns 0x405ca9
cmp byte [eax + 0x6788], 0
jne 0x405ca9
mov byte [0x4a1b4b], 1
jmp 0x405ca9
test dl, 0xc
jne 0x405ca4
mov eax, dword [0x4a3568]
test dl, 0x40
je 0x405c6d
cmp byte [eax + 0x6668], 0
jne 0x405c6d
mov byte [0x4a1b4c], 1
jmp 0x405ca9
mov eax, dword [0x4a3568]
test dl, 4
je 0x405cd9
cmp byte [eax + 0xb888], 0
jne 0x405cd9
test ecx, ecx
je 0x405cc4
mov byte [0x4a1b4a], 1
jmp 0x405d25
movzx ecx, byte [0x49f365]
push 0xffc3d44d
push 0
push 0
push 0
push ecx
jmp 0x405d15
test dl, 8
je 0x405d25
cmp byte [eax + 0xb9a8], 0
jne 0x405d25
call fcn.00411270
test al, al
jne 0x405d1f
cmp dword [0x4a2d60], 0
je 0x405d02
mov byte [0x4a1b49], 1
jmp 0x405d1f
movzx edx, byte [0x49f365]
push 0xffc3d44d
push 0
push 0
push 0
push edx
push 2
call fcn.0040e7c0
add esp, 0x18
mov dl, byte [0x4a2c2d]
movzx eax, di
lea ecx, [eax - 0x3ffa]
cmp ecx, 4
ja case.default.0x405d37
jmp dword [ecx*4 + 0x4063c8]
cmp byte [0x4a1b48], 0
jne case.0x405d37.16379
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
push 0
push 0x3fff
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov cl, byte [ebp + 0x18]
push edx
push eax
push esi
jmp 0x4062a4
xor al, al
mov byte [esp + 0x11], al
test dl, 4
je 0x405d77
mov al, 0xa4
jmp 0x405d7e
test dl, 8
je 0x405d82
mov al, 0xa5
mov byte [esp + 0x11], al
cmp byte [0x4a1b48], 0
je 0x405df8
mov ecx, 0x3ffb
cmp di, cx
je case.0x405d37.16381
test al, al
movzx eax, al
jne 0x405da5
mov eax, 0x12
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040e7c0
mov edx, dword [esp + 0x2c]
add esp, 0x18
cmp byte [edx + 4], 0
je 0x405dec
mov eax, dword [ebp + 0x18]
cmp al, 0x5b
je 0x405dec
cmp al, 0x5c
je 0x405dec
cmp byte [ebp + 0x20], 0
jne 0x405dec
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040e7c0
add esp, 0x18
mov byte [0x4a1b48], 0
jmp 0x40605e
mov cl, byte [ebp + 0x18]
cmp cl, 0xa4
je 0x405e0a
mov byte [esp + 0x22], 0
cmp cl, 0xa5
jne 0x405e0f
mov byte [esp + 0x22], 1
cmp cl, 0xa0
je 0x405e1d
cmp cl, 0xa1
je 0x405e1d
xor bl, bl
jmp 0x405e1f
mov bl, 1
mov byte [esp + 0x23], bl
cmp cl, 0xa2
je 0x405e32
mov byte [esp + 0x21], 0
cmp cl, 0xa3
jne 0x405e37
mov byte [esp + 0x21], 1
xor al, al
mov byte [esp + 0x34], al
test dl, 0x10
je 0x405e4a
mov al, 0xa0
mov byte [esp + 0x34], al
jmp 0x405e6d
test dl, 0x20
je 0x405e57
mov al, 0xa1
mov byte [esp + 0x34], al
jmp 0x405e6d
cmp byte [ebp + 0x20], 0
jne 0x405e67
test bl, bl
je 0x405e67
mov al, cl
mov byte [esp + 0x34], al
mov dl, byte [0x4a2c2d]
mov byte [esp + 0x30], 0
test dl, 1
je 0x405e7e
mov byte [esp + 0x30], 0xa2
jmp 0x405e9b
test dl, 2
je 0x405e8a
mov byte [esp + 0x30], 0xa3
jmp 0x405e9b
cmp byte [ebp + 0x20], 0
jne 0x405e9b
cmp byte [esp + 0x21], 0
je 0x405e9b
mov byte [esp + 0x30], cl
mov esi, dword [esp + 0x34]
xor bl, bl
test al, al
je 0x405ec0
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 1
call fcn.0040e7c0
mov cl, byte [ebp + 0x18]
add esp, 0x18
mov bl, 1
cmp byte [esp + 0x30], 0
je 0x405ee4
mov eax, dword [esp + 0x30]
push 0xffc3d44d
push 0
push 0
push 0
push eax
push 1
call fcn.0040e7c0
mov cl, byte [ebp + 0x18]
add esp, 0x18
cmp byte [esp + 0x22], 0
je 0x405ef3
cmp byte [ebp + 0x20], 0
jne 0x405efb
jmp 0x405ef7
mov cl, byte [esp + 0x11]
test cl, cl
jne 0x405f12
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040e7c0
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040e7c0
add esp, 0x18
test bl, bl
je 0x405f4a
cmp byte [esp + 0x23], 0
jne 0x405f4a
push 0xffc3d44d
push 0
push 0
push 0
push esi
push 0
call fcn.0040e7c0
add esp, 0x18
mov byte [0x4a1b48], 1
jmp 0x40605e
cmp byte [0x4a1b48], 0
jne 0x405f80
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x10]
push 0
push 0x3fff
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
mov cl, byte [ebp + 0x18]
push esi
jmp 0x4062a4
cmp byte [ebp + 0x20], 0
mov ebx, dword [ebp + 0x18]
jne 0x405fb3
cmp bl, 0xa2
je 0x405f9d
cmp bl, 0xa3
je 0x405f9d
cmp bl, 0xa0
je 0x405f9d
cmp bl, 0xa1
jne 0x405fb3
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.0040e7c0
add esp, 0x18
test byte [0x4a2c2d], 0xc
je 0x405fcc
cmp byte [ebp + 0x20], 0
je 0x405fe3
cmp bl, 0xa4
je 0x405fcc
cmp bl, 0xa5
jne 0x405fe3
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 0
call fcn.0040e7c0
add esp, 0x18
mov edx, 0x3ffd
xor bl, bl
cmp di, dx
jne 0x406011
test byte [0x4a2c2d], 0x30
jne 0x406011
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 0
call fcn.0040e7c0
add esp, 0x18
mov bl, 1
push 0xffc3d44d
push 0
push 0
push 0
push 9
push 2
call fcn.0040e7c0
add esp, 0x18
test bl, bl
je 0x40605e
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push 1
call fcn.0040e7c0
add esp, 0x18
jmp 0x40605e
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x1e], 5
jne 0x40605e
movzx eax, word [eax + 0x1c]
shl eax, 0x10
or dword [esp + 0x28], eax
cmp byte [esp + 0x13], 0
mov edi, dword [esp + 0x18]
mov ebx, dword [ebp + 0x20]
mov ecx, dword [esp + 0x14]
mov byte [edi + 4], 0x68
je 0x4060d3
test bl, bl
je 0x4061ca
cmp byte [ecx + 8], 0
je 0x4060d3
mov esi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
push 0xffc3d44e
push 0
push 0
push esi
push ebx
push 1
call fcn.0040e7c0
push 0xffc3d44d
push 0
push 0
push esi
push ebx
push 2
call fcn.0040e7c0
mov ecx, dword [esp + 0x58]
mov eax, dword [ebp + 8]
push 0
push SysReAllocString
push ecx
mov ecx, dword [ebp + 0x14]
push edi
push esi
push ebx
mov bl, byte [ebp + 0x20]
call fcn.004063e0
add esp, 0x48
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, bl
je 0x4061ca
cmp byte [ecx + 4], 0
je 0x40611a
cmp byte [ecx + 0x10], 0
mov edx, dword [esp + 0x28]
je 0x406101
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push 0
push SysReAllocString
push edx
push edi
push eax
push ecx
jmp 0x40588b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 1
push edx
mov edx, dword [ebp + 8]
push edi
push ebx
push eax
push ecx
mov cl, byte [ebp + 0x18]
push edx
jmp 0x4062a4
cmp byte [esp + 0x12], 0
jne 0x40612e
mov eax, dword [esp + 0x24]
test byte [eax], 1
je 0x406262
mov esi, dword [ebp + 8]
cmp esi, dword [0x4a2d64]
jne 0x406153
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push ecx
mov cl, byte [ebp + 0x18]
push edi
push ebx
push edx
push eax
push esi
jmp 0x4062a4
mov eax, dword [ecx]
test eax, eax
je 0x406162
cmp dword [eax], 7
je 0x406162
mov al, 1
jmp 0x406164
xor al, al
cmp byte [ecx + 0x10], 0
je 0x4061aa
cmp byte [esp + 0x2f], 0
jne 0x4061aa
test al, al
jne 0x4061ae
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push 0xffc3d44d
push 0
push 0
push ecx
push edx
push 0
call fcn.0040e7c0
add esp, 0x18
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
push eax
push edi
push ebx
push ecx
mov cl, byte [ebp + 0x18]
push edx
push esi
jmp 0x4062a4
test al, al
je 0x406190
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push 0
push SysReAllocString
push eax
push edi
push ecx
push edx
mov eax, esi
jmp 0x40588e
mov eax, dword [0x4a1b44]
mov byte [ecx + 0xf], 1
test eax, eax
je 0x4061e1
cmp byte [eax + 4], 0
je 0x4061e1
mov byte [eax + 0x11], 2
cmp byte [esp + 0x12], 0
je 0x40620c
mov eax, dword [esp + 0x24]
or byte [eax], 8
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
push eax
mov eax, dword [ebp + 8]
push edi
push ebx
push ecx
mov cl, byte [ebp + 0x18]
push edx
push eax
jmp 0x4062a4
mov ebx, dword [ebp + 0x18]
cmp bl, 0xa4
je 0x406219
cmp bl, 0xa5
jne 0x40625f
mov al, byte [0x4a2c2d]
test al, 0xc0
je 0x406243
test al, 0x33
jne 0x406243
movzx ecx, byte [0x49f365]
push 0xffc3d44d
push 0
push 0
push 0
push ecx
push 2
call fcn.0040e7c0
add esp, 0x18
mov edx, dword [ebp + 0x1c]
push 0xffc3d44d
push 0
push 0
push edx
push ebx
push 1
call fcn.0040e7c0
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov ebx, dword [ebp + 0x20]
test bl, bl
jne 0x40626a
mov byte [ecx + 0x10], 1
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x1c]
push 0
push SysReAllocString
push eax
push edi
push ecx
jmp 0x405887
mov eax, dword [ebp + 0x20]
push 0
push 0x3fff
test al, al
sete cl
push ebx
mov byte [esi + 0xf], 0
mov byte [esi + 0xc], cl
push eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
mov cl, byte [ebp + 0x18]
push edi
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
call fcn.004064d0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret