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

Disassembly:
sub esp, 0x284
mov eax, dword [0x10060008]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x4ac], 0
lea esi, [edi + 0x20]
mov ebp, dword [edi + 0x4b0]
jne 0x10049fd6
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
push 0x10059b60
push esi
call ebx
add esp, 8
test eax, eax
jne 0x100499e1
push 0x38
call fcn.100079db
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x188]
mov ecx, edi
push 0x100
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x24], 0
mov byte [ebx + 0x10], 0
push eax
mov dword [ebx + 0x20], 0
mov dword [ebx], vtable.ADXDashboard.0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0xffffff
mov dword [ebx + 0xc], 0x10
push 0x10059b70
mov dword [edi + 0x4b0], ebx
call fcn.1004cec0
test eax, eax
je 0x10049924
lea eax, [esp + 0x188]
mov ecx, ebx
push eax
call fcn.100432b0
push 0x100
lea eax, [esp + 0x18c]
mov ecx, edi
push eax
push 0x10059b74
call fcn.1004cec0
test eax, eax
je 0x100499ac
mov ecx, 0x100
lea eax, [esp + 0x188]
nop dword [eax]
cmp byte [eax], 0
je 0x1004995f
inc eax
sub ecx, 1
jne 0x10049950
xor ebp, ebp
jmp 0x10049966
mov ebp, 0x100
sub ebp, ecx
mov eax, dword [ebx + 4]
test eax, eax
je 0x1004997d
push eax
call fcn.10007a2e
add esp, 4
mov dword [ebx + 4], 0
lea esi, [ebp + 1]
push esi
call fcn.10007b55
add esp, 4
mov dword [ebx + 4], eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x188]
push ebp
push eax
push dword [ebx + 4]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x100
lea eax, [esp + 0x18c]
mov ecx, edi
push eax
push 0x10059b7c
call fcn.1004cec0
test eax, eax
je 0x1004a032
lea ecx, [esp + 0x188]
call fcn.10012940
mov dword [ebx + 0x24], eax
jmp 0x1004a032
push 0x10059b88
push esi
call ebx
add esp, 8
test eax, eax
jne 0x10049a03
lea ecx, [edi + 0xa0]
call fcn.10012940
mov dword [ebp + 0x28], eax
jmp 0x1004a032
push 0x10059b90
push esi
call ebx
add esp, 8
test eax, eax
jne 0x10049a51
add edi, 0xa0
je 0x10049a41
mov ecx, 0x400
mov eax, edi
xor edx, edx
cmp byte [eax], dl
je 0x10049a36
inc eax
sub ecx, 1
jne 0x10049a23
mov edx, 0x80070057
xor eax, eax
jmp 0x10049a3d
mov eax, 0x400
sub eax, ecx
test edx, edx
jns 0x10049a43
xor eax, eax
push eax
push edi
mov ecx, ebp
call fcn.10043350
jmp 0x1004a032
push str.bkgrndcolor
push esi
call ebx
add esp, 8
test eax, eax
jne 0x10049a73
lea ecx, [edi + 0xa0]
call fcn.10012940
mov dword [ebp + 0x34], eax
jmp 0x1004a032
push 0x10059ba4
push esi
call ebx
add esp, 8
test eax, eax
je 0x1004a032
push str.ADXDGENTRY
push esi
call ebx
add esp, 8
test eax, eax
jne 0x1004a032
lea ecx, [esp + 0x18]
call fcn.10004800
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.gaugetype
call fcn.1004cec0
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
je 0x10049ad6
lea eax, [esp + 0x88]
push eax
call esi
add esp, 4
mov dword [esp + 0x1c], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push 0x10059bc8
call fcn.1004cec0
test eax, eax
je 0x10049b03
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x18], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.left
call fcn.1004cec0
test eax, eax
je 0x10049b32
lea eax, [esp + 0x88]
push eax
call esi
add esp, 4
mov word [esp + 0x22], ax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push 0x10059bd8
call fcn.1004cec0
test eax, eax
je 0x10049b61
lea eax, [esp + 0x88]
push eax
call esi
add esp, 4
mov word [esp + 0x20], ax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.right
call fcn.1004cec0
test eax, eax
je 0x10049b90
lea eax, [esp + 0x88]
push eax
call esi
add esp, 4
mov word [esp + 0x26], ax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.bottom
call fcn.1004cec0
test eax, eax
je 0x10049bbf
lea eax, [esp + 0x88]
push eax
call esi
add esp, 4
mov word [esp + 0x24], ax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.arcmin
call fcn.1004cec0
test eax, eax
je 0x10049bee
lea eax, [esp + 0x88]
push eax
call esi
add esp, 4
mov word [esp + 0x2c], ax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.arcmax
call fcn.1004cec0
test eax, eax
je 0x10049c1d
lea eax, [esp + 0x88]
push eax
call esi
add esp, 4
mov word [esp + 0x2e], ax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push 0x10059bfc
call fcn.1004cec0
test eax, eax
je 0x10049c4d
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x84], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.bkgndcolor
call fcn.1004cec0
test eax, eax
je 0x10049c7a
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x38], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push 0x10059c14
call fcn.1004cec0
test eax, eax
je 0x10049ca7
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x3c], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.unitscolor
call fcn.1004cec0
test eax, eax
je 0x10049cd4
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x40], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.bordercolor
call fcn.1004cec0
test eax, eax
je 0x10049d04
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x80], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.curvaltxtcolor
call fcn.1004cec0
test eax, eax
je 0x10049d31
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x74], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.facecolor
call fcn.1004cec0
test eax, eax
je 0x10049d5e
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x4c], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.needlecolor
call fcn.1004cec0
test eax, eax
je 0x10049d8b
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x50], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.bezelcolor
call fcn.1004cec0
test eax, eax
je 0x10049db8
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x54], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.majtickcolor
call fcn.1004cec0
test eax, eax
je 0x10049de5
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x58], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.mintickcolor
call fcn.1004cec0
test eax, eax
je 0x10049e12
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x5c], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.ticktxtnormcolor
call fcn.1004cec0
test eax, eax
je 0x10049e3f
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x60], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.minvaltxtcolor
call fcn.1004cec0
test eax, eax
je 0x10049e6c
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x78], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.maxvaltxtcolor
call fcn.1004cec0
test eax, eax
je 0x10049e99
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x7c], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.alarmlowcolor
call fcn.1004cec0
test eax, eax
je 0x10049ec6
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x48], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.alarmhighcolor
call fcn.1004cec0
test eax, eax
je 0x10049ef3
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x44], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.setbkgndcolor
call fcn.1004cec0
test eax, eax
je 0x10049f20
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x64], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.settxtcolor
call fcn.1004cec0
test eax, eax
je 0x10049f4d
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x68], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.clearbkgndcolor
call fcn.1004cec0
test eax, eax
je 0x10049f7a
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x6c], eax
push 0x100
lea eax, [esp + 0x8c]
mov ecx, edi
push eax
push str.cleartxtcolor
call fcn.1004cec0
test eax, eax
je 0x10049fa7
lea ecx, [esp + 0x88]
call fcn.10012940
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x30]
mov ecx, ebp
inc eax
push eax
call fcn.10041400
mov edx, dword [ebp + 0x2c]
test edx, edx
je 0x1004a032
mov eax, dword [ebp + 0x30]
lea ecx, [eax - 1]
cmp ecx, eax
jae 0x1004a032
imul edi, ecx, 0x70
lea esi, [esp + 0x18]
mov ecx, 0x1c
add edi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x1004a032
push str.ADXDASHBOARD
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1004a032
mov eax, dword [edi + 0x4b0]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004a018
mov edx, dword [ecx + 0x40]
add ecx, 0x3c
cmp edx, dword [ecx + 8]
je 0x1004a00d
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x1004a018
lea eax, [esp + 0x14]
push eax
push edx
call fcn.10003420
mov eax, dword [edi + 0x5b4]
test eax, eax
je 0x1004a032
push 0
push 0
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100076a5
add esp, 0x284
ret