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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53df1d
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 0x499b0b
push ebx
push ebx
push 0x14b
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x499b19
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.00474020
cmp eax, 1
je 0x499be3
cmp eax, 2
je 0x499be3
cmp eax, 0x37
jne 0x499bcc
mov byte [esp + 0x13], 1
jmp 0x499be8
lea edx, [eax - 0x33]
cmp edx, 7
jbe 0x499be3
add eax, 0xfffffe0b
cmp eax, 0x61
seta byte [esp + 0x13]
jmp 0x499be8
mov byte [esp + 0x13], 0
call fcn.0049afd0
movzx eax, al
push eax
call fcn.004c7fe0
mov edi, eax
mov dword [esp + 0x40], edi
call fcn.004c7a60
test al, al
je 0x499c58
push 0x8cd2
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x499c43
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499c50
mov eax, 0x54ee24
push 0x19
push eax
call fcn.0042c9a0
cmp edi, 0x17
jl 0x499cd0
cmp byte [esp + 0x13], 0
mov ecx, 0x5776a0
je 0x499c82
push 0x8ce7
lea edx, [esp + 0x18]
push edx
call fcn.00471480
mov byte [esp + 0xb8], 3
jmp 0x499c99
push 0x8cd3
lea eax, [esp + 0x18]
push eax
call fcn.00471480
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 0x499cbb
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499cc8
mov eax, 0x54ee24
push 0x17
push eax
call fcn.0042c9a0
cmp edi, 0x16
jl 0x499d4d
cmp byte [esp + 0x13], 0
je 0x499cfa
push 0x8ce8
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 5
jmp 0x499d16
push 0x8cd4
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x499d38
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499d45
mov eax, 0x54ee24
push 0x16
push eax
call fcn.0042c9a0
cmp edi, 0x15
jl 0x499dca
cmp byte [esp + 0x13], 0
je 0x499d77
push 0x8ce9
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 7
jmp 0x499d93
push 0x8cd5
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x499db5
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499dc2
mov eax, 0x54ee24
push 0x15
push eax
call fcn.0042c9a0
cmp byte [esp + 0x13], 0
mov ecx, 0x5776a0
je 0x499def
push 0x8cea
lea edx, [esp + 0x18]
push edx
call fcn.00471480
mov byte [esp + 0xb8], 9
jmp 0x499e06
push 0x8cd6
lea eax, [esp + 0x18]
push eax
call fcn.00471480
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 0x499e28
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499e35
mov eax, 0x54ee24
push 0xc
push eax
call fcn.0042c9a0
cmp byte [esp + 0x13], 0
je 0x499e62
push 0x8ceb
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0xb
jmp 0x499e7e
push 0x8cd7
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x499ea0
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499ead
mov eax, 0x54ee24
push 9
push eax
call fcn.0042c9a0
cmp byte [esp + 0x13], 0
je 0x499eda
push 0x8cec
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0xd
jmp 0x499ef6
push 0x8cd8
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x499f18
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499f25
mov eax, 0x54ee24
push 0xb
push eax
call fcn.0042c9a0
cmp edi, 0xf
jl 0x49a10c
cmp byte [esp + 0x13], 0
mov ecx, 0x5776a0
je 0x499f5b
push 0x8ced
lea edx, [esp + 0x18]
push edx
call fcn.00471480
mov byte [esp + 0xb8], 0xf
jmp 0x499f72
push 0x8cd9
lea eax, [esp + 0x18]
push eax
call fcn.00471480
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 0x499f94
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x499fa1
mov eax, 0x54ee24
push 0xf
push eax
call fcn.0042c9a0
cmp byte [esp + 0x13], 0
je 0x499fce
push 0x8d36
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x11
jmp 0x499fea
push 0x8d35
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a00c
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a019
mov eax, 0x54ee24
push 0x11
push eax
call fcn.0042c9a0
cmp byte [esp + 0x13], 0
je 0x49a046
push 0x8d4d
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x13
jmp 0x49a062
push 0x8d4c
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a084
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a091
mov eax, 0x54ee24
push 0x12
push eax
call fcn.0042c9a0
cmp byte [esp + 0x13], 0
mov ecx, 0x5776a0
je 0x49a0be
push 0x8d4f
lea edx, [esp + 0x18]
push edx
call fcn.00471480
mov byte [esp + 0xb8], 0x15
jmp 0x49a0d5
push 0x8d4e
lea eax, [esp + 0x18]
push eax
call fcn.00471480
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 0x49a0f7
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a104
mov eax, 0x54ee24
push 0x13
push eax
call fcn.0042c9a0
cmp byte [esp + 0x13], 0
je 0x49a131
push 0x8cee
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x17
jmp 0x49a14d
push 0x8cda
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a16f
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a17c
mov eax, 0x54ee24
push 8
push eax
call fcn.0042c9a0
mov edi, 0x27
call fcn.004c88c0
cmp al, 1
jne 0x49a20a
cmp byte [esp + 0x13], 0
je 0x49a1b7
push 0x8cf7
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x19
jmp 0x49a1d3
push 0x8ce3
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a1f5
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a202
mov eax, 0x54ee24
push 0xe
push eax
call fcn.0042c9a0
mov edi, 0xd
call fcn.004c88c0
cmp al, 1
jne 0x49a28b
cmp byte [esp + 0x13], 0
mov ecx, 0x5776a0
je 0x49a23d
push 0x8cf8
lea edx, [esp + 0x18]
push edx
call fcn.00471480
mov byte [esp + 0xb8], 0x1b
jmp 0x49a254
push 0x8ce4
lea eax, [esp + 0x18]
push eax
call fcn.00471480
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 0x49a276
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a283
mov eax, 0x54ee24
push 0xd
push eax
call fcn.0042c9a0
cmp byte [esp + 0x13], 0
je 0x49a2b0
push 0x8cef
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x1d
jmp 0x49a2cc
push 0x8cdb
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a2ee
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49a2fb
mov eax, 0x54ee24
push 0xa
push eax
call fcn.0042c9a0
call fcn.004c7e60
mov bl, al
call fcn.004c7ee0
mov byte [esp + 0x33], al
call fcn.004c7de0
cmp byte [0x57774c], 0
jne 0x49a498
test bl, bl
je 0x49a338
cmp byte [esp + 0x33], 0
jne 0x49a364
test al, al
jne 0x49a498
cmp byte [esp + 0x13], 0
je 0x49a449
push 0x8cf0
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x25
jmp 0x49a465
test al, al
je 0x49a338
cmp byte [esp + 0x13], 0
je 0x49a38d
push 0x8d29
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x21
jmp 0x49a3a9
push 0x8d27
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x22
lea ecx, [esp + 0x20]
call fcn.00508010
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 1
call fcn.00507320
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a3d0
mov eax, 0x54ee24
push 1
push eax
call fcn.0042c9a0
mov bl, byte [esp + 0x13]
mov ecx, 0x5776a0
test bl, bl
je 0x49a3fe
push 0x8d2a
lea edx, [esp + 0x18]
push edx
call fcn.00471480
mov byte [esp + 0xb8], 0x23
jmp 0x49a415
push 0x8d28
lea eax, [esp + 0x18]
push eax
call fcn.00471480
mov byte [esp + 0xb8], 0x24
lea ecx, [esp + 0x20]
call fcn.00508010
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 1
call fcn.00507320
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a43c
mov eax, 0x54ee24
push 0x10
push eax
call fcn.0042c9a0
jmp 0x49a514
push 0x8cdc
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a487
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a494
mov eax, 0x54ee24
push 1
jmp 0x49a50a
cmp byte [esp + 0x13], 0
je 0x49a4bd
push 0x8d04
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x1f
jmp 0x49a4d9
push 0x8d03
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a4fb
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a508
mov eax, 0x54ee24
push 0x10
push eax
call fcn.0042c9a0
mov bl, byte [esp + 0x13]
mov ecx, 0x5776a0
test bl, bl
je 0x49a536
push 0x8cf1
lea edx, [esp + 0x18]
push edx
call fcn.00471480
mov byte [esp + 0xb8], 0x27
jmp 0x49a54d
push 0x8cdd
lea eax, [esp + 0x18]
push eax
call fcn.00471480
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 0x49a56f
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a57c
mov eax, 0x54ee24
push 4
push eax
call fcn.0042c9a0
test bl, bl
je 0x49a5a6
push 0x8cf2
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x29
jmp 0x49a5c2
push 0x8cde
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a5e4
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a5f1
mov eax, 0x54ee24
push 6
push eax
call fcn.0042c9a0
test bl, bl
je 0x49a61b
push 0x8cf3
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x2b
jmp 0x49a637
push 0x8cdf
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a659
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a666
mov eax, 0x54ee24
push 2
push eax
call fcn.0042c9a0
mov ecx, 0x5776a0
test bl, bl
je 0x49a690
push 0x8cf4
lea edx, [esp + 0x18]
push edx
call fcn.00471480
mov byte [esp + 0xb8], 0x2d
jmp 0x49a6a7
push 0x8ce0
lea eax, [esp + 0x18]
push eax
call fcn.00471480
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 0x49a6c9
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a6d6
mov eax, 0x54ee24
push 5
push eax
call fcn.0042c9a0
test bl, bl
je 0x49a700
push 0x8cf5
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x2f
jmp 0x49a71c
push 0x8ce1
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a73e
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a74b
mov eax, 0x54ee24
push 3
push eax
call fcn.0042c9a0
test bl, bl
je 0x49a775
push 0x8cf6
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x31
jmp 0x49a791
push 0x8ce2
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a7b3
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a7c0
mov eax, 0x54ee24
push 7
push eax
call fcn.0042c9a0
call fcn.0049b340
test al, al
jne 0x49aa80
mov edi, dword [esp + 0x40]
cmp edi, 0x17
jl 0x49a831
push 0x8cfb
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a81c
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a829
mov eax, 0x54ee24
push 0x22
push eax
call fcn.0042c9a0
cmp edi, 0x16
jl 0x49a889
push 0x8cfc
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a874
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a881
mov eax, 0x54ee24
push 0x21
push eax
call fcn.0042c9a0
cmp edi, 0x15
jl 0x49a8e1
push 0x8cfd
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a8cc
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a8d9
mov eax, 0x54ee24
push 0x20
push eax
call fcn.0042c9a0
push 0x8cfe
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a91f
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a92c
mov eax, 0x54ee24
push 0x1f
push eax
call fcn.0042c9a0
push 0x8cff
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a972
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a97f
mov eax, 0x54ee24
push 0x28
push eax
call fcn.0042c9a0
push 0x8d00
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49a9c5
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a9d2
mov eax, 0x54ee24
push 0x29
push eax
call fcn.0042c9a0
push 0x8d02
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49aa18
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49aa25
mov eax, 0x54ee24
push 0x2a
push eax
call fcn.0042c9a0
push 0x8d01
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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 0x49aa6b
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49aa78
mov eax, 0x54ee24
push 0x2b
push eax
call fcn.0042c9a0
call fcn.004c8310
cmp eax, 1
jne 0x49ac18
call fcn.0049b3f0
test al, al
jne 0x49ab57
call fcn.0049afd0
test al, al
jne 0x49ab57
test bl, bl
je 0x49aacf
push 0x8cf9
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x3b
mov ebx, 1
jmp 0x49aaf3
push 0x8ce5
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49ab20
and ebx, 0xfffffffd
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], ebx
call fcn.00507320
mov dword [esp + 0xb8], 1
test bl, 1
je 0x49ab40
and ebx, 0xfffffffe
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ebx
call fcn.00507320
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49ab4d
mov eax, 0x54ee24
push 0x32
push eax
call fcn.0042c9a0
jmp 0x49ab5b
mov ebx, dword [esp + 0x2c]
call fcn.0049b3f0
test al, al
jne 0x49adb9
call fcn.0049afd0
test al, al
jne 0x49adb9
cmp byte [esp + 0x13], al
je 0x49ab9c
push 0x8cfa
lea eax, [esp + 0x38]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x3d
or ebx, 4
jmp 0x49abbe
push 0x8ce6
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49abeb
and ebx, 0xfffffff7
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], ebx
call fcn.00507320
mov dword [esp + 0xb8], 1
test bl, 4
je 0x49ac04
lea ecx, [esp + 0x34]
call fcn.00507320
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49ac11
mov eax, 0x54ee24
push 0x33
jmp 0x49adb3
cmp eax, 2
jne 0x49adb9
mov ecx, 0x5776a0
test bl, bl
je 0x49ac48
push 0x8cf9
lea edx, [esp + 0x18]
push edx
call fcn.00471480
mov byte [esp + 0xb8], 0x3f
mov ebx, 0x10
jmp 0x49ac67
push 0x8ce5
lea eax, [esp + 0x38]
push eax
call fcn.00471480
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 0x49acaa
mov eax, dword [esp + 0x34]
and ebx, 0xffffffdf
mov dword [esp + 0x2c], ebx
cmp eax, edi
je 0x49acaa
push eax
call fcn.0051ebab
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 0x49acd2
mov eax, dword [esp + 0x14]
and ebx, 0xffffffef
mov dword [esp + 0x2c], ebx
cmp eax, edi
je 0x49acd2
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x49acdf
mov eax, 0x54ee24
push 0x35
push eax
call fcn.0042c9a0
cmp byte [esp + 0x13], 0
je 0x49ad0f
push 0x8cfa
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0xb8], 0x41
or ebx, 0x40
jmp 0x49ad34
push 0x8ce6
lea edx, [esp + 0x38]
push edx
mov ecx, 0x5776a0
call fcn.00471480
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 0x49ad77
mov eax, dword [esp + 0x34]
and ebx, 0xffffff7f
mov dword [esp + 0x2c], ebx
cmp eax, edi
je 0x49ad77
push eax
call fcn.0051ebab
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 0x49ada4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x49ada4
push eax
call fcn.0051ebab
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 0x49adb1
mov eax, 0x54ee24
push 0x36
push eax
call fcn.0042c9a0
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.0049ae80
mov edx, dword [ebx + 0x5bc]
test edx, edx
je 0x49adde
push 0
push eax
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x49adf2
mov eax, dword [ebx + 0x5b8]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x5b8], 6
cmp dword [esi + 0x28], 0
jle 0x49ae2b
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 0x49ae1d
push 0
push ecx
push 0x160
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x49ae2b
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.00473d80
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49ae59
push eax
call fcn.0051ebab
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