joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005f33d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1005f34c
pop dword [ebp - 0x44]
mov eax, 0x1005f34c
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x42a7cc1c
sub dword [ebp - 0x54], 0xf45586d1
mov dword [ebp - 0x50], 0x6ec33c19
add dword [ebp - 0x50], 0xc370102c
mov dword [ebp - 0x4c], 0x6e5e17d8
add dword [ebp - 0x4c], 0xddee2c56
mov dword [ebp - 0x48], 0xa502fd43
sub dword [ebp - 0x48], 0xa502fd43
lea eax, [ebp - 0x54]
push eax
mov eax, 0x940cf81e
sub eax, 0x840487ea
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x4c83f717
sub dword [ebp - 0x54], 0xd8118dc1
mov dword [ebp - 0x50], 0x5b0ae35d
add dword [ebp - 0x50], 0xe6617e18
mov dword [ebp - 0x4c], 0x9aee9dde
sub dword [ebp - 0x4c], 0x377f3172
mov dword [ebp - 0x48], 0x46c78f42
sub dword [ebp - 0x48], 0x46c78f42
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x4d676b83
add eax, 0xc2a104a1
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x39487
push 0
call eax
mov ecx, 0xbafd9756
sub ecx, 0xbafd62a6
xor edi, edi
add edi, eax
mov esi, 0xc5fa1952
sub esi, 0xb5ee8952
add esi, dword [ebp - 0x44]
mov ebx, 0xfc32ea65
mov edx, dword [esi]
add dword [ebp - 0x34], 0x77852eb6
xor edx, ebx
add dword [ebp - 0x38], 0x30ebb3a5
mov dword [edi], edx
xor dword [ebp - 0x30], 0xe569c4a3
add edi, 0x817ba75e
sub edi, 0x817ba75a
add esi, 0x409167a6
sub esi, 0x409167a2
loop 0x1005f465
add eax, 0xbaeefa86
sub eax, 0xbaee34f3
mov ebx, eax
add eax, 0xce8dc227
sub eax, 0xce8dc222
mov ecx, 0x98709544
add ecx, 0x778f6abc
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x1006ffd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push esi
push edi
call fcn.1006e8e4
mov edi, dword [esp + 0x38]
push eax
push edi
call sub.glib_lite.dll_Ordinal_413
mov esi, eax
pop ecx
pop ecx
mov eax, dword [esi + 0x74]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1006fffb
xor eax, eax
jmp 0x10070184
cmp eax, dword [esi + 0x1f0]
je 0x1006fff4
push ebx
push ebp
lea ebx, [esi + 0xc]
push ebx
call sub.glib_lite.dll_Ordinal_213
pop ecx
jmp 0x10070014
lea ebx, [esi + 0xc]
push dword [esp + 0x44]
push edi
call fcn.1002a825
pop ecx
pop ecx
test eax, eax
jne 0x10070175
push ebx
call sub.glib_lite.dll_Ordinal_212
mov eax, dword [esi + 0x1f8]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
lea eax, [esi + 0xc]
push eax
call sub.glib_lite.dll_Ordinal_213
push edi
call fcn.1002b710
add esp, 0xc
cmp ebp, edx
jb 0x1007005b
ja 0x10070055
cmp ebx, eax
jbe 0x1007005b
sub ebx, eax
sbb ebp, edx
jmp 0x1007006c
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ebp
push ebx
push edi
call fcn.1002d6cd
add esp, 0x10
mov dword [esp + 0x10], eax
cmp eax, 4
je 0x1007009b
cmp dword [edi + 0x168], 0
jne 0x10070175
cmp eax, 2
je 0x10070011
call fcn.10083a8f
push eax
push dword [esi + 0x1f0]
call sub.glib_lite.dll_Ordinal_413
push eax
call fcn.10083a5e
add esp, 0xc
push edx
push eax
call fcn.10083a8f
push eax
push dword [esi + 0x1f0]
call sub.glib_lite.dll_Ordinal_413
pop ecx
pop ecx
push eax
call fcn.10083975
mov dword [esp + 0x24], eax
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x24], edx
call sub.glib_lite.dll_Ordinal_212
mov edi, dword [esi + 0x78]
add esp, 0x10
add edi, ebx
mov ebx, dword [esi + 0x7c]
adc ebx, ebp
cmp dword [esp + 0x10], 1
jne 0x100700fd
add edi, dword [esp + 0x24]
adc ebx, dword [esp + 0x28]
push esi
call fcn.1006e427
lea eax, [esp + 0x30]
xor ebp, ebp
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
push ebp
push dword [esi + 0x1f0]
call fcn.10030026
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebx
push edi
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esi + 0x1f0]
call fcn.1005f33d
mov eax, dword [esi + 0x1f8]
add esp, 0x3c
cmp dword [eax + 8], ebp
jne 0x10070160
push dword [esp + 0x20]
push dword [esi + 0x1f0]
call fcn.10030542
pop ecx
pop ecx
push esi
call fcn.1006f830
push 3
push esi
call fcn.1006de9e
add esp, 0xc
xor eax, eax
jmp 0x10070182
lea eax, [esi + 0xc]
push eax
call sub.glib_lite.dll_Ordinal_212
pop ecx
push 0xfffffffffffffffe
pop eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x408954
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
dec edi
or eax, eax
call fcn.00408976
xor dword [edx], ecx
dec edi
inc edx
add eax, 0xd27a6e3a
add eax, edi
cmp edx, esi
jne fcn.00408954
or eax, eax
ret
Function at 0x627170
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x574015
lea edi, [esi - 0x173015]
push edi
or ebp, 0xffffffff
jmp 0x627192
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x627199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x627188
mov eax, 1
add ebx, ebx
jne 0x6271ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6271bc
jne 0x6271db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6271db
dec eax
add ebx, ebx
jne 0x6271c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6271a0
add ebx, ebx
jne 0x6271d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x62722d
xor ecx, ecx
sub eax, 3
jb 0x6271f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x627262
sar eax, 1
mov ebp, eax
jmp 0x6271fe
add ebx, ebx
jne 0x6271fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6271cc
inc ecx
add ebx, ebx
jne 0x62720c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6271cc
add ebx, ebx
jne 0x627219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x62720e
jne 0x62722a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x62720e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x62724c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x62723e
jmp 0x62718e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x62724c
add edi, ecx
jmp 0x62718e
pop esi
mov edi, esi
mov ecx, 0x5627
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x62726a
cmp byte [edi], 0xe
jne 0x62726a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x62726f
lea edi, [esi + 0x21f000]
mov eax, dword [edi]
or eax, eax
je 0x6272de
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24e568]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24e590]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x62729c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x24e598]
or eax, eax
je 0x6272d8
mov dword [ebx], eax
add ebx, 4
jmp 0x6272b9
call dword [esi + 0x24e594]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x62730f
cmp al, 0xef
ja 0x627302
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6272e4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6272f1
mov ebp, dword [esi + 0x24e59c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x627343
sub esp, 0xffffff80
jmp 0x466be0
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x401215
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push edi
push 0x7f00
xor edi, edi
push edi
mov dword [ebp - 0x24], str.construct
mov dword [ebp - 0x44], 0x401000
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0x30
call esi
push 0x7f00
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x7f00
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call esi
push edi
mov dword [0x4030f0], eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x401327
push 1
push dword [0x4030f0]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
push edi
call esi
push eax
push edi
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.displayed
push str.construct
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push eax
mov dword [0x4030f8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401327
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40130a
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4010b2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x410284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x4010ff
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push 0x3ff
push 0x400
push eax
call fcn.0040170c
lea eax, [ebp - 0x804]
push eax
call fcn.0040170c
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401ea2
leave
ret

Function at 0x40110b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x410284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401158
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x3ff
push 0x400
push eax
call fcn.0040170c
lea eax, [ebp - 0x404]
push eax
call fcn.0040170c
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401ea2
leave
ret

Function at 0x40170c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x40171b
pop dword [ebp - 0x2c]
mov eax, 0xc5af842a
add eax, 0x3a9092f1
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x733228e2
sub dword [ebp - 0x3c], 0x24dfe397
mov dword [ebp - 0x38], 0x255c33ef
sub dword [ebp - 0x38], 0xf328e7aa
mov dword [ebp - 0x34], 0xd8bedec7
add dword [ebp - 0x34], 0x738d6567
mov dword [ebp - 0x30], 0x9174d3a2
add dword [ebp - 0x30], 0x6e8b2c5e
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xbca65a6
sub eax, 0xb899552
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x41269fc2
sub dword [ebp - 0x3c], 0xccb4366c
mov dword [ebp - 0x38], 0xf9499a8b
sub dword [ebp - 0x38], 0xb7dd3916
mov dword [ebp - 0x34], 0xb074e34f
add dword [ebp - 0x34], 0xb2fa891d
mov dword [ebp - 0x30], 0xde52dfa3
add dword [ebp - 0x30], 0x21ad205d
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x39e32
push 0
call eax
mov ecx, 0xbe90f050
sub ecx, 0xbe90a7b1
xor edi, edi
add edi, eax
mov ebx, 0x887fabeb
add ebx, 0x77c20415
add ebx, dword [ebp - 0x2c]
mov esi, 0xcc5c2235
sub dword [ebp - 0x14], 0x13b8c162
mov edx, dword [ebx]
xor dword [ebp - 0xc], 0x25fece64
xor edx, esi
sub dword [ebp - 0x10], edi
mov dword [edi], edx
mov dword [ebp - 4], 0xa74c1624
add edi, 4
add ebx, 0x6a6de865
sub ebx, 0x6a6de861
loop 0x401834
add eax, 0xfbcee318
add eax, 0x4323237
xor ebx, ebx
add ebx, eax
add eax, 0xed0ca1e8
add eax, 0x12f35e1d
mov ecx, 0x9b51321
sub ecx, 0x9751321
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x42c005
Capabilities:
Packed with generic packer

Disassembly:
jmp fcn.0042a8d0
jmp section.42vab535
Function at 0x441970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x53a024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x20], 0
push edi
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x65], 0
mov edi, dword [esi]
mov eax, dword [esi + 0x68]
mov ebx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x58], edi
mov al, byte [edi + 0x4e]
mov byte [ebp - 0x60], al
mov byte [ebp - 0x10c], al
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], eax
call fcn.00465233
cmp dword [edi + 0x148], 0
jne 0x498e4d
mov dword [ebp - 0x88], 0xffffffff
cmp dword [esi + 0x28], 7
je 0x499dd6
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x78], 0
cmp dword [edi + 0x110], 0
mov dword [edi + 0x19c], 0
jne 0x49bc8f
mov eax, dword [esi + 0x24]
mov ecx, ebx
fldz
fstp qword [ebp - 0x178]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
xor eax, eax
mov ecx, dword [edi + 0x150]
xor edx, edx
mov eax, dword [esi + 0xb4]
div ecx
sub ecx, edx
mov dword [ebp - 0x88], ecx
jmp 0x4419e2
Function at 0x10002ca0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
mov edx, ecx
push edi
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0xc]
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002d12
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x1c]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10002d12
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x10002d20
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x1000a4d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x31c
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x32c], 1
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x338]
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [esp + 0x334], 2
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x10], eax
je 0x10002e92
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add esp, 4
mov esi, eax
push esi
push ecx
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10002e75
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10002e87
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, dword [eax]
mov cx, word [eax]
shr edx, 0x10
push edx
push ecx
lea edx, [esp + 0x12c]
push 0x1000e300
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x124]
push eax
push ecx
push edx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10002e53
mov eax, dword [esp + 0x20]
lea ecx, [esp + 8]
push eax
push 0x1000e2fc
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 8]
push 0x1000eef8
push 0x1000e2f8
call sub.MFC42.DLL_CString::Replace
push 0x1000e2f4
push str._._
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Replace
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x10002ea4
lea edx, [esp + 0x24]
lea eax, [esp + 0xc]
push edx
push str.Unable_to_get_Version_Info
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x10002ea4
lea ecx, [esp + 0xc]
push str._Unable_to_get_FileVersionInfo_
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 8
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x10002ea4
lea edx, [esp + 0xc]
push str._Unable_to_get_FileVersionInfo_size_
push edx
call sub.MFC42.DLL_CString::Format
add esp, 8
mov esi, dword [esp + 0x334]
lea eax, [esp + 8]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x32c], 1
call fcn.10009828
lea ecx, [esp + 0xc]
mov byte [esp + 0x32c], 0
call fcn.10009828
mov ecx, dword [esp + 0x324]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x328
ret
Function at 0x10002f00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1000a510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
push eax
lea eax, [esp + 0x18]
push 0x23
push eax
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x10002f6e
lea ecx, [esp + 0x14]
push 0x105
push ecx
push 1
push str.ProgramFilesDir
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call fcn.10002ca0
add esp, 0x18
lea edx, [esp + 0x14]
push ebx
push edx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov edi, 1
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x130], edi
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x1000e224
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10009828
test bl, bl
pop ebx
je 0x10002fca
push 0x1000e224
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
cmp eax, 3
jle 0x10003019
push 3
lea edx, [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x128], 2
call fcn.100099b4
lea ecx, [esp + 0xc]
mov byte [esp + 0x124], 1
call fcn.10009828
push str.LGMobileUpgrade_
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov esi, dword [esp + 0x12c]
lea eax, [esp + 8]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x10], edi
lea ecx, [esp + 8]
mov byte [esp + 0x124], 0
call fcn.10009828
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x120
ret
Function at 0x10003060
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1000a545
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
push eax
lea eax, [esp + 0x18]
push 0x23
push eax
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
mov edi, 1
jne 0x100030d2
lea ecx, [esp + 0x14]
push 0x105
push ecx
push edi
push str.ProgramFilesDir
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call fcn.10002ca0
add esp, 0x18
lea edx, [esp + 0x14]
push ebx
push edx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x130], edi
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x1000e224
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10009828
test bl, bl
pop ebx
je 0x10003129
push 0x1000e224
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov esi, dword [esp + 0x12c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x10], edi
lea ecx, [esp + 8]
mov byte [esp + 0x124], 0
call fcn.10009828
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x120
ret

Function at 0x10003170
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x1000a560
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push 0x1000eef8
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x100031e3
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
lea edx, [esp]
push ecx
push str._CSMG_UT_____s_n
push edx
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0xc]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp]
mov byte [esp + 0xc], 0
call fcn.10009828
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.10009828
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret