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

Disassembly:
push 0xffffffffffffffff
push 0x4f1d9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [esp + 0x98]
push ebx
push ebp
push esi
push edi
push 0x3ed
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push 0xffffffffffffffec
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
push esi
push esi
push 0x1004
push edi
call ebx
mov edi, eax
mov eax, dword [0x52582c]
cmp eax, esi
mov dword [esp + 0x1c], edi
je 0x45dd41
push eax
call fcn.004de3a6
add esp, 4
mov dword [0x52582c], esi
lea ecx, [edi + edi*2]
shl ecx, 1
push ecx
call fcn.004de48f
add esp, 4
xor ebp, ebp
cmp edi, esi
mov dword [0x52582c], eax
mov dword [esp + 0x14], eax
jle 0x45e0f9
jmp 0x45dd66
xor esi, esi
mov edx, dword [0x50d0e0]
mov dword [esp + 0x10], edx
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x4c]
mov dword [esp + 0x48], esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x50], 1
mov eax, dword [edx - 8]
cmp eax, esi
mov dword [esp + 0xa0], esi
je 0x45ddb5
cmp dword [edx - 0xc], esi
jl 0x45dda7
lea ecx, [esp + 0x10]
call fcn.00402350
jmp 0x45ddb5
push 0x5209fc
lea ecx, [esp + 0x14]
call fcn.00406e00
mov esi, 0x100
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x64], esi
call fcn.004569b0
test eax, eax
mov dword [esp + 0x5c], eax
je 0x45de01
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x48]
push edx
push ebp
push 0x1073
push eax
call ebx
lea ecx, [esi - 1]
cmp eax, ecx
jl 0x45de01
add esi, esi
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x64], esi
call fcn.004569b0
test eax, eax
mov dword [esp + 0x5c], eax
jne 0x45ddd0
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00407e30
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
jne 0x45de20
mov eax, dword [esp + 0x14]
mov byte [eax], 3
jmp 0x45de53
mov esi, 0x513d58
mov eax, dword [esi + 4]
push eax
push edx
call fcn.004dec69
add esp, 8
test eax, eax
je 0x45de47
mov edx, dword [esp + 0x10]
add esi, 8
cmp esi, 0x513d98
jl 0x45de25
jmp 0x45de53
mov edx, dword [esp + 0x14]
mov cl, byte [esi]
mov byte [edx], cl
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x45debf
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
test ecx, ecx
jl 0x45de98
mov esi, dword [0x50d0e4]
lea ecx, [edx - 0xc]
cmp ecx, esi
je 0x45debf
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45de8c
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov edx, dword [0x50d0e0]
mov dword [esp + 0x10], edx
jmp 0x45debf
mov eax, 0x5209fc
test eax, eax
je 0x45deac
push 0x5209fc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5209fc
push eax
lea ecx, [esp + 0x18]
call fcn.004021f0
mov edx, dword [esp + 0x10]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x20], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x28], 2
mov eax, dword [edx - 8]
test eax, eax
je 0x45df03
mov eax, dword [edx - 0xc]
test eax, eax
jl 0x45def5
lea ecx, [esp + 0x10]
call fcn.00402350
jmp 0x45df03
push 0x5209fc
lea ecx, [esp + 0x14]
call fcn.00406e00
mov esi, 0x100
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x3c], esi
call fcn.004569b0
test eax, eax
mov dword [esp + 0x34], eax
je 0x45df4f
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push ebp
push 0x1073
push edx
call ebx
lea ecx, [esi - 1]
cmp eax, ecx
jl 0x45df4f
add esi, esi
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x3c], esi
call fcn.004569b0
test eax, eax
mov dword [esp + 0x34], eax
jne 0x45df1e
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00407e30
mov esi, 0x513d98
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.004dec69
add esp, 8
test eax, eax
je 0x45df81
add esi, 8
cmp esi, 0x513fb0
jl 0x45df5f
jmp 0x45df8c
mov ecx, dword [esp + 0x14]
mov ax, word [esi]
mov word [ecx + 2], ax
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x45dfe7
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
test ecx, ecx
jl 0x45dfd5
mov esi, dword [0x50d0e4]
lea ecx, [edx - 0xc]
cmp ecx, esi
je 0x45dfe7
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45dfc9
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov edx, dword [0x50d0e0]
mov dword [esp + 0x10], edx
jmp 0x45dfe7
push 0x5209fc
lea ecx, [esp + 0x14]
call fcn.00406e00
mov edx, dword [esp + 0x10]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x74]
mov dword [esp + 0x70], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x78], 3
mov eax, dword [edx - 8]
test eax, eax
je 0x45e02b
mov eax, dword [edx - 0xc]
test eax, eax
jl 0x45e01d
lea ecx, [esp + 0x10]
call fcn.00402350
jmp 0x45e02b
push 0x5209fc
lea ecx, [esp + 0x14]
call fcn.00406e00
mov esi, 0x100
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x8c], esi
call fcn.004569b0
test eax, eax
mov dword [esp + 0x84], eax
je 0x45e083
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
push ebp
push 0x1073
push ecx
call ebx
lea edx, [esi - 1]
cmp eax, edx
jl 0x45e083
add esi, esi
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x8c], esi
call fcn.004569b0
test eax, eax
mov dword [esp + 0x84], eax
jne 0x45e04c
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00407e30
mov eax, dword [esp + 0x10]
push eax
call fcn.004debd7
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0xa0], 0xffffffff
mov word [ecx + 4], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [0x50d0e4]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x45e0dd
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45e0dd
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ebp
add ecx, 6
cmp ebp, eax
mov dword [esp + 0x14], ecx
jl 0x45dd64
mov edi, eax
xor esi, esi
mov eax, dword [0x525828]
cmp eax, esi
je 0x45e109
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov ecx, dword [0x52582c]
push edi
push ecx
call dword [sym.imp.USER32.dll_CreateAcceleratorTableW]
mov esi, dword [esp + 0xac]
mov dword [0x525828], eax
push 0xa002
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_UnregisterHotKey]
mov edi, dword [esp + 0xa8]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ec
push edi
call ebp
push 0
push 0
push 0xf0
push eax
call ebx
test eax, eax
jne 0x45e15e
mov dword [0x5257ac], eax
jmp 0x45e1be
push 0x43f
push edi
mov dword [0x5257ac], 1
call ebp
push 0
push 0
push 0x402
push eax
call ebx
xor ecx, ecx
mov cl, ah
movsx ecx, cl
movsx edx, al
mov eax, ecx
mov edi, ecx
shr eax, 2
and edi, 1
and eax, 1
shl edi, 2
or eax, edi
and ecx, 2
or eax, ecx
push edx
mov dword [0x5257b0], edx
mov dword [0x5257b4], eax
push eax
mov eax, dword [esi + 4]
push 0xa002
push eax
call dword [sym.imp.USER32.dll_RegisterHotKey]
mov dword [0x5257ac], eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 8