joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416530
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfcb0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x6fb01c]
push 3
xor eax, eax
push 0x61218c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004058d0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 0
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x28]
push eax
add ecx, 0x1c
call fcn.00406e30
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
jb 0x4165b6
push dword [ebp - 0x40]
call fcn.0048166b
add esp, 4
push 0x5c
xor eax, eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004119a0
push 0xb
push str.cnwidsd.dll
lea ecx, [ebp - 0x28]
call fcn.004057a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x54], eax
test eax, eax
jne 0x416604
push str.CNetworkSNMP::InitializeSNMPSearch__LoadLibrary___Failed
jmp 0x41667f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CNWNSCH_CreateInstance
push eax
call esi
push str.CNWNSCH_DestroyInstance
push dword [edi + 0x54]
mov dword [edi], eax
call esi
push str.CNWNSCH_OptSetting
push dword [edi + 0x54]
mov dword [edi + 4], eax
call esi
push str.CNWNSCH_Search
push dword [edi + 0x54]
mov dword [edi + 8], eax
call esi
push str.CNWNSCH_SearchByIpv6
push dword [edi + 0x54]
mov dword [edi + 0xc], eax
call esi
push str.CNWNSCH_EnumSearchInfo
push dword [edi + 0x54]
mov dword [edi + 0x10], eax
call esi
cmp dword [edi], 0
mov dword [edi + 0x14], eax
je 0x41667a
cmp dword [edi + 4], 0
je 0x41667a
cmp dword [edi + 8], 0
je 0x41667a
cmp dword [edi + 0xc], 0
je 0x41667a
cmp dword [edi + 0x10], 0
je 0x41667a
test eax, eax
je 0x41667a
mov bl, 1
jmp 0x416686
push str.CNetworkSNMP::InitializeSNMPSearch__GetProcAddress___Failed
call fcn.00415fc0
xor bl, bl
cmp dword [ebp - 0x14], 8
jb 0x416697
push dword [ebp - 0x28]
call fcn.0048166b
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret
Function at 0x416a50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
xorps xmm0, xmm0
xor ebx, ebx
push str.CNetworkSNMP::SearchDevice__Start
mov esi, ecx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], ebx
call fcn.00415fc0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esi + 0x5c], eax
mov eax, edi
and eax, 1
mov dword [ebp - 0x24], 0x7d0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x2710
mov dword [ebp - 0x28], eax
je 0x416b24
mov eax, dword [esi]
call eax
movq xmm0, qword [ebp - 0x24]
mov ecx, eax
sub esp, 0x10
mov eax, esp
mov dword [esi + 0x4c], ecx
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
push ecx
mov ecx, esi
movq qword [eax + 8], xmm0
call fcn.004169c0
mov byte [ebp - 0xe], al
test al, al
je 0x416b24
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x416c10
push ebx
push ebx
call fcn.005a5dc2
add esp, 0x18
mov dword [ebp - 0x14], eax
and edi, 2
je 0x416b71
mov ecx, dword [esi]
call ecx
movq xmm0, qword [ebp - 0x24]
sub esp, 0x10
mov ecx, esp
push eax
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ecx + 8], xmm0
mov ecx, esi
mov dword [esi + 0x50], eax
call fcn.004169c0
mov byte [ebp - 0xd], al
test al, al
je 0x416b71
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x416c70
push 0
push 0
call fcn.005a5dc2
add esp, 0x18
mov ebx, eax
cmp dword [ebp - 0x28], 0
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
je 0x416bb6
cmp byte [ebp - 0xe], 0
je 0x416ba2
push 0xffffffffffffffff
push dword [ebp - 0x14]
call eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x38]
mov ecx, esi
push dword [ebp - 0x34]
push dword [esi + 0x4c]
call fcn.004168d0
push dword [esi + 0x4c]
mov eax, dword [esi + 4]
call eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x4c], 0
test edi, edi
je 0x416beb
cmp byte [ebp - 0xd], 0
je 0x416bdc
push 0xffffffffffffffff
push ebx
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x2c]
mov ecx, esi
push dword [ebp - 0x30]
push dword [esi + 0x50]
call fcn.004168d0
push dword [esi + 0x50]
mov eax, dword [esi + 4]
call eax
mov dword [esi + 0x50], 0
push str.CNetworkSNMP::SearchDevice__end
call fcn.00415fc0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a4646
mov esp, ebp
pop ebp
ret 0x18
Function at 0x417740
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfda8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [0x6fb01c]
mov ebx, dword [ebp + 0x10]
push edi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
call fcn.004186f0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov esi, 1
cmp eax, 2
jne 0x4178a0
xorps xmm0, xmm0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push edi
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x28], xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x2c], esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x417812
push eax
push str.SNMPIPAppointment::getaddrinfo__err:__d
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
push dword [ebp - 0x38]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x41785c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x18]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
test edx, edx
jne 0x41782b
xor ecx, ecx
jmp 0x417839
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417830
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.004187a0
push dword [ebp - 0x38]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
push ebx
push dword [ebp - 0x3c]
push 0
mov ecx, dword [ebp - 0x40]
call fcn.004178b0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x3c]
add edi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417880
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
je 0x41784c
cmp eax, 1
jne 0x41785c
push ebx
push dword [ebp - 0x3c]
push eax
jmp 0x417852
Function at 0x418b10
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov edi, ecx
push str.pu2Open
push dword [edi]
call esi
push str.pu2Close
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.pu2SetIF
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.pu2SetIP
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.pu2SetPrinterName
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.pu2SetUrl
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.pu2SetTimeout
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.pu2SetMasterPortOption
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.pu2Write
push dword [edi]
mov dword [edi + 0x28], eax
call esi
push str.pu2Read
push dword [edi]
mov dword [edi + 0x20], eax
call esi
cmp dword [edi + 4], 0
mov dword [edi + 0x24], eax
je 0x418bd4
cmp dword [edi + 8], 0
je 0x418bd4
cmp dword [edi + 0xc], 0
je 0x418bd4
cmp dword [edi + 0x10], 0
je 0x418bd4
cmp dword [edi + 0x14], 0
je 0x418bd4
cmp dword [edi + 0x18], 0
je 0x418bd4
cmp dword [edi + 0x1c], 0
je 0x418bd4
cmp dword [edi + 0x28], 0
je 0x418bd4
cmp dword [edi + 0x20], 0
je 0x418bd4
test eax, eax
je 0x418bd4
pop edi
mov eax, 1
pop esi
ret
mov ecx, edi
call fcn.00418be0
pop edi
xor eax, eax
pop esi
ret

