Function at 0x492180
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dc1ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2b2c
call fcn.004d5830
mov eax, dword [ebp + 8]
mov al, byte [eax + 2]
push ebx
mov ecx, 6
cmp cl, al
push esi
push edi
sbb edi, edi
and edi, dword [0x51ae20]
mov dl, 5
cmp dl, al
sbb ecx, ecx
and ecx, dword [0x51ae1c]
mov dl, 7
cmp dl, al
sbb eax, eax
and eax, dword [0x51ae24]
mov dword [esp + 0x120], ecx
mov ecx, dword [0x51ae08]
xor esi, esi
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xe4], eax
cmp edi, esi
je 0x492201
test byte [edi + 0x15], 2
je 0x492201
mov bl, 1
jmp 0x492203
xor bl, bl
push 0x1000
push esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xcc], 0x800
call fcn.004caea7
add esp, 8
cmp eax, esi
jne 0x492240
push esi
call fcn.004ca991
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], esi
jmp 0x492253
xor ecx, ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], esi
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x2b44], esi
mov byte [esp + 0xd], 0
mov byte [esp + 0xc], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x150], 0xffffff
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
mov byte [esp + 0x36], 1
mov byte [esp + 0x23], 0
cmp eax, esi
jne 0x4922be
cmp dword [ebp + 0xc], esi
jne 0x4922be
mov dword [esp + 0x5c], esi
jmp 0x4922c6
sub eax, dword [ebp + 0xc]
inc eax
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x18]
cmp eax, esi
jne 0x4922d8
cmp dword [ebp + 0x10], esi
jne 0x4922d8
mov dword [esp + 0x68], esi
jmp 0x4922e0
sub eax, dword [ebp + 0x10]
inc eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x9c], esi
mov byte [esp + 0x21], 0
mov byte [esp + 0x1f], 1
mov byte [esp + 0x35], 0
mov byte [esp + 0x57], 0
mov byte [esp + 0x22], 0
mov byte [esp + 0x2d], 1
mov dword [esp + 0xa0], esi
mov dword [esp + 0x140], esi
mov dword [esp + 0x144], esi
mov byte [esp + 0x6f], 0
mov byte [esp + 0x7b], 0
mov byte [esp + 0x55], 0
mov dword [esp + 0x98], esi
mov byte [esp + 0x2e], 0
mov dword [esp + 0xac], esi
mov byte [esp + 0x17], 0
mov dword [esp + 0xa8], esi
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], esi
mov byte [esp + 0x16], 0
mov dword [esp + 0xa4], esi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], esi
xor eax, eax
mov byte [esp + 0x15], 0
mov byte [esp + 0x37], 0
mov dword [esp + 0x90], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x64], esi
mov byte [esp + 0x20], 0
mov byte [esp + 0x56], 0
mov byte [esp + 0x130], 0
mov byte [esp + 0x148], 0
mov byte [esp + 0x188], 0
mov byte [esp + 0x184], 0
mov byte [esp + 0x198], 0
mov byte [esp + 0x1a8], 0
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x1a0], esi
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x19c], esi
mov dword [esp + 0x1c8], esi
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], esi
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], esi
mov dword [esp + 0x15c], esi
mov dword [esp + 0x158], esi
mov dword [esp + 0x154], esi
mov byte [esp + 0x2b44], 5
test bl, bl
je 0x493308
push str._8_._
call fcn.004a4b10
xor ebx, ebx
add esp, 4
mov dword [esp + 0x14c], eax
mov dword [esp + 0x7c], ebx
cmp byte [edi + 0x17], bl
jne 0x492487
mov edi, dword [edi + 0xc]
mov esi, dword [edi]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x10], esi
cmp ecx, ebx
jle 0x4924e0
mov edx, dword [esi + 0xc]
add ecx, ecx
cmp dword [edx + ecx*8 - 8], ebx
je 0x4924e0
mov dword [esp + 0x3a0], eax
lea eax, [esp + 0x3a0]
push eax
lea ecx, [esp + 0x1ec]
push ecx
mov ecx, esi
mov dword [esp + 0x3b0], 5
mov dword [esp + 0x3ac], ebx
call fcn.0041b2d0
test al, al
je 0x492521
jmp 0x4924e0
lea eax, [esp + 0x1dc]
lea edx, [esp + 0x410]
push eax
mov ebx, 1
mov dword [esp + 0x1e0], edx
mov dword [esp + 0x41c], 6
mov dword [esp + 0x414], esi
call fcn.0049ee70
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x7c], eax
xor ebx, ebx
mov esi, eax
mov eax, dword [esi + 0x18]
cmp eax, ebx
jle 0x492537
mov ecx, dword [esi + 0xc]
add eax, eax
mov edx, dword [ecx + eax*8 - 8]
mov dword [esp + 0x70], edx
jmp 0x49253b
mov dword [esp + 0x70], ebx
mov eax, 1
mov dword [esp + 0x94], eax
cmp dword [esp + 0x70], eax
jl 0x492fc1
cmp byte [esp + 0xc], 0
jne 0x492fc1
mov ecx, dword [esp + 0x94]
push 0xa
lea eax, [esp + 0x5a8]
push eax
push ecx
call fcn.004c98e5
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x300]
mov dword [esp + 0x300], eax
push edx
lea eax, [esp + 0x1ec]
push eax
mov dword [esp + 0x310], 5
mov dword [esp + 0x30c], 0
call fcn.0041b2d0
test al, al
je 0x492fa8
cmp dword [esp + 0x1f0], 6
jne 0x4932b1
mov ecx, dword [esp + 0x1e8]
mov ebx, ecx
mov dword [esp + 0x18], ebx
test ecx, ecx
je 0x492fa3
mov edx, dword [esp + 0x14c]
lea eax, [esp + 0x310]
mov dword [esp + 0x310], edx
push eax
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x320], 5
mov dword [esp + 0x31c], 0
call fcn.0041b2d0
test al, al
je 0x4932b1
mov edi, dword [esp + 0x40]
test edi, edi
je 0x4932b1
push 0x50d7a4
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
je 0x492690
cmp word [edi], 0x2a
jne 0x49267b
push 0x50d7a4
call fcn.004a4b10
add esp, 4
push eax
lea eax, [edi + 2]
push eax
call fcn.004c9bad
add esp, 8
test eax, eax
je 0x492690
cmp word [edi], 0x2a
jne 0x49267b
push 1
push 0
push 0x4ec720
lea esi, [esp + 0xd0]
jmp 0x4932ed
push 1
push 0
push 0x50dad4
lea esi, [esp + 0xd0]
jmp 0x4932ed
cmp dword [esp + 0x3c], 0
mov byte [esp + 0x20], 1
jne 0x4926b9
push 0x10
call fcn.004cb48c
add esp, 4
test eax, eax
je 0x4926b3
mov esi, eax
call fcn.00414f90
jmp 0x4926b5
xor eax, eax
mov dword [esp + 0x3c], eax
push 0x50d37c
call fcn.004a4b10
add esp, 4
push ebx
lea esi, [esp + 0x44]
lea ecx, [esp + 0x84]
call fcn.004989a0
add esp, 4
test al, al
je 0x4926e9
and dword [esp + 0x80], 0xffffff
push 0
push 0x50d7c8
call fcn.004a4b10
lea ecx, [esp + 0x138]
add esp, 4
push ecx
mov edx, eax
lea esi, [esp + 0x48]
mov edi, ebx
call fcn.004988e0
add esp, 8
push 0
push 0x50d7ec
call fcn.004a4b10
lea edx, [esp + 0x150]
add esp, 4
push edx
mov edx, eax
call fcn.004988e0
add esp, 8
push 0
push 0x50d818
call fcn.004a4b10
lea ecx, [esp + 0x190]
add esp, 4
push ecx
mov edx, eax
call fcn.004988e0
add esp, 8
push 0
push 0x50d840
call fcn.004a4b10
lea edx, [esp + 0x18c]
add esp, 4
push edx
mov edx, eax
call fcn.004988e0
add esp, 8
push 0
push 0x50d868
call fcn.004a4b10
lea ecx, [esp + 0x1a0]
add esp, 4
push ecx
mov edx, eax
call fcn.004988e0
push 0x50d894
call fcn.004a4b10
add esp, 0xc
push ebx
lea edi, [esp + 0x1b0]
call fcn.00498880
add esp, 4
push 0x50d8b8
call fcn.004a4b10
add esp, 4
push ebx
lea edi, [esp + 0x1a4]
call fcn.00498880
add esp, 4
push 0x50d8dc
call fcn.004a4b10
add esp, 4
lea edx, [esp + 0x3c0]
mov dword [esp + 0x3c0], eax
push edx
lea eax, [esp + 0x44]
mov edi, 5
xor esi, esi
push eax
mov ecx, ebx
mov dword [esp + 0x3d0], edi
mov dword [esp + 0x3cc], esi
call fcn.0041b2d0
test al, al
je 0x492829
lea ecx, [esp + 0x1d8]
push ecx
lea edx, [esp + 0x1cc]
xor ecx, ecx
lea eax, [esp + 0x44]
call fcn.00495ae0
add esp, 4
push 0x50d904
call fcn.004a4b10
add esp, 4
lea edx, [esp + 0x3e0]
mov dword [esp + 0x3e0], eax
push edx
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
mov dword [esp + 0x3f0], edi
mov dword [esp + 0x3ec], esi
call fcn.0041b2d0
test al, al
je 0x492880
lea ecx, [esp + 0x1d9]
push ecx
lea edx, [esp + 0x1d4]
xor ecx, ecx
lea eax, [esp + 0x44]
call fcn.00495ae0
add esp, 4
push 0x50d92c
call fcn.004a4b10
add esp, 4
push eax
push 0x50d960
call fcn.004a4b10
lea edx, [esp + 0x1e2]
add esp, 4
push edx
mov edx, eax
lea esi, [esp + 0x48]
mov edi, ebx
call fcn.004988e0
add esp, 8
push 0
push 0x50d994
call fcn.004a4b10
lea ecx, [esp + 0x1b0]
add esp, 4
push ecx
mov edx, eax
call fcn.004988e0
push 0x50d9c4
call fcn.004a4b10
add esp, 0xc
push ebx
lea edi, [esp + 0x1a0]
call fcn.00498880
add esp, 4
push 0x50d9ec
call fcn.004a4b10
add esp, 4
push ebx
lea edi, [esp + 0x1a8]
call fcn.00498880
add esp, 4
push str._a___v_
call fcn.004a4b10
add esp, 4
lea edx, [esp + 0x400]
mov dword [esp + 0x400], eax
push edx
mov eax, esi
push eax
mov ecx, ebx
mov dword [esp + 0x410], 5
mov dword [esp + 0x40c], 0
call fcn.0041b2d0
test al, al
je 0x49298d
cmp dword [esp + 0x48], 5
jne 0x492967
lea ecx, [esp + 0x2f]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00498710
add esp, 4
test al, al
je 0x49297d
cmp dword [esp + 0x48], 1
jne 0x492982
mov edx, dword [esp + 0x40]
or edx, dword [esp + 0x44]
mov byte [esp + 0x2f], 1
jne 0x492982
mov byte [esp + 0x2f], 0
mov eax, dword [esp + 0x3c]
mov cl, byte [esp + 0x2f]
mov byte [eax + 0xc], cl
push 0x50da48
call fcn.004a4b10
add esp, 4
lea edx, [esp + 0x3d0]
mov dword [esp + 0x3d0], eax
push edx
lea eax, [esp + 0x44]
mov esi, 5
xor edi, edi
push eax
mov ecx, ebx
mov dword [esp + 0x3e0], esi
mov dword [esp + 0x3dc], edi
call fcn.0041b2d0
test al, al
je 0x492a8f
mov eax, dword [esp + 0x48]
mov byte [esp + 0x56], 1
cmp eax, esi
jne 0x4929f5
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x114]
call fcn.00414350
mov ebx, dword [esp + 0x18]
jmp 0x492a12
cmp eax, 1
jne 0x492a0d
mov ecx, dword [esp + 0x40]
push ecx
lea eax, [esp + 0x118]
call fcn.00414210
jmp 0x492a12
mov byte [esp + 0xc], 1
lea eax, [esp + 0x114]
call fcn.00414e80
test eax, eax
jne 0x492a29
mov edx, dword [esp + 0x3c]
push edx
jmp 0x492a94
push str.6_3
call fcn.004a4b10
add esp, 4
mov dword [esp + 0x360], eax
lea eax, [esp + 0x360]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
mov dword [esp + 0x370], esi
mov dword [esp + 0x36c], edi
call fcn.0041b2d0
test al, al
je 0x492a99
cmp dword [esp + 0x48], esi
jne 0x492a99
push str.4_799
call fcn.004a4b10
mov edx, dword [esp + 0x44]
add esp, 4
push eax
push edx
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x492a99
mov eax, dword [esp + 0x3c]
push eax
jmp 0x492a94
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00415220
push str.6_3
call fcn.004a4b10
add esp, 4
lea edx, [esp + 0x320]
mov dword [esp + 0x320], eax
push edx
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
mov dword [esp + 0x330], esi
mov dword [esp + 0x32c], edi
call fcn.0041b2d0
test al, al
je 0x492ae4
cmp dword [esp + 0x48], 6
jne 0x492ae4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov ebx, ecx
push 0x50da80
call fcn.004a4b10
add esp, 4
lea edx, [esp + 0x380]
mov dword [esp + 0x380], eax
push edx
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
mov dword [esp + 0x390], esi
mov dword [esp + 0x38c], edi
call fcn.0041b2d0
test al, al
je 0x492c80
mov eax, dword [esp + 0x48]
cmp eax, esi
jne 0x492b83
mov eax, dword [esp + 0x40]
cmp word [eax], di
je 0x492c80
xor edi, edi
call fcn.00409d80
mov esi, eax
test esi, esi
je 0x492c80
jmp 0x492b50
cmp word [esi], 0x2c
je 0x492d97
call fcn.0041ac40
mov ecx, dword [esp + 0x3c]
cmp byte [ecx + 0xd], 0
je 0x492d57
cmp edi, 9
ja 0x492d57
mov ecx, dword [ecx + 4]
mov dword [ecx + edi*4], eax
mov al, 1
jmp 0x492d59
cmp eax, 6
jne 0x492d97
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
cmp ecx, edi
je 0x492d97
call fcn.00456f50
cmp eax, 0xa
jne 0x492d97
mov dword [esp + 0x60], edi
mov edi, edi
push 0xa
lea ecx, [esp + 0x5a8]
push ecx
lea ebx, [edi + 1]
push ebx
call fcn.004c98e5
mov ecx, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x2f0]
mov dword [esp + 0x2f0], eax
push edx
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x300], 5
mov dword [esp + 0x2fc], 0
call fcn.0041b2d0
test al, al
je 0x492c6c
mov eax, dword [esp + 0x48]
cmp eax, 5
je 0x492c1e
cmp eax, 1
je 0x492c3e
cmp eax, 2
jne 0x492d4d
cmp eax, eax
jne 0x492c44
fld qword [esp + 0x40]
jmp 0x492c46
mov esi, dword [esp + 0x40]
call fcn.0041ac40
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], edx
fild qword [esp + 0x108]
jmp 0x492c46
fild qword [esp + 0x40]
jmp 0x492c46
fldz
call fcn.004d8ac0
mov ecx, dword [esp + 0x3c]
cmp byte [ecx + 0xd], 0
je 0x492d4d
cmp edi, 9
ja 0x492d4d
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x60]
mov dword [edx + ecx], eax
add dword [esp + 0x60], 4
mov edi, ebx
cmp edi, 0xa
jl 0x492bb0
mov ebx, dword [esp + 0x18]
push 0x50da9c
call fcn.004a4b10
add esp, 4
lea edx, [esp + 0x350]
mov dword [esp + 0x350], eax
push edx
lea eax, [esp + 0x44]
xor edi, edi
push eax
mov ecx, ebx
mov dword [esp + 0x360], 5
mov dword [esp + 0x35c], edi
call fcn.0041b2d0
test al, al
je 0x492e8f
mov eax, dword [esp + 0x48]
cmp eax, 5
jne 0x492da1
mov eax, dword [esp + 0x40]
cmp word [eax], di
je 0x492e8f
xor ebx, ebx
call fcn.00409d80
mov esi, eax
test esi, esi
je 0x492e8f
nop
cmp word [esi], 0x2c
je 0x492e8a
call fcn.0041ac40
mov ecx, dword [esp + 0x3c]
mov edx, eax
mov eax, ebx
call fcn.00415030
inc ebx
test al, al
je 0x492e8a
add esi, 2
push 0x2c
push esi
call fcn.004ca9cb
add esp, 8
test eax, eax
je 0x492e85
add eax, 2
je 0x492e85
cmp ebx, 0x50
jge 0x492e8a
call fcn.00409d80
mov esi, eax
test esi, esi
jne 0x492cf0
jmp 0x492e8f
mov byte [esp + 0xc], 1
jmp 0x492c7c
xor al, al
inc edi
test al, al
je 0x492d97
add esi, 2
push 0x2c
push esi
call fcn.004ca9cb
add esp, 8
test eax, eax
je 0x492d8e
add eax, 2
je 0x492d8e
cmp edi, 0xa
jge 0x492d97
call fcn.00409d80
mov esi, eax
test esi, esi
jne 0x492b50
jmp 0x492c80
cmp edi, 0xa
jge 0x492c80
mov byte [esp + 0xc], 1
jmp 0x492c80
cmp eax, 6
jne 0x492e8a
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
cmp ecx, edi
je 0x492e8a
call fcn.00456f50
cmp eax, 0x50
jne 0x492e8a
jmp 0x492dd0
push 0xa
lea ecx, [esp + 0x5a8]
push ecx
lea ebx, [edi + 1]
push ebx
call fcn.004c98e5
mov ecx, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x3b0]
mov dword [esp + 0x3b0], eax
push edx
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x3c0], 5
mov dword [esp + 0x3bc], 0
call fcn.0041b2d0
test al, al
je 0x492e78
mov eax, dword [esp + 0x48]
cmp eax, 5
je 0x492e3a
cmp eax, 1
je 0x492e5a
cmp eax, 2
jne 0x492e8a
cmp eax, eax
jne 0x492e60
fld qword [esp + 0x40]
jmp 0x492e62
mov esi, dword [esp + 0x40]
call fcn.0041ac40
mov dword [esp + 0x1e0], eax
mov dword [esp + 0x1e4], edx
fild qword [esp + 0x1e0]
jmp 0x492e62
fild qword [esp + 0x40]
jmp 0x492e62
fldz
call fcn.004d8ac0
mov ecx, dword [esp + 0x3c]
mov edx, eax
mov eax, edi
call fcn.00415030
test al, al
je 0x492e8a
mov edi, ebx
cmp edi, 0x50
jl 0x492dd0
jmp 0x492e8f
cmp ebx, 0x50
jge 0x492e8f
mov byte [esp + 0xc], 1
push 0x50dab8
call fcn.004a4b10
mov esi, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x370]
push ecx
lea edx, [esp + 0x44]
mov edi, 5
xor ebx, ebx
push edx
mov ecx, esi
mov dword [esp + 0x380], edi
mov dword [esp + 0x378], eax
mov dword [esp + 0x37c], ebx
call fcn.0041b2d0
test al, al
je 0x492ee5
cmp dword [esp + 0x48], 6
jne 0x492ee5
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov esi, eax
push 0x50dab8
call fcn.004a4b10
add esp, 4
lea ecx, [esp + 0x3f0]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, esi
mov dword [esp + 0x400], edi
mov dword [esp + 0x3f8], eax
mov dword [esp + 0x3fc], ebx
call fcn.0041b2d0
test al, al
je 0x492fe1
cmp dword [esp + 0x48], edi
jne 0x492fe1
mov eax, dword [esp + 0x40]
cmp word [eax], bx
je 0x492fa8
xor edi, edi
call fcn.00409d80
mov esi, eax
cmp esi, ebx
je 0x492fa8
cmp word [esi], 0x2c
je 0x492fa3
call fcn.0041ac40
mov ecx, dword [esp + 0x3c]
cmp byte [ecx + 0xd], bl
je 0x492f68
cmp edi, 0xf9
ja 0x492f68
mov ecx, dword [ecx]
mov dword [ecx + edi*4], eax
mov al, 1
jmp 0x492f6a
xor al, al
inc edi
test al, al
je 0x492fa3
add esi, 2
push 0x2c
push esi
call fcn.004ca9cb
add esp, 8
cmp eax, ebx
je 0x492f9b
add eax, 2
je 0x492f9b
cmp edi, 0xfa
jge 0x492fa3
call fcn.00409d80
mov esi, eax
cmp esi, ebx
jne 0x492f43
jmp 0x492fa8
cmp edi, 0xfa
jge 0x492fa8
mov byte [esp + 0xc], 1
mov eax, dword [esp + 0x94]
inc eax
mov dword [esp + 0x94], eax
cmp eax, dword [esp + 0x70]
jle 0x492551
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0xc8]
test eax, eax
je 0x493310
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x493310
mov ecx, esi
call fcn.00456f50
cmp eax, 0xfa
jne 0x4930dc
mov dword [esp + 0x60], ebx
xor edi, edi
lea esp, [esp]
push 0xa
lea edx, [esp + 0x5a8]
push edx
lea ebx, [edi + 1]
push ebx
call fcn.004c98e5
add esp, 0xc
mov dword [esp + 0x390], eax
lea eax, [esp + 0x390]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3a0], 5
mov dword [esp + 0x39c], 0
call fcn.0041b2d0
test al, al
je 0x492fa3
mov eax, dword [esp + 0x48]
cmp eax, 5
je 0x493072
cmp eax, 1
je 0x493092
cmp eax, 2
jne 0x492fa3
cmp eax, eax
jne 0x493098
fld qword [esp + 0x40]
jmp 0x49309a
mov esi, dword [esp + 0x40]
call fcn.0041ac40
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
fild qword [esp + 0xb0]
jmp 0x49309a
fild qword [esp + 0x40]
jmp 0x49309a
fldz
call fcn.004d8ac0
mov ecx, dword [esp + 0x3c]
cmp byte [ecx + 0xd], 0
je 0x492fa3
cmp edi, 0xf9
ja 0x492fa3
mov edx, dword [ecx]
mov ecx, dword [esp + 0x60]
mov dword [ecx + edx], eax
mov edi, ebx
add ecx, 4
mov dword [esp + 0x60], ecx
cmp edi, 0xfa
jl 0x493000
jmp 0x492fa8
xor ebx, ebx
mov dword [esp + 0x60], ebx
cmp byte [esp + 0xc], 0
jne 0x492fa8
push 0xa
lea eax, [esp + 0x5a8]
push eax
push ebx
call fcn.004c98e5
add esp, 0xc
lea ecx, [esp + 0x330]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, esi
mov dword [esp + 0x340], edi
mov dword [esp + 0x338], eax
mov dword [esp + 0x33c], 0
call fcn.0041b2d0
test al, al
je 0x493291
mov eax, dword [esp + 0x48]
cmp eax, 6
jne 0x493228
mov ecx, dword [esp + 0x40]
xor edi, edi
mov dword [esp + 0x30], ecx
call fcn.00456f50
cmp eax, 0x19
jne 0x492fa3
lea ebx, [ebx]
push 0xa
lea eax, [esp + 0x5a8]
push eax
lea ebx, [edi + 1]
push ebx
call fcn.004c98e5
add esp, 0xc
lea ecx, [esp + 0x340]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x350], 5
mov dword [esp + 0x348], eax
mov dword [esp + 0x34c], 0
call fcn.0041b2d0
test al, al
je 0x493218
mov eax, dword [esp + 0x48]
cmp eax, 5
je 0x4931ca
cmp eax, 1
je 0x4931ea
cmp eax, 2
jne 0x493218
cmp eax, eax
jne 0x4931f0
fld qword [esp + 0x40]
jmp 0x4931f2
mov esi, dword [esp + 0x40]
call fcn.0041ac40
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], edx
fild qword [esp + 0xd0]
jmp 0x4931f2
fild qword [esp + 0x40]
jmp 0x4931f2
fldz
call fcn.004d8ac0
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x64]
mov edx, edi
call fcn.00415050
test al, al
je 0x493218
mov edi, ebx
cmp edi, 0x19
jl 0x493160
jmp 0x493291
mov byte [esp + 0xc], 1
cmp edi, 0x19
jl 0x492fa3
jmp 0x493291
cmp eax, edi
jne 0x493291
mov eax, dword [esp + 0x40]
xor edi, edi
call fcn.00409d80
mov esi, eax
test esi, esi
je 0x493291
lea ecx, [ecx]
cmp word [esi], 0x2c
je 0x49328c
call fcn.0041ac40
mov ecx, dword [esp + 0x3c]
push eax
mov edx, edi
mov eax, ebx
call fcn.00415050
inc edi
test al, al
je 0x49328c
add esi, 2
push 0x2c
push esi
call fcn.004ca9cb
add esp, 8
test eax, eax
je 0x493287
add eax, 2
je 0x493287
cmp edi, 0x19
jge 0x49328c
call fcn.00409d80
mov esi, eax
test esi, esi
jne 0x493240
jmp 0x493291
cmp edi, 0x19
jge 0x493291
mov byte [esp + 0xc], 1
mov ebx, dword [esp + 0x60]
inc ebx
mov dword [esp + 0x60], ebx
cmp ebx, 0xa
jge 0x492fa8
mov esi, dword [esp + 0x18]
mov edi, 5
jmp 0x4930e2
cmp dword [esp + 0x1f0], 5
jne 0x492fa3
mov eax, dword [esp + 0x1e8]
mov edi, eax
test eax, eax
je 0x492fa3
cmp word [eax], 0x2a
push 1
lea esi, [esp + 0xc8]
push 0
jne 0x4932e8
push 0x4ec720
jmp 0x4932ed
push 0x50dad4
call fcn.004148c0
push 1
push 0
push edi
lea esi, [esp + 0xd0]
call fcn.004148c0
jmp 0x492fa8
mov edi, dword [ebp + 0x20]
jmp 0x493310
movzx eax, word [edi]
cmp eax, 0x20
je 0x49331d
cmp eax, 9
jne 0x493322
add edi, 2
jmp 0x493310
cmp word [edi], 0x2a
mov dword [esp + 0x10], edi
jne 0x493d37
jmp 0x493336
mov edi, dword [esp + 0x10]
push 0xa
mov esi, 2
push 0x50dadc
add edi, esi
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493366
add edi, 0x14
mov byte [esp + 0x1f], al
jmp 0x49346f
mov eax, dword [0x51e6d4]
push esi
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493390
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
add edi, 4
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x68], edx
jmp 0x49346f
push 7
push 0x50db04
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x4933de
lea eax, [esp + 0x10]
add edi, 0xe
push eax
lea esi, [esp + 0x154]
mov dword [esp + 0x14], edi
call fcn.004958e0
mov edi, dword [esp + 0x14]
add esp, 4
test al, al
jne 0x49346f
mov byte [esp + 0xc], 1
jmp 0x49346f
push 0xa
push 0x50db24
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493405
add edi, 0x14
mov byte [esp + 0x6f], 1
jmp 0x49346f
push 0xc
push 0x50db4c
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493528
lea ebx, [edi + 0x18]
lea eax, [esp + 0x124]
mov byte [esp + 0x16], 1
mov dword [esp + 0xa4], 1
call fcn.00414350
test eax, eax
jne 0x49344e
mov byte [esp + 0xc], 1
lea eax, [edi + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x493454
sub eax, edx
sar eax, 1
lea ecx, [edi + eax*2 + 0x18]
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4934b1
movzx eax, word [edi]
test ax, ax
je 0x4934b1
jmp 0x493480
movzx edx, ax
mov ecx, 0x4ebd9c
mov eax, 0x20
lea ecx, [ecx]
cmp dx, ax
je 0x493d21
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x493490
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x493480
xor eax, eax
mov dword [esp + 0x10], eax
test eax, eax
je 0x4934da
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x20
je 0x4934bb
cmp ecx, 9
je 0x4934bb
cmp word [eax], 0x2a
mov dword [esp + 0x10], eax
je 0x493332
cmp byte [esp + 0x57], 0
je 0x4934f5
cmp dword [esp + 0xa0], 0
jne 0x4934f0
mov byte [esp + 0xc], 1
mov byte [esp + 0x35], 1
cmp byte [esp + 0x17], 0
je 0x493d37
cmp byte [esp + 0x16], 0
je 0x493d37
mov eax, dword [esp + 0xa8]
cmp eax, 2
jne 0x493d28
cmp dword [esp + 0xa4], 1
jmp 0x493d35
push 9
push 0x50d7a4
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493552
add edi, 0x12
mov byte [esp + 0x20], 1
jmp 0x49346f
push 0xb
push 0x50db78
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493583
add edi, 0x16
mov byte [esp + 0x16], 1
mov dword [esp + 0xa4], esi
jmp 0x49346f
push 9
push 0x50dba0
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x49363b
push 0x7ff
add edi, 0x12
lea edx, [esp + 0xb3c]
push edi
push edx
mov byte [esp + 0x23], 1
mov dword [esp + 0xb4], 1
call fcn.004cb3f1
xor eax, eax
mov word [esp + 0x1b42], ax
add esp, 0xc
mov ebx, 0x4ebd9c
lea eax, [esp + 0xb38]
call fcn.00409d30
test eax, eax
je 0x4935f1
xor ecx, ecx
mov word [eax], cx
cmp word [esp + 0xb38], 0
jne 0x493603
mov byte [esp + 0xc], 1
jmp 0x493616
lea ebx, [esp + 0xb38]
lea eax, [esp + 0x134]
call fcn.00414350
lea eax, [esp + 0xb38]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x493620
sub eax, edx
sar eax, 1
lea edx, [edi + eax*2]
mov dword [esp + 0x10], edx
jmp 0x49346b
push 9
push 0x50dbc4
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x4936ef
push 0x7ff
add edi, 0x12
lea eax, [esp + 0x1b3c]
push edi
push eax
mov byte [esp + 0x23], 1
mov dword [esp + 0xb4], esi
call fcn.004cb3f1
xor ecx, ecx
add esp, 0xc
mov ebx, 0x4ebd9c
lea eax, [esp + 0x1b38]
mov word [esp + 0x2b36], cx
call fcn.00409d30
test eax, eax
je 0x4936a5
xor edx, edx
mov word [eax], dx
cmp word [esp + 0x1b38], 0
jne 0x4936b7
mov byte [esp + 0xc], 1
jmp 0x4936ca
lea ebx, [esp + 0x1b38]
lea eax, [esp + 0x134]
call fcn.00414350
lea eax, [esp + 0x1b38]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4936d4
sub eax, edx
sar eax, 1
lea eax, [edi + eax*2]
mov dword [esp + 0x10], eax
jmp 0x49346b
push 0xa
push 0x50d3c4
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x49371d
add edi, 0x14
mov byte [esp + 0xf], 1
mov byte [esp + 0x36], al
jmp 0x49346f
push 4
push 0x50d3ec
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x49374c
add edi, 8
mov byte [esp + 0xf], 1
mov byte [esp + 0x36], 1
jmp 0x49346f
push 4
push 0x50dbe8
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493776
add edi, 8
mov byte [esp + 0x55], 1
jmp 0x49346f
push 7
push 0x50dc04
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x4937a0
add edi, 0xe
mov byte [esp + 0x23], 1
jmp 0x49346f
push 0xc
push 0x50dc24
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x4937d0
add edi, 0x18
mov dword [esp + 0x9c], 0x40000000
jmp 0x49346f
push 9
push 0x50dc50
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x4937fa
add edi, 0x12
mov byte [esp + 0x21], 1
jmp 0x49346f
push 0xb
push str.P:8__
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x4938b4
push 1
add edi, 0x16
push 0x4ebe14
push edi
mov byte [esp + 0x3a], 1
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493845
add edi, esi
mov dword [esp + 0xac], esi
jmp 0x49346f
push 1
push 0x4e6a28
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493867
add edi, esi
mov dword [esp + 0xac], eax
jmp 0x49346f
movzx eax, word [edi]
cmp eax, 0x20
je 0x493883
cmp eax, 9
je 0x493883
test ax, ax
je 0x493883
mov byte [esp + 0xc], 1
jmp 0x49346f
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx edx, al
shl cx, 8
or cx, dx
mov eax, 0x603
cmp cx, ax
sbb eax, eax
and eax, 0xfffffffe
add eax, esi
mov dword [esp + 0xac], eax
jmp 0x49346f
push 5
push 0x50dc9c
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x4938de
add edi, 0xa
mov byte [esp + 0x7b], 1
jmp 0x49346f
push 4
push 0x50dcb8
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
push 0xa
test eax, eax
jne 0x493b2b
push 0x50d3c4
add edi, 8
mov byte [esp + 0x5f], 1
xor bl, bl
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493935
mov bl, 1
add edi, 0x14
mov byte [esp + 0x22], bl
mov byte [esp + 0x2d], al
jmp 0x493963
push 4
push 0x50d3ec
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x4939e1
mov bl, 1
add edi, 8
mov byte [esp + 0x22], bl
mov byte [esp + 0x2d], bl
cmp byte [esp + 0xc], 0
jne 0x49346f
cmp dword [esp + 0xa0], 0
jne 0x49346f
test bl, bl
je 0x49346f
push 0x207
lea ecx, [esp + 0x72c]
push edi
push ecx
call fcn.004cb3f1
xor edx, edx
add esp, 0xc
mov ebx, 0x4ebd9c
lea eax, [esp + 0x728]
mov word [esp + 0xb36], dx
call fcn.00409d30
test eax, eax
je 0x4939be
xor ecx, ecx
mov word [eax], cx
cmp byte [esp + 0x22], 0
je 0x493a8d
lea esi, [esp + 0x728]
call fcn.0041ac40
mov dword [esp + 0xa0], eax
jmp 0x49346f
push 4
push 0x4f1444
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493a0c
add edi, 8
mov bl, 1
mov byte [esp + 0x22], al
jmp 0x49395f
push esi
push 0x50dcd4
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493a4a
add edi, 4
mov ecx, edi
mov dword [esp + 0x10], edi
lea edi, [esp + 0x140]
call fcn.00498780
mov edi, dword [esp + 0x10]
test al, al
jne 0x493963
mov byte [esp + 0xc], 1
jmp 0x49346f
push 3
push 0x50dcdc
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493d07
add edi, 6
mov ecx, edi
mov dword [esp + 0x10], edi
lea edi, [esp + 0x144]
call fcn.00498780
mov edi, dword [esp + 0x10]
test al, al
jne 0x493963
mov byte [esp + 0xc], 1
jmp 0x49346f
push 0x207
lea edx, [esp + 0x72c]
push edi
push edx
call fcn.004cb3f1
xor eax, eax
add esp, 0xc
cmp word [esp + 0x728], 0x3c
mov word [esp + 0xb36], ax
jne 0x49346f
mov ebx, 0x50d408
lea eax, [esp + 0x72a]
call fcn.00409d30
test eax, eax
je 0x49346f
xor ecx, ecx
push ecx
push ecx
push ecx
mov word [eax], cx
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x738]
sub eax, edx
push 0
sar eax, 1
lea edx, [esp + 0x73e]
lea eax, [edi + eax*2 + 2]
push 0
push edx
mov dword [esp + 0x2c], eax
call fcn.004ad690
add esp, 0x1c
cmp dword [esp + 0x14c], 1
mov dword [esp + 0xa0], eax
jne 0x49346b
mov byte [esp + 0xc], 1
jmp 0x49346b
push 0x50dce4
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x493cc9
lea eax, [esp + 0x424]
push 0x1d
add edi, 0x14
mov ecx, eax
push edi
push ecx
mov dword [esp + 0x88], eax
call fcn.004cb3f1
lea eax, [esp + 0x430]
add esp, 0xc
xor edx, edx
push eax
mov word [esp + 0x462], dx
call fcn.004ccb85
add esp, 4
mov ebx, 0x4ebd9c
lea eax, [esp + 0x424]
call fcn.00409d30
test eax, eax
je 0x493b9d
xor ecx, ecx
mov word [eax], cx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x428]
call fcn.00498710
mov esi, dword [esp + 0x78]
add esp, 4
test esi, esi
je 0x493c08
cmp word [esp + 0x424], 0x30
jne 0x493c08
lea eax, [esp + 0x424]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x493bd0
sub eax, edx
sar eax, 1
cmp eax, 2
jbe 0x493c08
mov ebx, 0x50dd0c
lea eax, [esp + 0x428]
call fcn.00409d30
test eax, eax
je 0x493c06
lea eax, [esp + 0x428]
mov dword [esp + 0x7c], eax
jmp 0x493c08
xor esi, esi
mov eax, dword [esp + 0x7c]
mov ebx, 0x50dd0c
mov byte [esp + 0x15], 0
call fcn.00409d30
test eax, eax
je 0x493c33
lea edx, [esp + 0x64]
lea ecx, [eax + 2]
push edx
mov bl, 1
call fcn.00498710
add esp, 4
jmp 0x493c40
mov bl, byte [esp + 0x15]
mov dword [esp + 0x90], esi
xor esi, esi
xor eax, eax
test esi, esi
sets al
xor ecx, ecx
dec eax
and eax, esi
mov esi, dword [esp + 0x64]
test esi, esi
sets cl
xor edx, edx
mov dword [esp + 0x74], eax
dec ecx
and ecx, esi
cmp dword [esp + 0x90], edx
mov dword [esp + 0x64], ecx
setl dl
dec edx
and edx, dword [esp + 0x90]
mov dword [esp + 0x90], edx
test eax, eax
jne 0x493c8b
test ecx, ecx
jne 0x493c8b
mov byte [esp + 0x15], cl
test edx, edx
je 0x493c90
mov byte [esp + 0x15], 1
test bl, bl
je 0x49346f
cmp dword [esp + 0x74], 0
jne 0x493cb4
cmp dword [esp + 0x64], 0
je 0x49346f
mov byte [esp + 0x37], 1
jmp 0x49346f
cmp dword [esp + 0x64], 0
jne 0x49346f
mov byte [esp + 0x37], 1
jmp 0x49346f
push 0xa
push 0x50d37c
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x49346f
add edi, 0x14
mov ecx, edi
mov dword [esp + 0x10], edi
lea edi, [esp + 0x80]
call fcn.00498780
mov edi, dword [esp + 0x10]
test al, al
jne 0x493d11
mov byte [esp + 0xc], 1
jmp 0x49346f
and dword [esp + 0x80], 0xffffff
jmp 0x49346f
mov eax, edi
jmp 0x4934b3
cmp eax, 1
jne 0x493d37
cmp dword [esp + 0xa4], 2
je 0x493d3e
cmp byte [esp + 0xc], 0
je 0x493d48
mov byte [esp + 0xd], 0
jmp 0x494635
cmp dword [esp + 0x150], 0xffffff
jne 0x493d7c
cmp byte [esp + 0x35], 0
jne 0x493d7c
cmp byte [esp + 0x17], 0
jne 0x493d7c
cmp byte [esp + 0x16], 0
jne 0x493d7c
cmp byte [esp + 0x15], 0
jne 0x493d7c
cmp byte [esp + 0x20], 0
jne 0x493d7c
xor bl, bl
jmp 0x493d7e
mov bl, 1
cmp byte [esp + 0x7b], 0
je 0x493dd1
mov eax, dword [ebp + 0x1c]
cmp word [eax], 0
jne 0x493d3e
cmp byte [esp + 0xf], 0
jne 0x493d3e
cmp byte [esp + 0x23], 0
jne 0x493d3e
mov eax, dword [esp + 0x5c]
cmp eax, 1
jl 0x493d3e
mov ecx, dword [esp + 0x68]
cmp ecx, 1
jl 0x493d3e
mov edx, dword [esp + 0x80]
push 0
push edx
push ecx
call fcn.00495c20
add esp, 0xc
test eax, eax
mov dword [esp + 0x24], eax
setne byte [esp + 0xd]
jmp 0x494635
cmp byte [esp + 0x6f], 0
je 0x493e11
lea ecx, [esp + 0x28]
call fcn.00491ba0
test eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x1c]
setne byte [esp + 0xd]
cmp word [eax], 0
jne 0x493e07
cmp byte [esp + 0xf], 0
jne 0x493e07
cmp byte [esp + 0x23], 0
je 0x494635
mov byte [esp + 0xd], 0
jmp 0x494635
cmp byte [esp + 0xf], 0
je 0x493eaf
mov esi, dword [ebp + 0x1c]
mov eax, esi
call fcn.0040e320
test al, al
je 0x493ea4
push 0x10
push 0
push esi
call fcn.004cb90a
add esp, 0xc
mov dword [esp + 0x38], eax
cmp dword [esp + 0xe8], 0
mov esi, dword [esp + 0x38]
jne 0x494021
cmp dword [esp + 0xe4], 0
je 0x494021
test esi, esi
je 0x494017
test bl, bl
je 0x494013
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x48]
push esi
push eax
call fcn.0049b5e0
add esp, 0x2c
mov byte [esp + 0xd], al
test al, al
je 0x494645
mov byte [esp + 0xd], 1
jmp 0x494645
push esi
call fcn.004cae91
add esp, 4
jmp 0x493e37
cmp byte [esp + 0x23], 0
je 0x493f44
mov esi, dword [esp + 0x120]
lea ecx, [esp + 0x38]
push ecx
mov eax, esi
call fcn.00495d90
add esp, 4
cmp eax, 1
jne 0x493efe
mov eax, esi
call fcn.0041b0a0
cmp dword [eax], 0
je 0x494635
mov edx, dword [ebp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00495fb0
add esp, 8
test al, al
je 0x494635
cmp dword [ebp + 0xc], 0
jne 0x493e3b
cmp dword [ebp + 0x10], 0
jne 0x493e3b
cmp dword [esp + 0x5c], 0
jne 0x493e3b
cmp dword [esp + 0x68], 0
jne 0x493e3b
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 0
setne byte [esp + 0xd]
jmp 0x494635
cmp byte [esp + 0x55], 0
je 0x493f69
mov esi, dword [ebp + 0x1c]
cmp word [esi], 0
je 0x494635
call fcn.0041ac40
mov dword [esp + 0x98], eax
jmp 0x493e3b
mov eax, dword [ebp + 0x1c]
cmp word [eax], 0
je 0x493e3b
push 0
push 0
push 0
lea ecx, [esp + 0x12c]
push ecx
push 0
push 0
push eax
mov byte [esp + 0x52], 1
mov byte [esp + 0x2a], 1
call fcn.004ad690
add esp, 0x1c
mov dword [esp + 0x38], eax
test eax, eax
je 0x494635
cmp dword [esp + 0x120], 1
je 0x494635
cmp dword [ebp + 0xc], 0
jne 0x493e3b
cmp dword [ebp + 0x10], 0
jne 0x493e3b
cmp dword [esp + 0x5c], 0
jne 0x493e3b
cmp dword [esp + 0x68], 0
jne 0x493e3b
test bl, bl
je 0x493f2c
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.0049b5e0
add esp, 0x2c
mov byte [esp + 0xd], al
jmp 0x494635
mov dword [esp + 0x24], esi
mov byte [esp + 0xd], 1
jmp 0x494645
cmp byte [esp + 0xe], 0
jne 0x494558
cmp byte [esp + 0xf], 0
jne 0x494558
cmp byte [esp + 0x23], 0
jne 0x494558
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x84], eax
test eax, eax
je 0x494635
mov eax, dword [0x5165ec]
movzx esi, word [eax + 0xf0]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x68]
and esi, 3
cmp byte [esp + 0x35], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x7c], esi
je 0x4940a3
cmp byte [esp + 0x1f], 0
jne 0x4940a3
xor edi, edi
mov byte [esp + 0xe], 1
xor ebx, ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
jmp 0x4940c2
mov byte [esp + 0xe], 0
test edi, edi
je 0x4940c2
test ebx, ebx
je 0x4940c2
cmp edi, 1
jl 0x4945ff
cmp ebx, 1
jl 0x4945ff
xor eax, eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
cmp byte [esp + 0x55], al
jne 0x4940f3
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x98], eax
cmp byte [esp + 0x2e], 0
je 0x494168
test esi, esi
jne 0x494135
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0xec]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0xf4]
mov ebx, dword [esp + 0xf8]
sub edi, dword [esp + 0xec]
sub ebx, dword [esp + 0xf0]
jmp 0x494256
cmp esi, 1
jne 0x494163
mov ecx, dword [esp + 0x98]
lea eax, [esp + 0xec]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0xf4]
mov ebx, dword [esp + 0xf8]
jmp 0x494256
mov byte [esp + 0x2e], 0
test esi, esi
jne 0x4941bf
mov eax, dword [esp + 0x98]
lea edx, [esp + 0xec]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0xec]
test edi, edi
jne 0x49419a
mov edi, dword [esp + 0xf4]
sub edi, ecx
sub edi, dword [esp + 0x18]
mov eax, dword [esp + 0xf0]
test ebx, ebx
jne 0x4941b2
mov ebx, dword [esp + 0xf8]
sub ebx, eax
sub ebx, dword [esp + 0x30]
add dword [esp + 0x18], ecx
add dword [esp + 0x30], eax
jmp 0x494256
cmp esi, 1
jne 0x494233
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0xec]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
cmp edi, eax
jne 0x4941eb
mov edi, dword [esp + 0xf4]
sub edi, dword [esp + 0x18]
cmp ebx, eax
jne 0x4941fa
mov ebx, dword [esp + 0xf8]
sub ebx, dword [esp + 0x30]
lea edx, [esp + 0x108]
push edx
push esi
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x494256
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
add dword [esp + 0x18], eax
add dword [esp + 0x30], ecx
jmp 0x494256
test edi, edi
jne 0x494244
push edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
sub edi, dword [esp + 0x18]
test ebx, ebx
jne 0x494256
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
sub ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x84]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [esp + 0x58], esi
test esi, esi
je 0x4945ff
push 0x2c
lea eax, [esp + 0x200]
push 0
push eax
call fcn.004d2f90
add esp, 0xc
cmp byte [esp + 0x2e], 0
mov dword [esp + 0x1fc], 0x28
mov dword [esp + 0x208], 0x200001
push 0
je 0x4943d6
push 0
lea eax, [esp + 0x1e8]
push eax
push 0
lea ecx, [esp + 0x20c]
push ecx
push esi
mov dword [esp + 0x218], edi
mov dword [esp + 0x21c], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4945ff
mov edx, eax
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x8c], eax
test eax, eax
je 0x4945ff
mov ecx, dword [esp + 0x98]
xor eax, eax
cmp dword [esp + 0x7c], 1
sete al
or eax, dword [esp + 0xac]
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_PrintWindow]
test eax, eax
je 0x4945ff
mov edx, dword [esp + 0x8c]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [esp + 0xe], 0
mov dword [esp + 0x8c], 0
je 0x49434d
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
jmp 0x49436d
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x494359
mov edi, eax
jmp 0x49435d
sub edi, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x494369
mov ebx, eax
jmp 0x49436d
sub ebx, dword [esp + 0x30]
test edi, edi
je 0x4945fa
test ebx, ebx
je 0x4945fa
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push 0
push 0
push ecx
push edx
push ebx
push edi
push eax
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0xa8], 0
call fcn.0049b5e0
add esp, 0x2c
test al, al
je 0x4945ff
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
jmp 0x4945fa
cmp byte [esp + 0x25], 0
je 0x4944d6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [esp + 0x204], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0
lea ecx, [esp + 0xb4]
push ecx
push 0
lea edx, [esp + 0x20c]
push edx
push esi
mov dword [esp + 0x21c], eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x70], eax
test eax, eax
je 0x4945ff
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x8c], eax
test eax, eax
je 0x4945ff
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x204]
or eax, 0xcc0020
push eax
mov eax, dword [esp + 0x204]
push 0
push 0
push ecx
push edx
push eax
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x4945ff
mov ecx, dword [esp + 0x8c]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x7c]
push 0
push 0
push eax
push ecx
push ebx
push edi
push edx
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0xb8], 0
call fcn.0049b5e0
add esp, 0x2c
test al, al
je 0x4945ff
mov ecx, dword [esp + 0x70]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4945fa
push 0
lea edx, [esp + 0x30]
push edx
push 0
lea eax, [esp + 0x20c]
push eax
push esi
mov dword [esp + 0x218], edi
mov dword [esp + 0x21c], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4945ff
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x8c], eax
test eax, eax
je 0x4945ff
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
or eax, 0xcc0020
push eax
mov eax, dword [esp + 0x88]
push ecx
push edx
push eax
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x4945fa
jmp 0x4945ff
test esi, esi
je 0x494635
cmp byte [esp + 0x1f], 0
je 0x4945cf
lea ecx, [esp + 0x5d0]
push ecx
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp dword [esp + 0x5c], 0
jne 0x49458d
mov eax, dword [esp + 0x5d4]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x68], 0
jne 0x4945a2
mov eax, dword [esp + 0x5d8]
sub eax, dword [ebp + 0x10]
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x80]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push 0
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x74]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
push esi
lea edx, [esp + 0x4c]
push edx
jmp 0x4945ea
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
lea ecx, [esp + 0x4c]
push ecx
call fcn.0049b5e0
add esp, 0x2c
mov byte [esp + 0xd], al
test al, al
je 0x494635
mov byte [esp + 0xd], 1
mov eax, dword [esp + 0x84]
test eax, eax
je 0x494613
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [esp + 0x58]
test esi, esi
je 0x494635
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x49462e
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0xe8]
test ecx, ecx
je 0x494645
call fcn.0041acb0
mov ecx, dword [esp + 0xe4]
test ecx, ecx
je 0x494655
call fcn.0041acb0
cmp byte [esp + 0xd], 0
je 0x4956e1
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x160]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x494a1f
mov eax, dword [esp + 0x150]
mov esi, dword [esp + 0x164]
mov edi, dword [esp + 0x168]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
cmp eax, 0xffffff
je 0x4946de
cmp byte [esp + 0x1f], 0
je 0x4946bb
push 0
push 0
push edi
push esi
push eax
xor eax, eax
xor edx, edx
jmp 0x4946ce
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
mov edx, dword [esp + 0x64]
push edi
push esi
push eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x3c]
call fcn.004960c0
mov byte [esp + 0x21], al
add esp, 0x14
cmp byte [esp + 0xd], 0
je 0x494885
cmp byte [esp + 0x35], 0
je 0x49475c
cmp byte [esp + 0x57], 0
je 0x49475c
cmp byte [esp + 0x1f], 0
mov eax, dword [esp + 0x28]
push edi
push esi
je 0x494727
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x148]
push 0
push 0
push eax
mov eax, dword [esp + 0xb4]
push ecx
push edx
push eax
xor eax, eax
xor ecx, ecx
jmp 0x494750
mov ecx, dword [esp + 0x70]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + 0x150]
push edx
mov edx, dword [esp + 0x150]
push eax
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x7c]
call fcn.004965d0
mov byte [esp + 0x2d], al
add esp, 0x20
cmp byte [esp + 0xd], 0
je 0x494885
cmp byte [esp + 0x20], 0
je 0x494852
cmp byte [esp + 0x56], 0
jne 0x494803
mov ecx, dword [esp + 0x1a8]
mov edx, dword [esp + 0x198]
mov eax, dword [esp + 0x184]
push edi
push esi
push ecx
mov ecx, dword [esp + 0x194]
push edx
mov edx, dword [esp + 0x158]
push eax
mov eax, dword [esp + 0x144]
push ecx
mov ecx, dword [esp + 0x1b4]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x1c4]
push ecx
mov ecx, dword [esp + 0x1c4]
push edx
mov edx, dword [esp + 0x1d4]
push eax
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x1fc]
push eax
push ecx
push edx
lea eax, [esp + 0x194]
push eax
lea ecx, [esp + 0x1bc]
push ecx
call fcn.00497090
add esp, 0x48
jmp 0x49484e
mov edx, dword [esp + 0x118]
test edx, edx
je 0x494852
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x494813
sub eax, ebx
sar eax, 1
je 0x494852
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x130]
push edi
push esi
push eax
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x38]
push eax
push ecx
push edx
mov edx, dword [esp + 0x58]
push edx
call fcn.00416350
mov byte [esp + 0xd], al
cmp byte [esp + 0xd], 0
je 0x494885
cmp byte [esp + 0x16], 0
je 0x494885
cmp dword [esp + 0xa4], 2
jne 0x494885
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x124]
push eax
push edi
push esi
push ecx
call fcn.004980a0
add esp, 0x10
mov byte [esp + 0xd], al
cmp byte [esp + 0xd], 0
mov byte [esp + 0xe], 0
je 0x4956e1
cmp byte [esp + 0x17], 0
je 0x4948d6
cmp dword [esp + 0xa8], 2
jne 0x4948d6
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0xe]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x30]
push 2
push ecx
push edx
push eax
call fcn.00498310
add esp, 0x18
mov byte [esp + 0xd], al
cmp byte [esp + 0xd], 0
je 0x4956e1
cmp byte [esp + 0x15], 0
je 0x494a7c
mov edi, dword [esp + 0x74]
fld qword [0x50f858]
test edi, edi
jne 0x494938
cmp dword [esp + 0x90], 0
je 0x49491f
fild dword [esp + 0x164]
fdiv st(1)
fimul dword [esp + 0x90]
call fcn.004d8ac0
mov dword [esp + 0x74], eax
jmp 0x494934
xor ecx, ecx
cmp byte [esp + 0x37], cl
setne cl
dec ecx
and ecx, dword [esp + 0x164]
mov dword [esp + 0x74], ecx
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x64]
test esi, esi
jne 0x494981
cmp dword [esp + 0x90], esi
je 0x494964
fidivr dword [esp + 0x168]
fimul dword [esp + 0x90]
call fcn.004d8ac0
mov dword [esp + 0x64], eax
mov esi, eax
jmp 0x494983
mov ebx, dword [esp + 0x168]
fstp st(0)
xor edx, edx
cmp byte [esp + 0x37], dl
setne dl
dec edx
and edx, ebx
mov dword [esp + 0x64], edx
mov esi, edx
jmp 0x49498a
fstp st(0)
mov ebx, dword [esp + 0x168]
cmp byte [esp + 0x37], 0
je 0x494a17
test edi, edi
jne 0x4949da
test esi, esi
je 0x494a1f
mov eax, esi
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
fidiv dword [esp + 0x168]
cmp esi, ebx
jg 0x4949bf
fchs
fimul dword [esp + 0x164]
call fcn.004d8ac0
add eax, dword [esp + 0x164]
mov dword [esp + 0x74], eax
mov edi, eax
jmp 0x494a17
test esi, esi
jne 0x494a17
mov ecx, dword [esp + 0x164]
mov eax, edi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
fidiv dword [esp + 0x164]
cmp edi, ecx
jg 0x494a03
fchs
fimul dword [esp + 0x168]
call fcn.004d8ac0
add eax, ebx
mov dword [esp + 0x64], eax
mov esi, eax
test edi, edi
jle 0x494a1f
test esi, esi
jg 0x494a29
mov byte [esp + 0xd], 0
jmp 0x4956e1
cmp dword [esp + 0x164], edi
jne 0x494a36
cmp esi, ebx
je 0x494a7c
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x164]
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
push ebx
push edx
push 0
push 0
push esi
push edi
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.0049b5e0
add esp, 0x2c
lea edx, [esp + 0x160]
push edx
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x28]
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp byte [esp + 0xd], 0
je 0x4956e1
cmp byte [esp + 0x16], 0
je 0x494ac0
cmp dword [esp + 0xa4], 1
jne 0x494ac0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x130]
call fcn.00497e40
add esp, 0xc
mov byte [esp + 0xd], al
cmp byte [esp + 0xd], 0
je 0x4956e1
cmp byte [esp + 0x17], 0
je 0x494d5b
cmp dword [esp + 0xa8], 1
jne 0x494d5b
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov byte [esp + 0x21], 0
test eax, eax
jne 0x494afe
mov byte [esp + 0xd], al
jmp 0x4956e1
mov dword [esp + 0x190], 0
mov byte [esp + 0x194], 0
mov byte [esp + 0x2b44], 6
mov ecx, dword [esp + 0x138]
push ecx
lea eax, [esp + 0x190]
mov dword [esp + method.CKuStringT_char__class_CKuStringUtilA_.virtual_0], vtable.CStringCharFromWChar.0
call fcn.004a4950
add esp, 4
mov eax, dword [esp + 0x190]
test eax, eax
je 0x494b98
mov eax, dword [eax]
test eax, eax
je 0x494b8b
mov dword [esp + 0x9c], eax
test eax, eax
jne 0x494b5c
mov eax, 0x50ed83
xor ecx, ecx
cmp byte [eax], cl
je 0x494b6d
inc eax
inc ecx
cmp byte [eax], 0
jne 0x494b62
test ecx, ecx
jne 0x494ba5
lea eax, [esp + 0x18c]
mov byte [esp + 0x2b44], 5
call fcn.0044fba0
mov byte [esp + 0xd], 0
jmp 0x4956e1
mov dword [esp + 0x9c], 0x50ed83
jmp 0x494b53
mov dword [esp + 0x9c], 0x50ed83
jmp 0x494b57
mov eax, 1
mov edx, 2
lea ebx, [ecx*8]
lea esi, [ebx*4]
push esi
mov dword [esp + 0x22c], edx
mov dword [esp + 0x230], eax
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], eax
mov dword [esp + 0x23c], edx
mov dword [esp + 0x240], eax
mov dword [esp + 0x244], edx
mov dword [esp + 0x248], edx
mov dword [esp + 0x24c], eax
mov dword [esp + 0x250], eax
call fcn.004c9c38
mov edi, eax
add esp, 4
mov dword [esp + 0x70], edi
test edi, edi
je 0x494d0b
push esi
call fcn.004c9c38
mov esi, eax
add esp, 4
mov dword [esp + 0x94], esi
test esi, esi
je 0x494cf5
xor esi, esi
test ebx, ebx
je 0x494ca2
mov edi, eax
mov eax, dword [esp + 0x70]
sub eax, edi
mov dword [esp + 0x58], eax
mov eax, 0xcccccccd
mul esi
shr edx, 3
lea edx, [edx + edx*4]
add edx, edx
mov eax, esi
sub eax, edx
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + eax*4 + 0x228]
mov ecx, esi
shr ecx, 3
movsx edx, byte [ecx + edx]
mov ecx, esi
and ecx, 7
shr edx, cl
add eax, eax
add eax, eax
add eax, eax
and edx, 1
mov ecx, eax
shl edx, cl
mov ecx, dword [esp + 0x58]
inc esi
add edi, 4
mov dword [ecx + edi - 4], edx
mov edx, 1
mov ecx, eax
shl edx, cl
not edx
mov dword [edi - 4], edx
cmp esi, ebx
jb 0x494c46
mov eax, dword [esp + 0x88]
imul eax, dword [esp + 0x84]
xor ecx, ecx
mov dword [esp + 0x58], eax
test eax, eax
jle 0x494ce5
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x60]
mov eax, ecx
xor edx, edx
div ebx
mov eax, dword [esp + 0x94]
inc ecx
mov eax, dword [eax + edx*4]
and eax, dword [esi + ecx*4 - 4]
or eax, dword [edi + edx*4]
mov dword [esi + ecx*4 - 4], eax
cmp ecx, dword [esp + 0x58]
jl 0x494cc3
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x94]
mov byte [esp + 0x21], 1
push edi
call fcn.004ca991
add esp, 4
test esi, esi
je 0x494d0b
push esi
call fcn.004ca991
add esp, 4
mov byte [esp + 0x2b44], 5
mov eax, dword [esp + 0x190]
mov dword [esp + method.CKuStringT_char__class_CKuStringUtilA_.virtual_0], vtable.CKuStringT_char__class_CKuStringUtilA_.0
test eax, eax
je 0x494d53
lea ecx, [eax + 0x10]
mov eax, dword [ecx]
dec eax
mov dword [ecx], eax
jne 0x494d53
mov esi, dword [esp + 0x190]
mov eax, dword [esi + 4]
test eax, eax
je 0x494d4a
push eax
call fcn.004ca991
add esp, 4
push esi
call fcn.004cb3e6
add esp, 4
mov cl, byte [esp + 0x21]
mov byte [esp + 0xd], cl
cmp byte [esp + 0xd], 0
je 0x4956e1
cmp dword [esp + 0xe4], 0
je 0x4956b7
lea edx, [esp + 0x460]
mov dword [esp + 0x250], edx
lea eax, [esp + 0x470]
mov dword [esp + 0x254], eax
lea ecx, [esp + 0x480]
mov dword [esp + 0x258], ecx
lea edx, [esp + 0x490]
mov dword [esp + 0x25c], edx
lea eax, [esp + 0x4a0]
mov dword [esp + 0x260], eax
lea ecx, [esp + 0x4b0]
mov dword [esp + 0x264], ecx
lea edx, [esp + 0x4c0]
mov dword [esp + 0x268], edx
lea eax, [esp + 0x4d0]
mov dword [esp + 0x26c], eax
lea ecx, [esp + 0x4e0]
mov dword [esp + 0x270], ecx
lea edx, [esp + 0x4f0]
mov dword [esp + 0x274], edx
lea eax, [esp + 0x500]
mov dword [esp + 0x278], eax
lea ecx, [esp + 0x510]
lea edx, [esp + 0x520]
lea eax, [esp + 0x530]
mov dword [esp + 0x27c], ecx
mov dword [esp + 0x280], edx
mov dword [esp + 0x284], eax
lea ecx, [esp + 0x540]
lea edx, [esp + 0x550]
lea eax, [esp + 0x560]
mov dword [esp + 0x288], ecx
mov dword [esp + 0x28c], edx
mov dword [esp + 0x290], eax
lea ecx, [esp + 0x570]
lea edx, [esp + 0x580]
lea eax, [esp + 0x590]
xor edi, edi
push str._53
mov dword [esp + 0x298], ecx
mov dword [esp + 0x29c], edx
mov dword [esp + 0x2a0], eax
mov dword [esp + 0x46c], edi
call fcn.004a4b10
mov dword [esp + 0x464], eax
mov eax, dword [esp + 0x168]
cdq
add esp, 4
mov ebx, 1
push str.8_8___
mov dword [esp + 0x47c], ebx
mov dword [esp + 0x474], eax
mov dword [esp + 0x478], edx
mov dword [esp + 0x48c], edi
call fcn.004a4b10
mov dword [esp + 0x484], eax
mov eax, dword [esp + 0x16c]
cdq
add esp, 4
mov dword [esp + 0x498], ebx
mov dword [esp + 0x490], eax
mov dword [esp + 0x494], edx
mov dword [esp + 0x84], 4
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], edi
xor esi, esi
mov dword [esp + 0x104], edi
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], edi
mov eax, 2
mov byte [esp + 0x2b44], 0xa
cmp dword [esp + 0xa4], eax
jne 0x494fa2
push str._4____
mov dword [esp + 0x4ac], edi
call fcn.004a4b10
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x4a4], eax
mov dword [esp + 0x4bc], edi
mov dword [esp + 0x4b4], ecx
mov dword [esp + 0x88], 6
jmp 0x495478
cmp dword [esp + 0xa8], eax
jne 0x494fee
push 0x50dd70
mov dword [esp + 0x4ac], edi
call fcn.004a4b10
mov dword [esp + 0x4a4], eax
movzx eax, byte [esp + 0x12]
cdq
mov dword [esp + 0x4bc], ebx
mov dword [esp + 0x4b4], eax
mov dword [esp + 0x4b8], edx
mov dword [esp + 0x88], 6
jmp 0x495478
cmp byte [esp + 0x20], 0
je 0x49547b
cmp byte [esp + 0x56], 0
jne 0x49506d
push 0x50dd8c
mov dword [esp + 0x4ac], edi
call fcn.004a4b10
mov edx, dword [esp + 0x180]
add esp, 4
push 0x50dda4
mov dword [esp + 0x4a4], eax
mov dword [esp + 0x4bc], edi
mov dword [esp + 0x4b4], edx
mov dword [esp + 0x4cc], edi
call fcn.004a4b10
mov dword [esp + 0x4c4], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 0x4dc], edi
mov dword [esp + 0x4d4], eax
mov dword [esp + 0x88], 8
jmp 0x495478
mov dword [esp + 0x1b8], edi
mov dword [esp + 0x1b4], edi
mov dword [esp + 0x1b0], edi
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x1c0], edi
mov dword [esp + 0x1bc], edi
push 0xf0
mov byte [esp + 0x2b48], 0xc
push edi
mov dword [esp + 0xb8], 0x78
call fcn.004caea7
add esp, 8
cmp eax, edi
jne 0x4950d5
push edi
call fcn.004ca991
add esp, 4
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], edi
jmp 0x4950e8
xor ecx, ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edi
mov word [eax], cx
push 0x4b0
mov esi, 0x258
push edi
mov dword [esp + 0xd8], esi
call fcn.004caea7
add esp, 8
cmp eax, edi
jne 0x49511f
push edi
call fcn.004ca991
add esp, 4
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], edi
jmp 0x495132
xor edx, edx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], edi
mov word [eax], dx
push 0x4b0
push edi
mov dword [esp + 0x104], esi
call fcn.004caea7
add esp, 8
cmp eax, edi
jne 0x495164
push edi
call fcn.004ca991
add esp, 4
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], edi
jmp 0x495177
xor ecx, ecx
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], edi
mov word [eax], cx
xor ebx, ebx
lea esp, [esp]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x1bc]
push edx
push ebx
push eax
lea ecx, [esp + 0x1bc]
lea eax, [esp + 0x64]
call fcn.00415080
test al, al
je 0x49522b
cmp ebx, edi
je 0x4951e6
push 1
push edi
push 0x4ec6cc
lea esi, [esp + 0xbc]
call fcn.004148c0
push 1
push edi
push 0x4ec6cc
lea esi, [esp + 0xdc]
call fcn.004148c0
push 1
push edi
push 0x4ec6cc
lea esi, [esp + 0x108]
call fcn.004148c0
mov eax, dword [esp + 0x58]
cdq
push edx
push eax
lea esi, [esp + 0xb8]
call fcn.00414560
lea eax, [esp + 0x1b0]
lea ecx, [esp + 0xd0]
call fcn.004144e0
lea eax, [esp + 0x1bc]
lea ecx, [esp + 0xfc]
call fcn.004144e0
inc ebx
cmp ebx, 0xa
jl 0x495180
jmp 0x495230
mov byte [esp + 0xd], 0
lea ecx, [esp + 0x5e8]
mov dword [esp + 0x2a0], ecx
lea edx, [esp + 0x5f8]
mov dword [esp + 0x2a4], edx
lea eax, [esp + 0x608]
mov dword [esp + 0x2a8], eax
lea ecx, [esp + 0x618]
mov dword [esp + 0x2ac], ecx
lea edx, [esp + 0x628]
mov dword [esp + 0x2b0], edx
lea eax, [esp + 0x638]
mov dword [esp + 0x2b4], eax
lea ecx, [esp + 0x648]
mov dword [esp + 0x2b8], ecx
lea edx, [esp + 0x658]
mov dword [esp + 0x2bc], edx
lea eax, [esp + 0x668]
mov dword [esp + 0x2c0], eax
lea ecx, [esp + 0x678]
mov dword [esp + 0x2c4], ecx
lea edx, [esp + 0x688]
mov dword [esp + 0x2c8], edx
lea eax, [esp + 0x698]
lea ecx, [esp + 0x6a8]
lea edx, [esp + 0x6b8]
mov dword [esp + 0x2cc], eax
mov dword [esp + 0x2d0], ecx
mov dword [esp + 0x2d4], edx
lea eax, [esp + 0x6c8]
lea ecx, [esp + 0x6d8]
lea edx, [esp + 0x6e8]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], ecx
mov dword [esp + 0x2e0], edx
lea eax, [esp + 0x6f8]
lea ecx, [esp + 0x708]
lea edx, [esp + 0x718]
push 0x50da80
mov dword [esp + 0x2e8], eax
mov dword [esp + 0x2ec], ecx
mov dword [esp + 0x2f0], edx
mov dword [esp + 0x5f4], edi
call fcn.004a4b10
mov dword [esp + 0x5ec], eax
mov eax, dword [esp + 0xb8]
add esp, 4
push 0x50dab8
mov dword [esp + 0x604], edi
mov dword [esp + 0x5fc], eax
mov dword [esp + 0x614], edi
call fcn.004a4b10
mov ecx, dword [esp + 0xd8]
add esp, 4
push 0x50da9c
mov dword [esp + 0x60c], eax
mov dword [esp + 0x624], edi
mov dword [esp + 0x61c], ecx
mov dword [esp + 0x634], edi
call fcn.004a4b10
mov esi, dword [esp + 0x104]
add esp, 4
mov ebx, 6
lea edx, [esp + 0x2a0]
push ebx
push edx
mov dword [esp + 0x630], eax
mov dword [esp + 0x648], edi
mov dword [esp + 0x640], esi
call fcn.0049ed70
add esp, 8
cmp eax, edi
jne 0x4953f9
mov byte [esp + 0xd], 0
jmp 0x495427
cmp byte [esp + 0xd], 0
je 0x495427
mov dword [esp + 0x4a8], edi
mov dword [esp + 0x4a0], 0x50ddc8
mov dword [esp + 0x4b8], ebx
mov dword [esp + 0x4b0], eax
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x1c0]
cmp ebx, edi
je 0x49544d
mov eax, dword [esp + 0x1bc]
push eax
push edi
push ebx
call fcn.004d2f90
add esp, 0xc
push ebx
call fcn.004ca991
add esp, 4
mov byte [esp + 0x2b44], 0xa
mov ebx, dword [esp + 0x1b4]
cmp ebx, edi
je 0x49547b
mov ecx, dword [esp + 0x1b0]
push ecx
push edi
push ebx
call fcn.004d2f90
add esp, 0xc
push ebx
call fcn.004ca991
add esp, 4
cmp byte [esp + 0xd], 0
je 0x495641
mov edx, dword [esp + 0x84]
push edx
lea eax, [esp + 0x254]
push eax
call fcn.0049ed70
add esp, 8
test eax, eax
je 0x4954b8
mov ecx, dword [esp + 0xe4]
mov edi, eax
call fcn.004af2e0
test eax, eax
jne 0x495641
mov ebx, dword [esp + 0x17c]
mov edi, dword [esp + 0x158]
test esi, esi
je 0x4954e6
mov ecx, dword [esp + 0xfc]
push ecx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov esi, dword [esp + 0xd4]
test esi, esi
je 0x49550d
mov edx, dword [esp + 0xd0]
push edx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov esi, dword [esp + 0xb4]
test esi, esi
je 0x495534
mov eax, dword [esp + 0xb0]
push eax
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
test edi, edi
je 0x495554
mov ecx, dword [esp + 0x154]
push ecx
push 0
push edi
call fcn.004d2f90
add esp, 0xc
push edi
call fcn.004ca991
add esp, 4
test ebx, ebx
je 0x495574
mov edx, dword [esp + 0x178]
push edx
push 0
push ebx
call fcn.004d2f90
add esp, 0xc
push ebx
call fcn.004ca991
add esp, 4
cmp dword [esp + 0x118], 0
je 0x4955a1
mov eax, dword [esp + 0x114]
mov esi, dword [esp + 0x118]
push eax
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
cmp dword [esp + 0x128], 0
je 0x4955ce
mov ecx, dword [esp + 0x124]
mov esi, dword [esp + 0x128]
push ecx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
cmp dword [esp + 0x138], 0
je 0x4955fb
mov edx, dword [esp + 0x134]
mov esi, dword [esp + 0x138]
push edx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
cmp dword [esp + 0xc8], 0
je 0x495628
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0xc8]
push eax
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2b3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
test esi, esi
je 0x495661
mov ecx, dword [esp + 0xfc]
push ecx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov esi, dword [esp + 0xd4]
test esi, esi
je 0x495688
mov edx, dword [esp + 0xd0]
push edx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov byte [esp + 0x2b44], 5
mov esi, dword [esp + 0xb4]
test esi, esi
je 0x4956b7
mov eax, dword [esp + 0xb0]
push eax
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
cmp byte [esp + 0xd], 0
je 0x4956e1
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0xe8]
test eax, eax
je 0x4956dd
test esi, esi
je 0x4956e1
cdq
push 0x18
push edx
push eax
mov eax, esi
call fcn.00401590
test esi, esi
jne 0x4956f6
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4956f6
cmp eax, dword [esp + 0x38]
je 0x4956f6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x495713
cmp byte [esp + 0xf], 0
je 0x49570c
cmp byte [esp + 0x36], 0
je 0x495713
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x495733
cmp byte [esp + 0x22], 0
je 0x49572c
cmp byte [esp + 0x2d], 0
je 0x495733
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x495773
mov eax, dword [esi]
test eax, eax
je 0x49574a
push eax
call fcn.004ca991
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x49575a
push eax
call fcn.004ca991
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x49576a
push eax
call fcn.004ca991
add esp, 4
push esi
call fcn.004cb3e6
add esp, 4
cmp byte [esp + 0xd], 0
je 0x495793
mov ecx, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e6a28
push ecx
call fcn.004aefb0
jmp 0x4957ce
mov edx, dword [0x5165ec]
test byte [edx + 0x100], 1
jne 0x4957ba
mov eax, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4eb75c
push eax
call fcn.004aefb0
jmp 0x4957ce
mov ecx, dword [ebp + 8]
push 0x4f5ac4
push 0
push 0x4eb75c
call fcn.0042dac0
mov esi, dword [esp + 0x158]
mov edi, eax
test esi, esi
je 0x4957f7
mov ecx, dword [esp + 0x154]
push ecx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov esi, dword [esp + 0x17c]
test esi, esi
je 0x49581e
mov edx, dword [esp + 0x178]
push edx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov esi, dword [esp + 0x118]
test esi, esi
je 0x495845
mov eax, dword [esp + 0x114]
push eax
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov esi, dword [esp + 0x128]
test esi, esi
je 0x49586c
mov ecx, dword [esp + 0x124]
push ecx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov esi, dword [esp + 0x138]
test esi, esi
je 0x495893
mov edx, dword [esp + 0x134]
push edx
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov esi, dword [esp + 0xc8]
test esi, esi
je 0x4958ba
mov eax, dword [esp + 0xc4]
push eax
push 0
push esi
call fcn.004d2f90
add esp, 0xc
push esi
call fcn.004ca991
add esp, 4
mov ecx, dword [esp + 0x2b3c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c