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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5316b4
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x559024]
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 0x4905cb
push ebx
push ebx
push 0x14b
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4905d9
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.0046a790
cmp eax, 1
je 0x4906a3
cmp eax, 2
je 0x4906a3
cmp eax, 0x37
jne 0x49068c
mov byte [esp + 0x13], 1
jmp 0x4906a8
lea edx, [eax - 0x33]
cmp edx, 7
jbe 0x4906a3
add eax, 0xfffffe0b
cmp eax, 0x61
seta byte [esp + 0x13]
jmp 0x4906a8
mov byte [esp + 0x13], 0
call fcn.00491810
movzx eax, al
push eax
call fcn.004bc7f0
mov edi, eax
mov dword [esp + 0x34], edi
call fcn.004bc2f0
test al, al
je 0x490718
push 0x8cd2
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 2
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x490703
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x490710
mov eax, 0x538640
push 0x19
push eax
call fcn.00425690
cmp edi, 0x17
jl 0x490790
cmp byte [esp + 0x13], 0
mov ecx, 0x55a400
je 0x490742
push 0x8ce7
lea edx, [esp + 0x18]
push edx
call fcn.00467b90
mov byte [esp + 0xb8], 3
jmp 0x490759
push 0x8cd3
lea eax, [esp + 0x18]
push eax
call fcn.00467b90
mov byte [esp + 0xb8], 4
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x49077b
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x490788
mov eax, 0x538640
push 0x17
push eax
call fcn.00425690
cmp edi, 0x16
jl 0x49080d
cmp byte [esp + 0x13], 0
je 0x4907ba
push 0x8ce8
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 5
jmp 0x4907d6
push 0x8cd4
lea edx, [esp + 0x18]
push edx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 6
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4907f8
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x490805
mov eax, 0x538640
push 0x16
push eax
call fcn.00425690
cmp edi, 0x15
jl 0x49088a
cmp byte [esp + 0x13], 0
je 0x490837
push 0x8ce9
lea eax, [esp + 0x18]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 7
jmp 0x490853
push 0x8cd5
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 8
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x490875
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x490882
mov eax, 0x538640
push 0x15
push eax
call fcn.00425690
cmp byte [esp + 0x13], 0
mov ecx, 0x55a400
je 0x4908af
push 0x8cea
lea edx, [esp + 0x18]
push edx
call fcn.00467b90
mov byte [esp + 0xb8], 9
jmp 0x4908c6
push 0x8cd6
lea eax, [esp + 0x18]
push eax
call fcn.00467b90
mov byte [esp + 0xb8], 0xa
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4908e8
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x4908f5
mov eax, 0x538640
push 0xc
push eax
call fcn.00425690
cmp byte [esp + 0x13], 0
je 0x490922
push 0x8ceb
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0xb
jmp 0x49093e
push 0x8cd7
lea edx, [esp + 0x18]
push edx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0xc
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x490960
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49096d
mov eax, 0x538640
push 9
push eax
call fcn.00425690
cmp byte [esp + 0x13], 0
je 0x49099a
push 0x8cec
lea eax, [esp + 0x18]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0xd
jmp 0x4909b6
push 0x8cd8
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0xe
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4909d8
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x4909e5
mov eax, 0x538640
push 0xb
push eax
call fcn.00425690
cmp edi, 0xf
jl 0x490a65
cmp byte [esp + 0x13], 0
mov ecx, 0x55a400
je 0x490a17
push 0x8ced
lea edx, [esp + 0x18]
push edx
call fcn.00467b90
mov byte [esp + 0xb8], 0xf
jmp 0x490a2e
push 0x8cd9
lea eax, [esp + 0x18]
push eax
call fcn.00467b90
mov byte [esp + 0xb8], 0x10
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x490a50
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x490a5d
mov eax, 0x538640
push 0xf
push eax
call fcn.00425690
cmp byte [esp + 0x13], 0
je 0x490a8a
push 0x8cee
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x11
jmp 0x490aa6
push 0x8cda
lea edx, [esp + 0x18]
push edx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x12
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x490ac8
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x490ad5
mov eax, 0x538640
push 8
push eax
call fcn.00425690
mov edi, 0x27
call fcn.004bcaa0
cmp al, 1
jne 0x490b63
cmp byte [esp + 0x13], 0
je 0x490b10
push 0x8cf7
lea eax, [esp + 0x18]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x13
jmp 0x490b2c
push 0x8ce3
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x14
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x490b4e
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x490b5b
mov eax, 0x538640
push 0xe
push eax
call fcn.00425690
mov edi, 0xd
call fcn.004bcaa0
cmp al, 1
jne 0x490be4
cmp byte [esp + 0x13], 0
mov ecx, 0x55a400
je 0x490b96
push 0x8cf8
lea edx, [esp + 0x18]
push edx
call fcn.00467b90
mov byte [esp + 0xb8], 0x15
jmp 0x490bad
push 0x8ce4
lea eax, [esp + 0x18]
push eax
call fcn.00467b90
mov byte [esp + 0xb8], 0x16
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x490bcf
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x490bdc
mov eax, 0x538640
push 0xd
push eax
call fcn.00425690
cmp byte [esp + 0x13], 0
je 0x490c09
push 0x8cef
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x17
jmp 0x490c25
push 0x8cdb
lea edx, [esp + 0x18]
push edx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x18
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x490c47
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x490c54
mov eax, 0x538640
push 0xa
push eax
call fcn.00425690
call fcn.004bc6f0
mov bl, al
call fcn.004bc770
mov byte [esp + 0x33], al
call fcn.004bc670
cmp byte [0x55a4ac], 0
jne 0x490df1
test bl, bl
je 0x490c91
cmp byte [esp + 0x33], 0
jne 0x490cbd
test al, al
jne 0x490df1
cmp byte [esp + 0x13], 0
je 0x490da2
push 0x8cf0
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x1f
jmp 0x490dbe
test al, al
je 0x490c91
cmp byte [esp + 0x13], 0
je 0x490ce6
push 0x8d29
lea eax, [esp + 0x18]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x1b
jmp 0x490d02
push 0x8d27
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x1c
lea ecx, [esp + 0x20]
call fcn.004fce50
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 1
call fcn.004fc190
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x490d29
mov eax, 0x538640
push 1
push eax
call fcn.00425690
mov bl, byte [esp + 0x13]
mov ecx, 0x55a400
test bl, bl
je 0x490d57
push 0x8d2a
lea edx, [esp + 0x18]
push edx
call fcn.00467b90
mov byte [esp + 0xb8], 0x1d
jmp 0x490d6e
push 0x8d28
lea eax, [esp + 0x18]
push eax
call fcn.00467b90
mov byte [esp + 0xb8], 0x1e
lea ecx, [esp + 0x20]
call fcn.004fce50
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 1
call fcn.004fc190
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x490d95
mov eax, 0x538640
push 0x10
push eax
call fcn.00425690
jmp 0x490e6d
push 0x8cdc
lea edx, [esp + 0x18]
push edx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x20
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x490de0
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x490ded
mov eax, 0x538640
push 1
jmp 0x490e63
cmp byte [esp + 0x13], 0
je 0x490e16
push 0x8d04
lea eax, [esp + 0x18]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x19
jmp 0x490e32
push 0x8d03
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x1a
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x490e54
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x490e61
mov eax, 0x538640
push 0x10
push eax
call fcn.00425690
mov bl, byte [esp + 0x13]
mov ecx, 0x55a400
test bl, bl
je 0x490e8f
push 0x8cf1
lea edx, [esp + 0x18]
push edx
call fcn.00467b90
mov byte [esp + 0xb8], 0x21
jmp 0x490ea6
push 0x8cdd
lea eax, [esp + 0x18]
push eax
call fcn.00467b90
mov byte [esp + 0xb8], 0x22
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x490ec8
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x490ed5
mov eax, 0x538640
push 4
push eax
call fcn.00425690
test bl, bl
je 0x490eff
push 0x8cf2
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x23
jmp 0x490f1b
push 0x8cde
lea edx, [esp + 0x18]
push edx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x24
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x490f3d
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x490f4a
mov eax, 0x538640
push 6
push eax
call fcn.00425690
test bl, bl
je 0x490f74
push 0x8cf3
lea eax, [esp + 0x18]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x25
jmp 0x490f90
push 0x8cdf
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x26
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x490fb2
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x490fbf
mov eax, 0x538640
push 2
push eax
call fcn.00425690
mov ecx, 0x55a400
test bl, bl
je 0x490fe9
push 0x8cf4
lea edx, [esp + 0x18]
push edx
call fcn.00467b90
mov byte [esp + 0xb8], 0x27
jmp 0x491000
push 0x8ce0
lea eax, [esp + 0x18]
push eax
call fcn.00467b90
mov byte [esp + 0xb8], 0x28
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x491022
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49102f
mov eax, 0x538640
push 5
push eax
call fcn.00425690
test bl, bl
je 0x491059
push 0x8cf5
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x29
jmp 0x491075
push 0x8ce1
lea edx, [esp + 0x18]
push edx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x2a
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x491097
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4910a4
mov eax, 0x538640
push 3
push eax
call fcn.00425690
test bl, bl
je 0x4910ce
push 0x8cf6
lea eax, [esp + 0x18]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x2b
jmp 0x4910ea
push 0x8ce2
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x2c
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49110c
push eax
call fcn.005134a7
add esp, 4
mov edi, dword [esp + 0x20]
mov eax, edi
test edi, edi
jne 0x49111b
mov eax, 0x538640
push 7
push eax
call fcn.00425690
mov ebx, dword [esp + 0x34]
cmp ebx, 0xf
jl 0x4911a1
cmp byte [esp + 0x13], 0
mov ecx, 0x55a400
je 0x491151
push 0x8d36
lea edx, [esp + 0x18]
push edx
call fcn.00467b90
mov byte [esp + 0xb8], 0x2d
jmp 0x491168
push 0x8d35
lea eax, [esp + 0x18]
push eax
call fcn.00467b90
mov byte [esp + 0xb8], 0x2e
lea ecx, [esp + 0x20]
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49118a
push eax
call fcn.005134a7
add esp, 4
mov edi, dword [esp + 0x20]
mov eax, edi
test edi, edi
jne 0x491199
mov eax, 0x538640
push 0x11
push eax
call fcn.00425690
call fcn.00491b80
test al, al
jne 0x491457
cmp ebx, 0x17
jl 0x491206
push 0x8cfb
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x2f
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4911f1
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4911fe
mov eax, 0x538640
push 0x22
push eax
call fcn.00425690
cmp ebx, 0x16
jl 0x49125e
push 0x8cfc
lea edx, [esp + 0x18]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x30
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x491249
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x491256
mov eax, 0x538640
push 0x21
push eax
call fcn.00425690
cmp ebx, 0x15
jl 0x4912b6
push 0x8cfd
lea eax, [esp + 0x18]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x31
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4912a1
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4912ae
mov eax, 0x538640
push 0x20
push eax
call fcn.00425690
push 0x8cfe
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x32
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4912f4
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x491301
mov eax, 0x538640
push 0x1f
push eax
call fcn.00425690
push 0x8cff
lea edx, [esp + 0x18]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x33
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x491347
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x491354
mov eax, 0x538640
push 0x28
push eax
call fcn.00425690
push 0x8d00
lea eax, [esp + 0x18]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x34
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49139a
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4913a7
mov eax, 0x538640
push 0x29
push eax
call fcn.00425690
push 0x8d02
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x35
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4913ed
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4913fa
mov eax, 0x538640
push 0x2a
push eax
call fcn.00425690
push 0x8d01
lea edx, [esp + 0x18]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 0x36
call fcn.004fce50
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x491440
push eax
call fcn.005134a7
add esp, 4
mov edi, dword [esp + 0x20]
mov eax, edi
test edi, edi
jne 0x49144f
mov eax, 0x538640
push 0x2b
push eax
call fcn.00425690
cmp byte [0x55a4ac], 0
je 0x4915fd
call fcn.00491c30
test al, al
jne 0x491531
call fcn.00491810
test al, al
jne 0x491531
cmp byte [esp + 0x13], al
je 0x4914a7
push 0x8cf9
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0xb8], 0x37
mov ebx, 1
jmp 0x4914cb
push 0x8ce5
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov dword [esp + 0xb8], 0x38
mov ebx, 2
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ebx
call fcn.004fce50
mov dword [esp + 0xb8], 0x37
test bl, 2
je 0x4914f8
and ebx, 0xfffffffd
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], ebx
call fcn.004fc190
mov dword [esp + 0xb8], 1
test bl, 1
je 0x491518
and ebx, 0xfffffffe
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], ebx
call fcn.004fc190
mov edi, dword [esp + 0x20]
mov eax, edi
test edi, edi
jne 0x491527
mov eax, 0x538640
push 0x32
push eax
call fcn.00425690
jmp 0x491535
mov ebx, dword [esp + 0x2c]
cmp byte [0x55a4ac], 0
je 0x4915fd
call fcn.00491c30
test al, al
jne 0x4915fd
call fcn.00491810
test al, al
jne 0x4915fd
mov ecx, 0x55a400
cmp byte [esp + 0x13], al
je 0x491583
push 0x8cfa
lea edx, [esp + 0x18]
push edx
call fcn.00467b90
mov byte [esp + 0xb8], 0x39
or ebx, 4
jmp 0x4915a0
push 0x8ce6
lea eax, [esp + 0x3c]
push eax
call fcn.00467b90
mov dword [esp + 0xb8], 0x3a
or ebx, 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ebx
call fcn.004fce50
mov dword [esp + 0xb8], 0x39
test bl, 8
je 0x4915cd
and ebx, 0xfffffff7
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], ebx
call fcn.004fc190
mov dword [esp + 0xb8], 1
test bl, 4
je 0x4915e6
lea ecx, [esp + 0x14]
call fcn.004fc190
mov edi, dword [esp + 0x20]
mov eax, edi
test edi, edi
jne 0x4915f5
mov eax, 0x538640
push 0x33
push eax
call fcn.00425690
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.004916c0
mov edx, dword [ebx + 0x5bc]
test edx, edx
je 0x491622
push 0
push eax
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x491636
mov edx, dword [ebx + 0x5b8]
mov eax, dword [edx + 4]
mov dword [eax + ebx + 0x5b8], 6
cmp dword [esi + 0x28], 0
jle 0x49166f
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 0x491661
push 0
push ecx
push 0x160
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x49166f
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.0046a4f0
mov dword [esp + 0xb8], 0xffffffff
test edi, edi
je 0x491699
push edi
call fcn.005134a7
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