Function at 0x419720
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x258]
push eax
push ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x419778
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test byte [ebp - 0x258], 0x10
je 0x41976c
lea eax, [ebp - 0x258]
push eax
push esi
call edi
test eax, eax
jne 0x419753
jmp 0x419771
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.005a4646
mov esp, ebp
pop ebp
ret

Function at 0x419790
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x4197b9
push str.CCommonApis::IfExistDir_param_error
call fcn.00415fc0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push edi
call ebx
cmp eax, 1
jne 0x4197dc
xor eax, eax
pop edi
pop esi
pop ebx
ret
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4197a3
test al, 0x10
je 0x4197a3
push str.CCommonApis::EnsureDir_IfExistDir___None
call fcn.00415fc0
mov eax, 5
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x41980b
xor esi, esi
lea esp, [esp]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push edi
call ebx
cmp eax, 1
je 0x4197b3
inc esi
cmp esi, 0x3c
jl 0x4197f0
pop edi
pop esi
mov eax, SysReAllocString
pop ebx
ret
Function at 0x419820
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
mov dword [ebp - 0x66c], edx
mov edi, ecx
call fcn.005a7690
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.005a7690
add esp, 0xc
xor esi, esi
test edi, edi
jne 0x4198a0
push str.CCommonApis::IfExistDir_param_error
call fcn.00415fc0
mov eax, SysReAllocString
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41988a
test al, 0x10
je 0x41988a
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.005a54f5
add esp, 0x10
lea eax, [ebp - 0x418]
push 0x6149d4
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x41988a
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41988a
jmp 0x419900
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.005a54f5
add esp, 0x10
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4199fa
mov eax, dword [ebp - 0x668]
test al, 0x10
je 0x4199d3
mov ecx, 0x6149dc
lea eax, [ebp - 0x63c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419976
test dx, dx
je 0x419972
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419976
add eax, 4
add ecx, 4
test dx, dx
jne 0x419950
xor eax, eax
jmp 0x41997b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4199ff
mov ecx, 0x6149e0
lea eax, [ebp - 0x63c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4199b6
test dx, dx
je 0x4199b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4199b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x419990
xor eax, eax
jmp 0x4199bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4199ff
mov edx, dword [ebp - 0x66c]
inc edx
lea ecx, [ebp - 0x210]
call fcn.00419820
jmp 0x4199ff
test al, 1
je 0x4199e9
push 0x80
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4199ff
mov esi, SysReAllocString
lea eax, [ebp - 0x668]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x419900
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x66c], 0
jle 0x419a34
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x41988a
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a4646
mov esp, ebp
pop ebp
ret
Function at 0x419a50
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [sym.imp.WININET.dll_InternetGetConnectedState]
push 0
lea eax, [ebp - 8]
push eax
call edi
cmp eax, 1
jne 0x419a83
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
xor esi, esi
lea ecx, [ecx]
push 0x3e8
call ebx
push 0
lea eax, [ebp - 8]
push eax
call edi
cmp eax, 1
je 0x419abd
inc esi
cmp esi, 4
jl 0x419a90
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
mov eax, 1
pop edi
call fcn.005a4646
mov esp, ebp
pop ebp
ret

Function at 0x419b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov edi, edx
mov ebx, ecx
mov byte [ebp - 0x204], 0
call fcn.005a7690
add esp, 0xc
lea eax, [ebp - 0x208]
push 0
push eax
push 0x1fe
lea eax, [ebp - 0x204]
push eax
push ebx
mov dword [ebp - 0x208], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x419c13
mov edx, dword [ebp - 0x208]
cmp edx, 2
jbe 0x419c13
lea ecx, [ebp - 0x204]
call fcn.00419ae0
cmp eax, 2
je 0x419bc3
cmp eax, 1
jne 0x419bc6
or dword [edi], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push ebx
call edi
mov al, byte [ebp - 0x204]
cmp al, 0xfe
jne 0x419bfb
cmp byte [ebp - 0x203], 0xff
je 0x419c08
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret
cmp al, 0xff
jne 0x419c11
cmp byte [ebp - 0x203], 0xfe
jne 0x419c11
push 0
push 0
push 2
push ebx
call edi
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a4646
mov esp, ebp
pop ebp
ret
Function at 0x41ac70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0010
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x65a000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], ebx
call fcn.0048b870
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41acc3
push 0x80004005
call fcn.004091f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push esi
push edi
lea eax, [ebp - 0x20]
push 0x60e0d4
push eax
mov dword [ebp - 4], 0
call fcn.0041c0f0
mov edi, dword [ebp - 0x20]
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
je 0x41adea
push ebx
mov ecx, edi
call fcn.0041ae50
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x41adea
mov dword [ebp - 0x14], 0
xor ebx, ebx
lea ecx, [ecx]
call fcn.0048b870
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41acb9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov eax, dword [eax]
add eax, ebx
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push str._s_s.bmp
push eax
call fcn.0041c0f0
mov esi, dword [ebp - 0x18]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41ad91
push esi
push str.CControlView::LoadAnimationBMP_PathFileExists___Failed___file_path:_s
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
jmp 0x41adae
push 0x10
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
mov dword [ebx + ecx + 0x414], eax
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41adcc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
inc esi
add ebx, 0x418
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x1c]
jb 0x41ad20
mov ebx, dword [ebp - 0x1c]
or esi, 0xffffffff
jmp 0x41ae10
push edi
push str.CControlView::LoadAnimationBMP_LoadAnimationXML___Failed___file_path:_s
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
xor ebx, ebx
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x41ae2e
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41c110
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 0x14], 8
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x14], 0
mov word [ebp - 0xc], cx
mov dword [ebp - 0xa], ecx
mov word [ebp - 6], cx
mov dword [ebp - 0x10], ecx
jb 0x41c147
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x41c198
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x10], 8
jb 0x41c173
mov esi, dword [esi]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x41c1b4
cmp edi, 0xea
je 0x41c1b4
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.005a4646
mov esp, ebp
pop ebp
ret 8

