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

Disassembly:
push 0xffffffffffffffff
push 0x56c6d8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x88]
xor ebx, ebx
xor eax, eax
cmp edx, ebx
je 0x46558f
mov ecx, dword [esp + 0x8c]
cmp ecx, ebx
je 0x46558f
mov edi, dword [esp + 0x84]
lea eax, [esp + 0x40]
push eax
push ebx
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x20]
push 0x1100
add edx, 0x18
push ecx
mov dword [esp + 0x54], 0xffff0002
mov dword [esp + 0x58], 0x23
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], 6
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x68], edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x24], ebp
jne 0x465249
xor eax, eax
jmp 0x46558f
mov ecx, dword [esp + 0x88]
xor esi, esi
mov dword [esp + 0x30], esi
call fcn.004b2410
cmp eax, ebx
je 0x46557b
mov edx, dword [eax + 4]
push ebx
push edx
call fcn.0041fc60
mov ecx, eax
call fcn.0041c9c0
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x1c], esi
je 0x46555f
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x40], ebp
mov eax, dword [esi]
push eax
push ecx
mov ecx, dword [esp + 0x9c]
call fcn.004d0060
cmp eax, ebx
je 0x4652d0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x120]
push ebx
push ebx
push ebx
mov ebp, 1
push ebp
push ebp
push ebx
push 0x22
mov ecx, edx
push eax
add ecx, 0xc8
call fcn.00519eed
mov dword [esp + 0x60], ebp
mov dword [esp + 0x30], ebp
jmp 0x4652d4
mov dword [esp + 0x60], ebx
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x40]
push ecx
push ebx
push 0x1100
lea eax, [esi + 0x44]
push edx
mov dword [esp + 0x68], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
mov eax, dword [esi]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push 4
push ebp
mov ecx, edi
mov dword [esp + 0x58], ebp
call fcn.00519eed
cmp dword [esp + 0x90], 3
je 0x46555f
cmp dword [esi + 0x1e4], ebx
mov eax, dword [esi + 0x1c4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
jbe 0x46533e
mov ecx, dword [esi]
push ecx
mov ecx, dword [0x5d95ac]
call fcn.00408560
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], ebp
xor eax, eax
xor ebp, ebp
cmp dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
jle 0x465539
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
jmp 0x465364
mov esi, dword [esp + 0x1c]
call fcn.00518333
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4655a5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x8c], eax
cmp dword [esi + 0x1e4], ebx
mov dword [esp + 0x7c], ebx
jbe 0x4653e6
cmp dword [esp + 0x18], ebx
je 0x4653e6
mov esi, dword [esp + 0x14]
mov edi, 0x57e9e8
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4653db
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x90]
push 0x581fa4
push ecx
call fcn.004020e0
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x28]
add esp, 0xc
jmp 0x46545f
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x1c]
lea edx, [ebp + 1]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.AlarmManage.CAM
call fcn.004019c0
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x88], 1
call fcn.004ea360
mov ecx, eax
mov byte [esp + 0x88], bl
call fcn.004ea820
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x94]
push str._s_d
push edx
mov byte [esp + 0x8c], 2
call fcn.004020e0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x7c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46545f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x90]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x98]
push ebp
push edx
call fcn.004d03c0
cmp eax, ebx
je 0x4654a8
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x120]
push ebx
push ebx
push ebx
mov esi, 1
push esi
push esi
push ebx
push 0x22
push eax
add ecx, 0xc8
call fcn.00519eed
mov dword [esp + 0x60], esi
mov dword [esp + 0x2c], esi
jmp 0x4654ac
mov dword [esp + 0x60], ebx
mov esi, dword [esp + 0x8c]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x4654d6
push ebx
lea ecx, [esp + 0x90]
call fcn.00401650
mov esi, dword [esp + 0x8c]
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x40]
push eax
push ebx
push 0x1100
push ecx
mov dword [esp + 0x68], esi
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push 4
push eax
mov ecx, edi
call fcn.00519eed
lea eax, [esi - 0x10]
mov dword [esp + 0x7c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x465523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x14], 0x40
add ebp, 1
cmp ebp, dword [esp + 0x28]
jl 0x465360
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
push ebx
push ebx
push ebx
push eax
push eax
push ebx
push 0x22
push esi
mov ecx, edi
call fcn.00519eed
mov ecx, dword [edi + 0x20]
push esi
push 2
push 0x1102
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x88]
call fcn.004b24d0
cmp eax, ebx
mov ebp, dword [esp + 0x24]
jne 0x465263
mov esi, dword [esp + 0x30]
push ebx
push ebx
push ebx
push esi
push esi
push ebx
push 0x22
push ebp
mov ecx, edi
call fcn.00519eed
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x14
push 0x80004005
call fcn.00401000
int3