Function at 0x499a20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53dcbd
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov esi, dword [ebp + 8]
add esi, 0x5a8
mov dword [esp + 0xb8], ebx
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x499a8b
push ebx
push ebx
push 0x14b
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x499a99
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 4]
mov dword [ecx + esi + 0x10], 6
mov dword [esi + 0x28], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0xb8], 1
call fcn.00473c50
cmp eax, 1
je 0x499b63
cmp eax, 2
je 0x499b63
cmp eax, 0x37
jne 0x499b4c
mov byte [esp + 0x13], 1
jmp 0x499b68
lea edx, [eax - 0x33]
cmp edx, 7
jbe 0x499b63
add eax, 0xfffffe0b
cmp eax, 0x61
seta byte [esp + 0x13]
jmp 0x499b68
mov byte [esp + 0x13], 0
call fcn.0049af50
movzx eax, al
push eax
call fcn.004c7f70
mov edi, eax
mov dword [esp + 0x40], edi
call fcn.004c79f0
test al, al
je 0x499bd8
push 0x8cd2
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 2
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x499bc3
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499bd0
mov eax, 0x54ee24
push 0x19
push eax
call fcn.0042c890
cmp edi, 0x17
jl 0x499c50
cmp byte [esp + 0x13], 0
mov ecx, 0x5776a0
je 0x499c02
push 0x8ce7
lea edx, [esp + 0x18]
push edx
call fcn.00471380
mov byte [esp + 0xb8], 3
jmp 0x499c19
push 0x8cd3
lea eax, [esp + 0x18]
push eax
call fcn.00471380
mov byte [esp + 0xb8], 4
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x499c3b
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499c48
mov eax, 0x54ee24
push 0x17
push eax
call fcn.0042c890
cmp edi, 0x16
jl 0x499ccd
cmp byte [esp + 0x13], 0
je 0x499c7a
push 0x8ce8
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 5
jmp 0x499c96
push 0x8cd4
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 6
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x499cb8
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499cc5
mov eax, 0x54ee24
push 0x16
push eax
call fcn.0042c890
cmp edi, 0x15
jl 0x499d4a
cmp byte [esp + 0x13], 0
je 0x499cf7
push 0x8ce9
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 7
jmp 0x499d13
push 0x8cd5
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 8
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x499d35
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499d42
mov eax, 0x54ee24
push 0x15
push eax
call fcn.0042c890
cmp byte [esp + 0x13], 0
mov ecx, 0x5776a0
je 0x499d6f
push 0x8cea
lea edx, [esp + 0x18]
push edx
call fcn.00471380
mov byte [esp + 0xb8], 9
jmp 0x499d86
push 0x8cd6
lea eax, [esp + 0x18]
push eax
call fcn.00471380
mov byte [esp + 0xb8], 0xa
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x499da8
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499db5
mov eax, 0x54ee24
push 0xc
push eax
call fcn.0042c890
cmp byte [esp + 0x13], 0
je 0x499de2
push 0x8ceb
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0xb
jmp 0x499dfe
push 0x8cd7
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0xc
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x499e20
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499e2d
mov eax, 0x54ee24
push 9
push eax
call fcn.0042c890
cmp byte [esp + 0x13], 0
je 0x499e5a
push 0x8cec
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0xd
jmp 0x499e76
push 0x8cd8
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0xe
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x499e98
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499ea5
mov eax, 0x54ee24
push 0xb
push eax
call fcn.0042c890
cmp edi, 0xf
jl 0x49a08c
cmp byte [esp + 0x13], 0
mov ecx, 0x5776a0
je 0x499edb
push 0x8ced
lea edx, [esp + 0x18]
push edx
call fcn.00471380
mov byte [esp + 0xb8], 0xf
jmp 0x499ef2
push 0x8cd9
lea eax, [esp + 0x18]
push eax
call fcn.00471380
mov byte [esp + 0xb8], 0x10
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x499f14
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499f21
mov eax, 0x54ee24
push 0xf
push eax
call fcn.0042c890
cmp byte [esp + 0x13], 0
je 0x499f4e
push 0x8d36
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x11
jmp 0x499f6a
push 0x8d35
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x12
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x499f8c
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499f99
mov eax, 0x54ee24
push 0x11
push eax
call fcn.0042c890
cmp byte [esp + 0x13], 0
je 0x499fc6
push 0x8d4d
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x13
jmp 0x499fe2
push 0x8d4c
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x14
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49a004
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a011
mov eax, 0x54ee24
push 0x12
push eax
call fcn.0042c890
cmp byte [esp + 0x13], 0
mov ecx, 0x5776a0
je 0x49a03e
push 0x8d4f
lea edx, [esp + 0x18]
push edx
call fcn.00471380
mov byte [esp + 0xb8], 0x15
jmp 0x49a055
push 0x8d4e
lea eax, [esp + 0x18]
push eax
call fcn.00471380
mov byte [esp + 0xb8], 0x16
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49a077
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a084
mov eax, 0x54ee24
push 0x13
push eax
call fcn.0042c890
cmp byte [esp + 0x13], 0
je 0x49a0b1
push 0x8cee
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x17
jmp 0x49a0cd
push 0x8cda
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x18
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49a0ef
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a0fc
mov eax, 0x54ee24
push 8
push eax
call fcn.0042c890
mov edi, 0x27
call fcn.004c8850
cmp al, 1
jne 0x49a18a
cmp byte [esp + 0x13], 0
je 0x49a137
push 0x8cf7
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x19
jmp 0x49a153
push 0x8ce3
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x1a
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49a175
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a182
mov eax, 0x54ee24
push 0xe
push eax
call fcn.0042c890
mov edi, 0xd
call fcn.004c8850
cmp al, 1
jne 0x49a20b
cmp byte [esp + 0x13], 0
mov ecx, 0x5776a0
je 0x49a1bd
push 0x8cf8
lea edx, [esp + 0x18]
push edx
call fcn.00471380
mov byte [esp + 0xb8], 0x1b
jmp 0x49a1d4
push 0x8ce4
lea eax, [esp + 0x18]
push eax
call fcn.00471380
mov byte [esp + 0xb8], 0x1c
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49a1f6
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a203
mov eax, 0x54ee24
push 0xd
push eax
call fcn.0042c890
cmp byte [esp + 0x13], 0
je 0x49a230
push 0x8cef
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x1d
jmp 0x49a24c
push 0x8cdb
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x1e
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49a26e
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a27b
mov eax, 0x54ee24
push 0xa
push eax
call fcn.0042c890
call fcn.004c7df0
mov bl, al
call fcn.004c7e70
mov byte [esp + 0x33], al
call fcn.004c7d70
cmp byte [0x57774c], 0
jne 0x49a418
test bl, bl
je 0x49a2b8
cmp byte [esp + 0x33], 0
jne 0x49a2e4
test al, al
jne 0x49a418
cmp byte [esp + 0x13], 0
je 0x49a3c9
push 0x8cf0
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x25
jmp 0x49a3e5
test al, al
je 0x49a2b8
cmp byte [esp + 0x13], 0
je 0x49a30d
push 0x8d29
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x21
jmp 0x49a329
push 0x8d27
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x22
lea ecx, [esp + 0x20]
call fcn.00508010
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 1
call fcn.00445e70
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a350
mov eax, 0x54ee24
push 1
push eax
call fcn.0042c890
mov bl, byte [esp + 0x13]
mov ecx, 0x5776a0
test bl, bl
je 0x49a37e
push 0x8d2a
lea edx, [esp + 0x18]
push edx
call fcn.00471380
mov byte [esp + 0xb8], 0x23
jmp 0x49a395
push 0x8d28
lea eax, [esp + 0x18]
push eax
call fcn.00471380
mov byte [esp + 0xb8], 0x24
lea ecx, [esp + 0x20]
call fcn.00508010
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 1
call fcn.00445e70
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a3bc
mov eax, 0x54ee24
push 0x10
push eax
call fcn.0042c890
jmp 0x49a494
push 0x8cdc
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x26
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a407
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a414
mov eax, 0x54ee24
push 1
jmp 0x49a48a
cmp byte [esp + 0x13], 0
je 0x49a43d
push 0x8d04
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x1f
jmp 0x49a459
push 0x8d03
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x20
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a47b
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a488
mov eax, 0x54ee24
push 0x10
push eax
call fcn.0042c890
mov bl, byte [esp + 0x13]
mov ecx, 0x5776a0
test bl, bl
je 0x49a4b6
push 0x8cf1
lea edx, [esp + 0x18]
push edx
call fcn.00471380
mov byte [esp + 0xb8], 0x27
jmp 0x49a4cd
push 0x8cdd
lea eax, [esp + 0x18]
push eax
call fcn.00471380
mov byte [esp + 0xb8], 0x28
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a4ef
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a4fc
mov eax, 0x54ee24
push 4
push eax
call fcn.0042c890
test bl, bl
je 0x49a526
push 0x8cf2
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x29
jmp 0x49a542
push 0x8cde
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x2a
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a564
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a571
mov eax, 0x54ee24
push 6
push eax
call fcn.0042c890
test bl, bl
je 0x49a59b
push 0x8cf3
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x2b
jmp 0x49a5b7
push 0x8cdf
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x2c
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a5d9
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a5e6
mov eax, 0x54ee24
push 2
push eax
call fcn.0042c890
mov ecx, 0x5776a0
test bl, bl
je 0x49a610
push 0x8cf4
lea edx, [esp + 0x18]
push edx
call fcn.00471380
mov byte [esp + 0xb8], 0x2d
jmp 0x49a627
push 0x8ce0
lea eax, [esp + 0x18]
push eax
call fcn.00471380
mov byte [esp + 0xb8], 0x2e
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a649
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a656
mov eax, 0x54ee24
push 5
push eax
call fcn.0042c890
test bl, bl
je 0x49a680
push 0x8cf5
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x2f
jmp 0x49a69c
push 0x8ce1
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x30
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a6be
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a6cb
mov eax, 0x54ee24
push 3
push eax
call fcn.0042c890
test bl, bl
je 0x49a6f5
push 0x8cf6
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x31
jmp 0x49a711
push 0x8ce2
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x32
lea ecx, [esp + 0x20]
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a733
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a740
mov eax, 0x54ee24
push 7
push eax
call fcn.0042c890
call fcn.0049b2c0
test al, al
jne 0x49aa00
mov edi, dword [esp + 0x40]
cmp edi, 0x17
jl 0x49a7b1
push 0x8cfb
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x33
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a79c
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a7a9
mov eax, 0x54ee24
push 0x22
push eax
call fcn.0042c890
cmp edi, 0x16
jl 0x49a809
push 0x8cfc
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x34
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a7f4
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a801
mov eax, 0x54ee24
push 0x21
push eax
call fcn.0042c890
cmp edi, 0x15
jl 0x49a861
push 0x8cfd
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x35
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a84c
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a859
mov eax, 0x54ee24
push 0x20
push eax
call fcn.0042c890
push 0x8cfe
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x36
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a89f
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a8ac
mov eax, 0x54ee24
push 0x1f
push eax
call fcn.0042c890
push 0x8cff
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x37
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a8f2
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a8ff
mov eax, 0x54ee24
push 0x28
push eax
call fcn.0042c890
push 0x8d00
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x38
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a945
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a952
mov eax, 0x54ee24
push 0x29
push eax
call fcn.0042c890
push 0x8d02
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x39
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a998
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a9a5
mov eax, 0x54ee24
push 0x2a
push eax
call fcn.0042c890
push 0x8d01
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x3a
call fcn.00508010
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a9eb
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a9f8
mov eax, 0x54ee24
push 0x2b
push eax
call fcn.0042c890
call fcn.004c82a0
cmp eax, 1
jne 0x49ab98
call fcn.0049b370
test al, al
jne 0x49aad7
call fcn.0049af50
test al, al
jne 0x49aad7
test bl, bl
je 0x49aa4f
push 0x8cf9
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x3b
mov ebx, 1
jmp 0x49aa73
push 0x8ce5
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471380
mov dword [esp + 0xb8], 0x3c
mov ebx, 2
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ebx
call fcn.00508010
mov dword [esp + 0xb8], 0x3b
test bl, 2
je 0x49aaa0
and ebx, 0xfffffffd
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], ebx
call fcn.00445e70
mov dword [esp + 0xb8], 1
test bl, 1
je 0x49aac0
and ebx, 0xfffffffe
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ebx
call fcn.00445e70
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49aacd
mov eax, 0x54ee24
push 0x32
push eax
call fcn.0042c890
jmp 0x49aadb
mov ebx, dword [esp + 0x2c]
call fcn.0049b370
test al, al
jne 0x49ad39
call fcn.0049af50
test al, al
jne 0x49ad39
cmp byte [esp + 0x13], al
je 0x49ab1c
push 0x8cfa
lea eax, [esp + 0x38]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x3d
or ebx, 4
jmp 0x49ab3e
push 0x8ce6
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov dword [esp + 0xb8], 0x3e
or ebx, 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ebx
call fcn.00508010
mov dword [esp + 0xb8], 0x3d
test bl, 8
je 0x49ab6b
and ebx, 0xfffffff7
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], ebx
call fcn.00445e70
mov dword [esp + 0xb8], 1
test bl, 4
je 0x49ab84
lea ecx, [esp + 0x34]
call fcn.00445e70
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49ab91
mov eax, 0x54ee24
push 0x33
jmp 0x49ad33
cmp eax, 2
jne 0x49ad39
mov ecx, 0x5776a0
test bl, bl
je 0x49abc8
push 0x8cf9
lea edx, [esp + 0x18]
push edx
call fcn.00471380
mov byte [esp + 0xb8], 0x3f
mov ebx, 0x10
jmp 0x49abe7
push 0x8ce5
lea eax, [esp + 0x38]
push eax
call fcn.00471380
mov dword [esp + 0xb8], 0x40
mov ebx, 0x20
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ebx
call fcn.00508010
xor edi, edi
mov dword [esp + 0xb8], 0x3f
test bl, 0x20
je 0x49ac2a
mov eax, dword [esp + 0x34]
and ebx, 0xffffffdf
mov dword [esp + 0x2c], ebx
cmp eax, edi
je 0x49ac2a
push eax
call fcn.0051eadb
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0xb8], 1
test bl, 0x10
je 0x49ac52
mov eax, dword [esp + 0x14]
and ebx, 0xffffffef
mov dword [esp + 0x2c], ebx
cmp eax, edi
je 0x49ac52
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x49ac5f
mov eax, 0x54ee24
push 0x35
push eax
call fcn.0042c890
cmp byte [esp + 0x13], 0
je 0x49ac8f
push 0x8cfa
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [esp + 0xb8], 0x41
or ebx, 0x40
jmp 0x49acb4
push 0x8ce6
lea edx, [esp + 0x38]
push edx
mov ecx, 0x5776a0
call fcn.00471380
mov dword [esp + 0xb8], 0x42
or ebx, 0x80
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ebx
call fcn.00508010
mov dword [esp + 0xb8], 0x41
test bl, bl
jns 0x49acf7
mov eax, dword [esp + 0x34]
and ebx, 0xffffff7f
mov dword [esp + 0x2c], ebx
cmp eax, edi
je 0x49acf7
push eax
call fcn.0051eadb
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0xb8], 1
test bl, 0x40
je 0x49ad24
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x49ad24
push eax
call fcn.0051eadb
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x49ad31
mov eax, 0x54ee24
push 0x36
push eax
call fcn.0042c890
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.0049ae00
mov edx, dword [ebx + 0x5bc]
test edx, edx
je 0x49ad5e
push 0
push eax
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x49ad72
mov eax, dword [ebx + 0x5b8]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x5b8], 6
cmp dword [esi + 0x28], 0
jle 0x49adab
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x14]
add ecx, eax
test edx, edx
je 0x49ad9d
push 0
push ecx
push 0x160
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x49adab
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 4]
mov dword [ecx + esi + 0x10], 6
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0xbc], 0
call fcn.004739b0
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49add9
push eax
call fcn.0051eadb
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4