Function at 0x4557a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e065
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5f0a00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
lea esi, [eax + 0x50]
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.00497540
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
test ebx, 0xffff0000
jne 0x4557fc
push ebx
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edi, eax
jmp 0x455c5f
xor edi, edi
nop
push ebx
push dword [edi*8 + 0x5a14d8]
call fcn.00561309
add esp, 8
test eax, eax
je 0x455876
inc edi
cmp edi, 0xe
jb 0x455800
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040db80
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push ecx
add eax, 0xe4
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.00448f30
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
cmp byte [ecx + 0xd], 0
jne 0x45589f
mov ecx, dword [ecx + 0x10]
mov edx, eax
nop
mov di, word [edx]
cmp di, word [ecx]
jne 0x455891
test di, di
je 0x455872
mov di, word [edx + 2]
cmp di, word [ecx + 2]
jne 0x455891
add edx, 4
add ecx, 4
test di, di
jne 0x455850
xor ecx, ecx
jmp 0x455896
mov eax, dword [edi*8 + 0x5a14dc]
test eax, eax
je 0x45581a
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edi, eax
jmp 0x455c5f
sbb ecx, ecx
or ecx, 1
test ecx, ecx
js 0x45589f
mov edi, dword [ebp - 0x20]
jmp 0x4558a4
mov edi, dword [ebp + 8]
mov edi, dword [edi]
lea ecx, [eax - 0xc]
mov byte [ebp - 4], 3
cmp ecx, dword [0x5f012c]
je 0x4558c8
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4558c8
push ecx
call fcn.00408c50
add esp, 4
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0
cmp edi, dword [eax]
je 0x4558db
mov edi, dword [edi + 0x14]
jmp 0x455c5f
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
push ebx
je 0x4558fb
call fcn.00495630
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
jmp 0x455a56
mov ecx, dword [ebp - 0x18]
push 0x5a8380
call fcn.0044c620
mov ecx, eax
test ecx, ecx
jne 0x455a4b
mov edi, dword [0x5f95b8]
test edi, edi
je 0x455921
mov edi, dword [edi + 0x28]
jmp 0x455923
xor edi, edi
push 0x2801
call fcn.0055ba77
push 0x5002
mov dword [ebp + 8], eax
call fcn.0055ba77
push ebx
push str.load_cursor_failed__resource_index__s_not_found_
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp + 0xc], eax
call fcn.00448cd0
add esp, 0x1c
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0
push eax
push dword [ebp + 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov eax, dword [ebp - 0x18]
cmp eax, 0x2800
jge 0x455998
push 0
push 0
push ecx
push dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], 0
push dword [ebp + 0xc]
call fcn.0055ba5c
add esp, 4
test edi, edi
je 0x4559e3
mov eax, dword [edi]
mov ecx, edi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x4559e3
mov eax, dword [ebp + 4]
mov ecx, edi
mov edx, dword [edi]
push eax
push 0x59b528
push 0x436
push str.F:XTrendPCdep_soui_srcSApp.cpp
push dword [ebp + 8]
push str.soui
push 3
push 0
call dword [edx + 0x34]
mov esi, dword [ebp - 0x1c]
jmp 0x455a2a
push 0x2801
call fcn.0055ba77
push 0x59b528
push dword [ebp + 8]
mov edi, eax
push 0x436
push str.F:XTrendPCdep_soui_srcSApp.cpp
push str._s:_d___s__s__n
push 0xffffffffffffffff
push 0x2800
push edi
call fcn.0042d1a0
add esp, 0x24
mov byte [eax + edi], 0
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call fcn.0055ba5c
add esp, 4
push dword [ebp + 8]
call fcn.0055ba5c
add esp, 4
mov edi, dword [0x5f95b8]
test edi, edi
je 0x455b50
mov edi, dword [edi + 0x28]
jmp 0x455b52
mov eax, dword [ecx]
push ebx
call dword [eax + 0x20]
mov edi, eax
mov dword [ebp - 0x10], eax
test edi, edi
je 0x455a35
push ebx
lea ecx, [ebp + 0xc]
call fcn.0040db80
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.00448f30
mov ebx, dword [ebp - 0x20]
cmp byte [ebx + 0xd], 0
jne 0x455ab9
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x455aac
test dx, dx
je 0x455aa8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x455aac
add ecx, 4
add eax, 4
test dx, dx
jne 0x455a86
xor eax, eax
jmp 0x455ab1
sbb eax, eax
or eax, 1
test eax, eax
jns 0x455b40
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0xaaaaaaa
je 0x455c83
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
push 0x18
mov byte [ebp - 4], 6
mov dword [ebp - 0x10], 0
call fcn.005523ef
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0x10]
cmp dword [eax - 0xc], 0
lea edx, [eax - 0xc]
mov byte [ebp - 4], 7
jl 0x455b05
mov dword [ecx], eax
lock inc dword [edx]
jmp 0x455b17
mov eax, dword [0x5f0130]
mov dword [ecx], eax
push dword [ebp + 0xc]
call fcn.0040c0e0
lea ecx, [ebx + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 8]
push ebx
push dword [ebp - 0x24]
mov dword [ebx], eax
push dword [ebp - 0x28]
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov word [ebx + 0xc], 0
call fcn.00412a30
mov ebx, eax
lea ecx, [ebp + 0xc]
mov dword [ebx + 0x14], edi
call fcn.0040bf10
jmp 0x455c5f
xor edi, edi
push 0x2801
call fcn.0055ba77
push 0x5002
mov dword [ebp - 0x18], eax
call fcn.0055ba77
push ebx
push str.load_cursor_failed__resource_content__s_not_found_
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp + 8], eax
call fcn.00448cd0
add esp, 0x1c
mov ebx, eax
mov dword [ebp + 0xc], ebx
push 0
push 0
push 0
push 0
push ebx
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp ebx, 0x2800
mov ebx, dword [ebp - 0x18]
jge 0x455bc5
push 0
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 0xc]
mov byte [eax + ebx], 0
push dword [ebp + 8]
call fcn.0055ba5c
add esp, 4
test edi, edi
je 0x455c0e
mov eax, dword [edi]
mov ecx, edi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x455c0e
mov eax, dword [ebp + 4]
mov ecx, edi
mov edx, dword [edi]
push eax
push 0x59b528
push 0x43f
push str.F:XTrendPCdep_soui_srcSApp.cpp
push ebx
push str.soui
push 3
push 0
call dword [edx + 0x34]
mov esi, dword [ebp - 0x1c]
jmp 0x455c53
push 0x2801
call fcn.0055ba77
push 0x59b528
push ebx
push 0x43f
push str.F:XTrendPCdep_soui_srcSApp.cpp
push str._s:_d___s__s__n
push 0xffffffffffffffff
mov edi, eax
push 0x2800
push edi
call fcn.0042d1a0
add esp, 0x24
mov byte [eax + edi], 0
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call fcn.0055ba5c
add esp, 4
push ebx
call fcn.0055ba5c
mov edi, dword [ebp - 0x10]
add esp, 4
mov ecx, esi
mov dword [ebp - 4], 9
call fcn.00497550
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00412c20
int3