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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e32e4
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x70b744]
xor eax, esp
mov dword [esp + 0x368], eax
push ebx
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x380]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x28], ebx
push ebx
lea ecx, [esp + 0xe4]
mov dword [esp + 0x1c], edi
mov dword [esp + 0xfc], 7
call fcn.00410c09
lea eax, [edi + 0x34]
push eax
lea esi, [esp + 0x40]
mov dword [esp + 0x38c], ebx
call fcn.0044b496
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x5a618f
lea esi, [esp + 0x20]
call fcn.00412a9b
mov byte [esp + 0x388], 2
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
call fcn.00412acb
lea esi, [edi + 0x3c]
push ebx
push ebx
push 0x416
push dword [esi]
call dword [0x71f7ac]
test eax, eax
jne 0x5a53c4
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], 0x4eac
mov byte [esp + 0x140], 4
mov byte [esp + 0x141], bl
lea edi, [esp + 0x142]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov dword [esp + 0x160], 7
mov dword [esp + 0x164], 0x4f51
mov byte [esp + 0x168], 4
mov byte [esp + 0x169], bl
lea edi, [esp + 0x16a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov dword [esp + 0xfc], 4
mov dword [esp + 0x100], 0x4eb6
mov byte [esp + 0x104], 4
mov byte [esp + 0x105], bl
lea edi, [esp + 0x106]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov dword [esp + 0x110], 0x10
mov dword [esp + 0x114], 0x4f80
mov byte [esp + 0x118], 4
mov byte [esp + 0x119], bl
lea edi, [esp + 0x11a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov dword [esp + 0x14c], 0x11
mov dword [esp + 0x150], 0x4f83
mov byte [esp + 0x154], 4
mov byte [esp + 0x155], bl
lea edi, [esp + 0x156]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov dword [esp + 0x124], 2
mov dword [esp + 0x128], 0x4f89
mov byte [esp + 0x12c], 4
mov byte [esp + 0x12d], bl
lea edi, [esp + 0x12e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x138]
push eax
push 1
mov esi, 0x444
push esi
add edi, 0x3c
push dword [edi]
call dword [0x71f7ac]
xor eax, eax
inc eax
cmp dword [esp + 0x6c], eax
mov dword [esp + 0x1c], eax
jne 0x5a55d6
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x56c], bl
je 0x5a55d6
lea eax, [esp + 0x160]
push eax
push 1
push esi
push dword [edi]
call dword [0x71f7ac]
lea eax, [esp + 0x44]
push 0x8006
push eax
call fcn.004b9340
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x5a556c
mov eax, dword [eax + 4]
jmp 0x5a556f
add eax, 4
push eax
push 0x50
push 1
push edi
call fcn.00412b65
push ebx
push 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], 2
call fcn.00410779
lea eax, [esp + 0x44]
push 0x8006
push eax
call fcn.004b9340
pop ecx
pop ecx
mov byte [esp + 0x388], 3
cmp dword [eax + 0x18], 8
jb 0x5a55b2
mov eax, dword [eax + 4]
jmp 0x5a55b5
add eax, 4
push eax
lea ecx, [esp + 0xe4]
call fcn.0040153d
push ebx
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x390], 2
call fcn.00410779
cmp dword [esp + 0x70], ebx
je 0x5a55e7
cmp dword [esp + 0x70], 1
jne 0x5a567e
lea eax, [esp + 0xfc]
push eax
push 1
push esi
push dword [edi]
call dword [0x71f7ac]
lea eax, [esp + 0x44]
push 0x8007
push eax
call fcn.004b9340
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x5a5616
mov eax, dword [eax + 4]
jmp 0x5a5619
add eax, 4
push eax
push 0x50
push dword [esp + 0x24]
push edi
call fcn.00412b65
inc dword [esp + 0x1c]
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.00410779
lea eax, [esp + 0x44]
push 0x8007
push eax
call fcn.004b9340
pop ecx
pop ecx
mov byte [esp + 0x388], 4
cmp dword [eax + 0x18], 8
jb 0x5a565a
mov eax, dword [eax + 4]
jmp 0x5a565d
add eax, 4
push eax
lea ecx, [esp + 0xe4]
call fcn.0040153d
push ebx
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x390], 2
call fcn.00410779
lea eax, [esp + 0x110]
push eax
push 1
push esi
push dword [edi]
call dword [0x71f7ac]
lea eax, [esp + 0x44]
push 0x8003
push eax
call fcn.004b9340
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x5a56ad
mov eax, dword [eax + 4]
jmp 0x5a56b0
add eax, 4
push eax
push 0xd0
push dword [esp + 0x24]
push edi
call fcn.00412b65
inc dword [esp + 0x1c]
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.00410779
lea eax, [esp + 0x44]
push 0x8003
push eax
call fcn.004b9340
pop ecx
pop ecx
mov byte [esp + 0x388], 5
cmp dword [eax + 0x18], 8
jb 0x5a56f4
mov eax, dword [eax + 4]
jmp 0x5a56f7
add eax, 4
push eax
lea ecx, [esp + 0xe4]
call fcn.0040153d
push ebx
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x390], 2
call fcn.00410779
lea eax, [esp + 0x14c]
push eax
push 1
push esi
push dword [edi]
call dword [0x71f7ac]
lea eax, [esp + 0x44]
push 0x8004
push eax
call fcn.004b9340
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x5a5747
mov eax, dword [eax + 4]
jmp 0x5a574a
add eax, 4
push eax
push 0xd0
push dword [esp + 0x24]
push edi
call fcn.00412b65
inc dword [esp + 0x1c]
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.00410779
lea eax, [esp + 0x44]
push 0x8004
push eax
call fcn.004b9340
pop ecx
pop ecx
mov byte [esp + 0x388], 6
cmp dword [eax + 0x18], 8
jb 0x5a578e
mov eax, dword [eax + 4]
jmp 0x5a5791
add eax, 4
push eax
lea ecx, [esp + 0xe4]
call fcn.0040153d
push ebx
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x390], 2
call fcn.00410779
lea eax, [esp + 0x124]
push eax
push 1
push esi
push dword [edi]
call dword [0x71f7ac]
lea eax, [esp + 0x44]
push 0x8005
push eax
call fcn.004b9340
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x5a57e1
mov eax, dword [eax + 4]
jmp 0x5a57e4
add eax, 4
push eax
push 0xd0
push dword [esp + 0x24]
push edi
call fcn.00412b65
inc dword [esp + 0x1c]
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.00410779
lea eax, [esp + 0x44]
push 0x8004
push eax
call fcn.004b9340
pop ecx
pop ecx
mov byte [esp + 0x388], 7
cmp dword [eax + 0x18], 8
jb 0x5a5828
mov eax, dword [eax + 4]
jmp 0x5a582b
add eax, 4
push eax
lea ecx, [esp + 0xe4]
call fcn.0040153d
push ebx
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x390], 2
call fcn.00410779
mov ecx, dword [esp + 0x20]
add ecx, 0x60
push 0x762480
call fcn.004bb2e3
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_CheckMenuRadioItem]
add esi, 0x78
test al, al
push ebx
je 0x5a587d
mov eax, 0x9c69
push eax
push 0x9c6a
push eax
jmp 0x5a5889
mov eax, 0x9c6a
push eax
push eax
push 0x9c69
push dword [esi]
call edi
mov ecx, dword [esp + 0x20]
add ecx, 0x60
push 0x76249c
mov dword [esp + 0x18], ecx
call fcn.004bb12e
dec eax
mov ecx, 0x9c79
lea edx, [ecx - 3]
je 0x5a58c2
dec eax
je 0x5a58bb
dec eax
je 0x5a58b7
mov eax, edx
jmp 0x5a58c7
mov eax, ecx
jmp 0x5a58c7
mov eax, 0x9c77
jmp 0x5a58c7
mov eax, 0x9c78
push ebx
push eax
push ecx
push edx
push dword [esi]
call edi
mov ecx, dword [esp + 0x3c]
push 0x7624b8
add ecx, 0x24
call fcn.004bb12e
dec eax
mov edx, 0x9c70
lea ecx, [edx - 2]
je 0x5a58f7
dec eax
je 0x5a58f3
lea eax, [edx - 1]
jmp 0x5a58f9
mov eax, edx
jmp 0x5a58f9
mov eax, ecx
push ebx
push eax
push edx
push ecx
push dword [esi]
call edi
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x4b4]
cmp eax, 0xffffffff
mov ecx, 0x9c75
je 0x5a5943
cmp eax, 1
je 0x5a593c
cmp eax, 2
je 0x5a5935
xor edx, edx
cmp eax, 3
sete dl
dec edx
and edx, 0xfffffffd
add edx, 0x9c74
mov eax, edx
jmp 0x5a5945
mov eax, 0x9c73
jmp 0x5a5945
mov eax, 0x9c72
jmp 0x5a5945
mov eax, ecx
push ebx
push eax
push ecx
push 0x9c71
push dword [esi]
call edi
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0x7624d4
add edi, 0x74
call fcn.004bb12e
test eax, eax
push 0x9c5e
setne al
push edi
call fcn.005a4be8
mov ecx, dword [esp + 0x14]
push 0x7624f0
call fcn.004bb2e3
push 0x9c84
push edi
call fcn.005a4be8
mov ecx, dword [esp + 0x14]
push 0x76250c
call fcn.004bb2e3
push 0x9c6b
push esi
call fcn.005a4be8
mov ecx, dword [esp + 0x14]
push 0x762528
call fcn.004bb2e3
push 0x9c6c
push esi
call fcn.005a4be8
cmp dword [esp + 0x7c], 2
setne al
push eax
push 0x9c7b
push edi
call fcn.005a4c03
mov ecx, dword [esp + 0x14]
push 0x762544
call fcn.004bb2e3
test al, al
je 0x5a59f1
cmp dword [esp + 0x6c], ebx
jne 0x5a59f1
mov al, 1
jmp 0x5a59f3
xor al, al
push eax
push 0x9c7c
push edi
call fcn.005a4c03
mov ecx, dword [esp + 0x14]
push 0x762560
call fcn.004bb2e3
test al, al
je 0x5a5a2d
mov ecx, dword [esp + 0x14]
push 0x76257c
call fcn.004bb2e3
test al, al
jne 0x5a5a2d
cmp dword [esp + 0x6c], ebx
jne 0x5a5a2d
inc al
jmp 0x5a5a2f
xor al, al
push eax
push 0x9c82
push edi
call fcn.005a4c03
mov ecx, dword [esp + 0x14]
push 0x762598
call fcn.004bb2e3
test al, al
je 0x5a5a69
mov ecx, dword [esp + 0x14]
push 0x76257c
call fcn.004bb2e3
test al, al
jne 0x5a5a69
cmp dword [esp + 0x6c], ebx
jne 0x5a5a69
inc al
jmp 0x5a5a6b
xor al, al
push eax
push 0x9c81
push edi
call fcn.005a4c03
mov ecx, dword [esp + 0x14]
push 0x7625b4
call fcn.004bb2e3
test al, al
je 0x5a5aa5
mov ecx, dword [esp + 0x14]
push 0x76257c
call fcn.004bb2e3
test al, al
jne 0x5a5aa5
cmp dword [esp + 0x6c], ebx
jne 0x5a5aa5
inc al
jmp 0x5a5aa7
xor al, al
push eax
push 0x9c83
push edi
call fcn.005a4c03
mov ecx, dword [esp + 0x14]
push 0x7625d0
call fcn.004bb2e3
test al, al
je 0x5a5ad0
cmp dword [esp + 0x74], 2
je 0x5a5ad0
mov al, 1
jmp 0x5a5ad2
xor al, al
push eax
push 0x9c5e
push edi
call fcn.005a4c03
cmp dword [esp + 0x74], 2
je 0x5a5afb
mov ecx, dword [esp + 0x14]
push 0x7624d4
call fcn.004bb12e
test eax, eax
je 0x5a5afb
mov al, 1
jmp 0x5a5afd
xor al, al
push eax
push 0x9c84
push edi
call fcn.005a4c03
mov ecx, dword [esp + 0x14]
push 0x7625ec
call fcn.004bb2e3
test al, al
je 0x5a5b28
cmp dword [esp + 0x80], ebx
jne 0x5a5b28
mov al, 1
jmp 0x5a5b2a
xor al, al
mov edi, dword [esp + 0x18]
push eax
push 0x9c90
add edi, 0x7c
push edi
call fcn.005a4c03
mov ecx, dword [esp + 0x20]
push 0x762608
add ecx, 0x60
call fcn.004bb2e3
push eax
push 0x9c7e
push edi
call fcn.005a4c03
push dword [esp + 0x18]
lea edi, [esp + 0x24]
call fcn.005a4c38
mov edi, dword [esp + 0x3c]
push 3
pop eax
call fcn.005a20f2
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x1c]
call fcn.005a4dcd
mov ecx, dword [esp + 0x20]
push 0x762624
add ecx, 0x60
call fcn.004bb12e
mov edi, eax
cmp edi, 1
setg byte [esp + 0x10]
push dword [esp + 0x10]
mov dword [esp + 0x18], edi
push 0x9c75
push esi
call fcn.005a4c03
push dword [esp + 0x10]
push 0x9c71
push esi
call fcn.005a4c03
push dword [esp + 0x10]
push 0x9c72
push esi
call fcn.005a4c03
cmp edi, ebx
jle 0x5a5c08
cmp edi, 2
mov edi, dword [sym.imp.USER32.dll_RemoveMenu]
jge 0x5a5be6
push ebx
push 0x9c72
push dword [esi]
call edi
cmp dword [esp + 0x14], 3
jge 0x5a5bf7
push ebx
push 0x9c73
push dword [esi]
call edi
cmp dword [esp + 0x14], 4
jge 0x5a5c08
push ebx
push 0x9c74
push dword [esi]
call edi
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x44]
push eax
mov eax, edi
call fcn.005a7fbb
lea eax, [esp + 0x44]
mov byte [esp + 0x388], 8
call fcn.00402252
push 0x14
pop ecx
cmp eax, ecx
jbe 0x5a5c36
mov dword [esp + 0x14], ecx
jmp 0x5a5c42
cmp eax, ebx
mov dword [esp + 0x14], eax
jle 0x5a5e9a
lea esi, [edi + 0x60]
push 0x762640
mov ecx, esi
call fcn.004bb12e
push 0x76265c
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.004bb12e
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], ebx
jne 0x5a5c82
cmp dword [esp + 0x14], 1
je 0x5a5c82
cmp dword [edi + 0x4b4], ebx
mov byte [esp + 0x64], bl
jge 0x5a5c87
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
call fcn.005a4bb6
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jle 0x5a5e2c
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x254]
call fcn.0041212f
push 0xfc
lea eax, [esp + 0x178]
push ebx
push eax
mov byte [esp + 0x394], 9
call fcn.00522720
add esp, 0xc
push dword [esp + 0x10]
lea esi, [esp + 0x48]
call fcn.00412cc0
push 0x37
pop ecx
mov esi, eax
lea edi, [esp + 0x178]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x90]
mov esi, dword [esp + 0x2c]
push ebx
push dword [esi + eax + 0xb4]
lea eax, [esp + 0x70]
push eax
call fcn.004c2b17
add esp, 0xc
mov dword [esp + 0x2c], eax
mov byte [esp + 0x388], 0xa
mov eax, dword [edi + 0x90]
push ebx
push dword [esi + eax + 0xb0]
lea eax, [esp + 0xb0]
push eax
call fcn.004c2b17
add esp, 0xc
push 0x69e78c
push eax
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x394], 0xb
call fcn.00412d30
add esp, 0xc
push dword [esp + 0x2c]
mov byte [esp + 0x38c], 0xc
push eax
lea eax, [esp + 0x94]
push eax
call fcn.00403bfd
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x260]
mov byte [esp + 0x394], 0xd
call fcn.004106e6
push ebx
push 1
lea ecx, [esp + 0x94]
call fcn.00410779
push ebx
push 1
lea ecx, [esp + 0xcc]
call fcn.00410779
push ebx
push 1
lea ecx, [esp + 0xb0]
call fcn.00410779
push ebx
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x390], 9
call fcn.00410779
push dword [esp + 0x64]
sub esp, 0xfc
mov eax, esp
mov dword [esp + 0x12c], esp
push eax
lea eax, [esp + 0x278]
call fcn.00412b36
push dword [esp + 0x110]
push edi
call fcn.005a521a
push ebx
push 1
lea ecx, [esp + 0x25c]
mov byte [esp + 0x390], 8
call fcn.00410779
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add esi, 0xfc
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x2c], esi
jl 0x5a5ca6
mov edx, dword [esp + 0x14]
cmp edx, ebx
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x10], ebx
jle 0x5a5e6f
mov eax, dword [esi + 0x90]
add eax, 0xb4
mov edi, dword [esp + 0x38]
cmp edi, dword [eax - 4]
jne 0x5a5e60
mov edi, dword [esp + 0x28]
cmp edi, dword [eax]
jne 0x5a5e60
mov ecx, dword [esp + 0x10]
inc dword [esp + 0x10]
add eax, 0xfc
cmp dword [esp + 0x10], edx
jl 0x5a5e4b
mov eax, dword [esi + 0x90]
imul ecx, ecx, 0xfc
imul edx, edx, 0xfc
push dword [ecx + eax]
push dword [edx + eax - 0xfc]
push dword [eax]
lea eax, [esi + 0x78]
call fcn.00412c0b
jmp 0x5a5f6f
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x354]
call fcn.0041212f
push 0xfc
lea eax, [esp + 0x278]
push ebx
push eax
mov byte [esp + 0x394], 0xe
call fcn.00522720
add esp, 0xc
push 0xdc
lea eax, [esp + 0x178]
push ebx
push eax
call fcn.00522720
add esp, 0xc
cmp dword [esp + 0x10], ebx
push 0x37
pop ecx
lea esi, [esp + 0x174]
lea edi, [esp + 0x278]
mov word [esp + 0x1b8], 0xdc
rep movsd dword es:[edi], dword [esi]
mov eax, 0x69dd8c
jg 0x5a5f0b
mov eax, str.not_available
push eax
lea ecx, [esp + 0x358]
call fcn.00410d6e
push 1
sub esp, 0xfc
mov eax, esp
mov dword [esp + 0x128], esp
push eax
lea eax, [esp + 0x378]
call fcn.00412b36
push dword [esp + 0x110]
push dword [esp + 0x11c]
call fcn.005a521a
push ebx
push 1
lea ecx, [esp + 0x35c]
mov byte [esp + 0x390], 8
call fcn.00410779
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x14
jl 0x5a5e9e
mov ecx, dword [esp + 0x20]
push 0x762678
add ecx, 0x60
call fcn.004bb12e
cmp eax, 1
jne 0x5a5f8e
mov edi, dword [esp + 0x18]
call fcn.005a4bb6
mov esi, dword [esp + 0x18]
mov edi, dword [0x71f7ac]
lea eax, [esp + 0x30]
push eax
push ebx
push 0x453
add esi, 0x3c
push dword [esi]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], esi
call edi
call fcn.004c1998
cmp eax, 7
jg 0x5a6070
mov eax, dword [esp + 0x18]
push dword [eax + 4]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], 0x3e8
mov dword [esp + 0x9c], 0x32
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x5a6070
push ebx
push ebx
push 0x31
push dword [esi]
call edi
mov edi, dword [esp + 0x28]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0xf8], 8
mov eax, dword [esp + 0xe4]
jae 0x5a6030
lea eax, [esp + 0xe4]
push 0x400
lea ecx, [esp + 0x90]
push ecx
push 0xffffffffffffffff
push eax
push edi
call dword [0x71f718]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x94]
imul eax, eax, 0x2b
sub eax, dword [esp + 0x8c]
push edi
lea eax, [eax + ecx + 0x12]
mov dword [esp + 0x34], eax
call esi
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push 9
push 9
push 0x26
add eax, 0xa
push eax
push 0xfffffffffffffff0
push ebx
call edi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x10], eax
lea eax, [esi + 0x35]
cdq
sub eax, edx
mov ecx, eax
push 6
push 6
lea eax, [esi - 0x21]
cdq
push 0x2e
sar ecx, 1
push ecx
sub eax, edx
sar eax, 1
push ebx
push eax
call edi
mov esi, eax
mov dword [esp + 0x28], esi
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x398], 0x11
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
push esi
push dword [esp + 0x18]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CombineRgn]
push 1
push edi
mov edi, dword [esp + 0x20]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov eax, dword [esp + 0x30]
push ebx
push 0x32
add eax, 0xa
push eax
push ebx
push ebx
push dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
call edi
mov eax, dword [esp + 0x34]
push ebx
inc eax
push eax
push dword [esp + 0x38]
mov eax, dword [esp + 0x44]
push 0xffffffffffffffff
push 5
push dword [eax]
call edi
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
call fcn.00412acb
cmp dword [eax + 4], ebx
jne 0x5a6148
call fcn.004c1998
cmp eax, 0xa
jl 0x5a6139
cmp byte [0x722275], bl
jne 0x5a6148
mov eax, dword [esp + 0x20]
push 1
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov eax, dword [esp + 0x3c]
push 1
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp esi, ebx
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x5a6165
push esi
call edi
cmp dword [esp + 0x10], ebx
je 0x5a6171
push dword [esp + 0x10]
call edi
lea esi, [esp + 0x44]
call fcn.0042055c
mov byte [esp + 0x388], 1
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x5a618f
call fcn.004117b8
mov byte [esp + 0x388], bl
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x5a61a3
call fcn.004117b8
push ebx
push 1
lea ecx, [esp + 0xe8]
call fcn.00410779
mov ecx, dword [esp + 0x380]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x368]
xor ecx, esp
call fcn.0051d721
mov esp, ebp
pop ebp
ret