Function at 0x41c1d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 0x14], 8
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x14], 0
mov word [ebp - 0xc], cx
mov dword [ebp - 0xa], ecx
mov word [ebp - 6], cx
mov dword [ebp - 0x10], ecx
jb 0x41c207
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 0x20119
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x41c258
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x10], 8
jb 0x41c233
mov esi, dword [esi]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x41c274
cmp edi, 0xea
je 0x41c274
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.005a4646
mov esp, ebp
pop ebp
ret 8
Function at 0x41c290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], 0
call fcn.005a7690
add esp, 0xc
mov dword [ebp - 0x808], 0
push 0
push 0x60ec18
push dword [edi + 0x10]
mov dword [ebp - 0x80c], 0
push ecx
mov ecx, edi
call fcn.00406530
test eax, eax
je 0x41c407
push 0
push 0x60ec18
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00406530
test eax, eax
je 0x41c407
cmp dword [edi + 0x14], 8
jb 0x41c331
mov edi, dword [edi]
lea eax, [ebp - 0x810]
push eax
push 0x20019
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c407
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x808], 0x800
jb 0x41c365
mov esi, dword [esi]
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x80c]
push eax
push 0
push esi
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x80c]
cmp eax, 1
je 0x41c3fb
cmp eax, 7
jne 0x41c3ca
mov eax, dword [ebp - 0x808]
xor ecx, ecx
add eax, 0xfffffffe
je 0x41c3fb
lea edx, [ecx + 0x7c]
lea esp, [esp]
cmp word [ebp + ecx*2 - 0x804], 0
jne 0x41c3c3
mov word [ebp + ecx*2 - 0x804], dx
inc ecx
cmp ecx, eax
jb 0x41c3b0
jmp 0x41c3fb
cmp eax, 4
jne 0x41c3f2
push dword [ebp - 0x804]
lea eax, [ebp - 0x804]
push 0x60ee14
push 0xffffffffffffffff
push 0x400
push eax
call fcn.005a4e29
add esp, 0x14
jmp 0x41c3fb
xor eax, eax
mov word [ebp - 0x804], ax
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [ebp - 0x804], ax
jne 0x41c427
xor ecx, ecx
jmp 0x41c43f
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c430
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
push eax
mov ecx, ebx
call fcn.004058d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.005a4646
mov esp, ebp
pop ebp
ret 0xc