joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006195d
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push 0x30
mov eax, 0x1007b325
call fcn.100751fa
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], esi
call dword [0x10096f98]
lea eax, [ebp - 0x18]
push eax
push 0x1009762c
push 1
push esi
push 0x1009763c
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x100619a4
mov ecx, dword [ebp + 8]
push esi
call dword [0x10096f84]
jmp 0x10061a87
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x1009761c
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x18]
cmp eax, esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
jge 0x100619c8
call dword [ecx + 8]
jmp 0x10061995
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x14]
cmp word [ebp - 0x10], si
je 0x10061a7a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x24]
fldz
mov dword [ebp - 0x24], esi
fstp qword [ebp - 0x2c]
lea ebx, [ebp - 0x2c]
lea esi, [ebp - 0x3c]
call fcn.100061d1
neg eax
sbb eax, eax
inc eax
xor ebx, ebx
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x3c], bx
je 0x10061a7a
cmp word [ebp - 0x36], bx
je 0x10061a7a
cmp word [ebp - 0x3a], bx
je 0x10061a7a
push str._b__d___Y__H:_M:_S
lea edi, [ebp - 0x20]
lea ecx, [ebp - 0x2c]
call fcn.10006308
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [0x10096f88]
mov ecx, edi
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x10098fdc
lea eax, [ebp + 0xc]
push str.IDS_HOURS
push eax
call sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STLoadStringFromMainINI_wchar_t_const___wchar_t_const__
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Append]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [0x10096f20]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp + 8]
call fcn.100752d2
ret 8
Function at 0x10063bbb
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100e5038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
add edi, 4
mov eax, dword [edi]
xor esi, esi
mov dword [ebp - 0x14], edi
cmp eax, esi
je 0x10063be7
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [edi], esi
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], esi
mov dword [ebp - 8], esi
mov ebx, SysReAllocString
cmp dword [ebp + 8], esi
je 0x10063c38
push dword [ebp + 8]
call edi
push esi
inc eax
cdq
push 2
push edx
push eax
call fcn.100751c0
mov ecx, eax
add eax, ebx
adc edx, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], edx
jne 0x10063c38
cmp eax, 0xffffffff
jbe 0x10063c3d
mov dword [ebp - 0xc], esi
jmp 0x10063c7b
cmp ecx, 0x400
jg 0x10063c5c
push ecx
call fcn.10071e52
pop ecx
test al, al
je 0x10063c5c
mov eax, dword [ebp - 0x10]
call fcn.100747a0
mov eax, esp
jmp 0x10063c67
push dword [ebp - 0x10]
lea esi, [ebp - 8]
call fcn.10071e19
push 3
push dword [ebp - 0x10]
mov esi, eax
push dword [ebp + 8]
call fcn.10071ec8
mov dword [ebp - 0xc], eax
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x10063ca1
push dword [ebp + 0xc]
call edi
push esi
inc eax
cdq
push 2
push edx
push eax
call fcn.100751c0
mov edi, eax
add eax, ebx
adc edx, esi
mov dword [ebp - 0x1c], edx
jne 0x10063ca1
cmp eax, 0xffffffff
jbe 0x10063ca5
xor eax, eax
jmp 0x10063cdb
cmp edi, 0x400
jg 0x10063cc3
push edi
call fcn.10071e52
pop ecx
test al, al
je 0x10063cc3
mov eax, edi
call fcn.100747a0
mov eax, esp
jmp 0x10063ccc
push edi
lea esi, [ebp - 8]
call fcn.10071e19
push 3
push edi
push dword [ebp + 0xc]
mov esi, eax
call fcn.10071ec8
xor esi, esi
cmp dword [ebp - 0xc], esi
je 0x10063d14
cmp eax, esi
je 0x10063d14
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebx, eax
cmp dword [ebp - 8], esi
je 0x10063d10
mov eax, dword [ebp - 8]
mov edi, dword [eax]
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
cmp edi, esi
jne 0x10063cfc
mov eax, ebx
jmp 0x10063d38
push 8
call dword [sym.imp.WS2_32.dll_WSASetLastError]
cmp dword [ebp - 8], esi
je 0x10063d35
mov eax, dword [ebp - 8]
mov edi, dword [eax]
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
cmp edi, esi
jne 0x10063d21
or eax, 0xffffffff
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10074156
leave
ret 8
Function at 0x10064e15
Capabilities:
Initialize winsock library

Disassembly:
push ebx
push edi
push 6
lea edx, [esi + 0x10]
pop ecx
xor eax, eax
mov edi, edx
push edx
rep stosd dword es:[edi], eax
call fcn.10071c8e
xor ebx, ebx
cmp eax, ebx
jge 0x10064e35
push eax
call fcn.1000652c
push 6
lea edx, [esi + 0x28]
pop ecx
xor eax, eax
mov edi, edx
push edx
rep stosd dword es:[edi], eax
call fcn.10071c8e
cmp eax, ebx
jl 0x10064e2f
or dword [esi + 0x40], 0xffffffff
mov dword [esi], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x2710
cmp dword [0x100e96e8], ebx
je 0x10064e85
push 0x100e9558
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x100e96e8], eax
pop edi
mov eax, esi
pop ebx
ret

Function at 0x10064f8a
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
cmp byte [esi + 0x44], bl
je 0x10064f9c
mov al, 1
jmp 0x1006500e
mov eax, dword [esi + 0x40]
mov byte [ebp - 1], 1
cmp eax, 0xffffffff
jne 0x10064fac
xor al, al
jmp 0x1006500e
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
je 0x10065008
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10065002
push dword [esi + 0x4c]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10065005
push 0x2c
lea eax, [ebp - 0x30]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push ebx
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10065008
mov dword [esi + 0x48], eax
mov byte [ebp - 1], bl
mov al, byte [ebp - 1]
mov byte [esi + 0x44], al
pop ebx
leave
ret 8
Function at 0x10065013
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
push dword [esi + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
call edi
test eax, eax
je 0x1006503a
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x100650e1
push ebx
xor ebx, ebx
push ebx
push dword [esi + 8]
call edi
cmp eax, 0x102
jne 0x10065058
mov dword [esi + 0x48], 0x2734
xor al, al
jmp 0x100650e0
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
lea eax, [esi + 0x28]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x100650a0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x100650d2
push dword [esi + 0x4c]
push dword [esi + 8]
call edi
test eax, eax
jne 0x100650d5
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x40]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x100650cc
mov bl, 1
jmp 0x100650d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop ebx
pop edi
leave
ret 0xc
Function at 0x100650e6
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
push dword [esi + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
mov ebx, eax
call edi
test eax, eax
je 0x10065110
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x100651c8
push 0
push dword [esi + 4]
call edi
cmp eax, 0x80
jne 0x10065127
mov dword [esi + 0x48], 0x2734
jmp 0x10065109
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
and dword [ebx], 0
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 1
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x10065185
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x100651ba
push dword [esi + 0x4c]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100651bd
and dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x100651b4
mov bl, 1
jmp 0x100651bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop edi
pop ebx
leave
ret 4

Function at 0x100697b5
Capabilities:
Read data from internet
Receive data

Disassembly:
push dword [esp + 0x10]
mov eax, dword [esp + 8]
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [eax + 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
ret 0x10
Function at 0x10069820
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
push edi
mov edi, eax
xor ebp, ebp
cmp dword [edi + 0x34fc], ebp
je 0x10069835
xor eax, eax
jmp 0x100698d2
mov edx, dword [edi + 0x2480]
mov eax, dword [edx - 0xc]
mov ecx, eax
neg ecx
sbb ecx, ecx
push ebp
and ecx, edx
neg eax
push ebp
sbb eax, eax
push ecx
and eax, 3
push eax
push str.VCSoapClient
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 0x34f8], eax
cmp eax, ebp
je 0x100698c8
push ebx
lea ebx, [edi + 0x2484]
cmp dword [ebx], ebp
je 0x1006989b
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
push ebx
push 2
push eax
call esi
push 4
push ebx
push 6
push dword [edi + 0x34f8]
call esi
push 4
push ebx
push 5
push dword [edi + 0x34f8]
call esi
pop esi
movzx eax, word [edi + 0x2450]
push ebp
push ebp
push 3
push ebp
push ebp
push eax
lea eax, [edi + 0x46]
push eax
push dword [edi + 0x34f8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0x34fc], eax
pop ebx
cmp eax, ebp
jne 0x1006982e
call fcn.100697df
mov eax, 0x80004005
pop edi
pop ebp
ret
Function at 0x10069b14
Capabilities:
Send data
Send http request

Disassembly:
push 0xc
mov eax, 0x1007cafd
call fcn.1007522d
mov esi, ecx
mov eax, esi
call fcn.10069820
test eax, eax
je 0x10069b41
mov dword [esi + 0x34f4], 4
mov eax, 0x80004005
jmp 0x10069ca1
lea ecx, [ebp - 0x14]
call dword [0x10096f98]
xor edi, edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Append_1]
push str.Content_Type:_text_xml__charsetutf_8_r_n
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Append_1]
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x2454]
mov ecx, dword [esi + 0x2494]
sub eax, 3
neg eax
sbb eax, eax
push edi
and eax, 0xff800000
add eax, 0x800000
or eax, 0x400200
push eax
push 0x100e930c
push edi
push str.HTTP_1.0
push ecx
push str.POST
push dword [esi + 0x34fc]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x3500], eax
cmp eax, edi
je 0x10069c75
mov ecx, dword [esi + 0x2474]
mov edx, dword [ecx - 0xc]
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi - 0xc]
push edx
push ecx
push ebx
push edi
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x10069c7f
mov eax, dword [esi + 0x3500]
push esi
mov dword [esi + 0x247c], eax
call fcn.10069d87
cmp eax, 0x1f4
je 0x10069c0a
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
jmp 0x10069ca1
and dword [ebp + 8], 0
mov dword [esi + 0x34f4], 7
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
test eax, eax
jl 0x10069c62
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
lea edi, [esi + 0x2478]
push edi
lea ecx, [esi + 0x3504]
mov dword [ebp - 0x18], edi
call fcn.100669a6
test eax, eax
jge 0x10069c54
mov dword [esi + 0x34f4], 8
mov byte [ebp - 4], 3
test edi, edi
je 0x10069c62
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x10069c7f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10069c7f
mov dword [esi + 0x34f4], 5
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x10069b37
call fcn.100752d2
ret 4
Function at 0x10071a5a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push 0
push str.ProxyServer
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10071ac0
cmp dword [ebp + 8], 1
je 0x10071a98
cmp dword [ebp + 8], 2
je 0x10071a98
push 0xd
pop eax
jmp 0x10071ac0
mov eax, dword [ebp - 4]
test edi, edi
je 0x10071aba
test eax, eax
je 0x10071ab5
test al, 1
jne 0x10071a93
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x10071aba
jmp 0x10071a93
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 4

Function at 0x10074156
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100e5038]
jne 0x10074160
repz ret
jmp fcn.100747cc
Function at 0x42f600
Capabilities:
Enumerate pe sections

Disassembly:
push eax
pop eax
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
or esi, esi
je 0x42f63d
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x42f635
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x42f63f
inc edx
add eax, 0x28
cmp edx, esi
jb 0x42f625
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x42fe31
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
sub ebx, ebx
cmp esi, ebx
je 0x42fe59
cmp dword [ebp + 0x10], ebx
je 0x42fe59
cmp byte [esi], bl
jne 0x42fe5f
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x42fe59
xor ecx, ecx
mov word [eax], cx
xor eax, eax
pop esi
pop ebx
leave
ret
push dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
call fcn.00421b0b
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], ebx
jne 0x42fe90
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x42fe7f
movzx ecx, byte [esi]
mov word [eax], cx
cmp byte [ebp - 4], bl
je 0x42fe8b
mov eax, dword [ebp - 8]
and dword [eax + 0x70], 0xfffffffd
xor eax, eax
inc eax
jmp 0x42fe5b
lea eax, [ebp - 0x10]
push eax
movzx eax, byte [esi]
push eax
call fcn.0042ff61
pop ecx
pop ecx
or eax, eax
je 0x42ff20
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xac]
cmp ecx, 1
jle 0x42fed6
cmp dword [ebp + 0x10], ecx
jl 0x42fed6
xor edx, edx
cmp dword [ebp + 8], ebx
setne dl
push edx
push dword [ebp + 8]
push ecx
push esi
push 9
push dword [eax + 4]
call dword [0x433138]
or eax, eax
mov eax, dword [ebp - 0x10]
jne 0x42fee6
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0xac]
jb 0x42ff01
cmp byte [esi + 1], bl
je 0x42ff01
mov eax, dword [eax + 0xac]
cmp byte [ebp - 4], bl
je 0x42fe5b
mov ecx, dword [ebp - 8]
and dword [ecx + 0x70], 0xfffffffd
jmp 0x42fe5b
call fcn.00424a0e
mov dword [eax], 0x2a
cmp byte [ebp - 4], bl
je 0x42ff18
mov eax, dword [ebp - 8]
and dword [eax + 0x70], 0xfffffffd
or eax, 0xffffffff
jmp 0x42fe5b
xor eax, eax
cmp dword [ebp + 8], ebx
setne al
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push 1
push esi
push 9
push dword [eax + 4]
call dword [0x433138]
or eax, eax
jne 0x42fe7f
jmp 0x42ff01
Function at 0x401540
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x48
mov eax, dword [str.000000000000]
mov edx, dword [0x430210]
mov ecx, dword [0x43020c]
mov dword [esp + 0x18], eax
mov al, byte [0x430214]
mov dword [esp + 0x20], edx
mov byte [esp + 0x24], al
mov al, byte [0x431d94]
xor edx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 1], edx
xor ecx, ecx
mov byte [esp], al
mov byte [esp + 0x30], al
mov dword [esp + 5], edx
xor eax, eax
mov dword [esp + 0x25], ecx
push ebx
mov dword [esp + 0xd], edx
mov dword [esp + 0x35], eax
push esi
mov dword [esp + 0x31], ecx
push edi
mov dword [esp + 0x19], edx
mov dword [esp + 0x41], eax
lea ecx, [esp + 0x24]
push 0xed8
mov dword [esp + 0x21], edx
mov edx, dword [0x431d10]
mov dword [esp + 0x49], eax
push ecx
push 0x4319f4
mov dword [esp + 0x55], eax
push 0x4319ec
push edx
mov dword [esp + 0x61], eax
call fcn.004016f0
add esp, 0x14
test eax, eax
jne 0x4015dd
pop edi
pop esi
pop ebx
add esp, 0x48
ret
mov ecx, 5
lea esi, [esp + 0x24]
lea edi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [esp + 0xc]
mov edi, 5
mov ecx, esi
lea edx, [esp + 0xc]
xor eax, eax
sub ecx, edx
mov bl, byte [eax + 0x4319e4]
lea edx, [ecx + eax]
mov dl, byte [esp + edx + 0xc]
xor dl, bl
lea ebx, [ecx + eax]
inc eax
cmp eax, 4
mov byte [esp + ebx + 0x3c], dl
jl 0x401600
add esi, 4
dec edi
jne 0x4015f6
mov ecx, 5
lea esi, [esp + 0x3c]
mov edi, 0x431d14
mov al, byte [0x4319e0]
rep movsd dword es:[edi], dword [esi]
push 0x23
push str._____write_cdrom_check_ok__________n
movsb byte es:[edi], byte [esi]
mov byte [0x431d28], al
call fcn.004022d0
mov edx, dword [0x431d10]
lea ecx, [esp + 0x2c]
push 0xfa1
push ecx
push 0x4319f4
push 0x4319ec
push edx
call fcn.004016f0
add esp, 0x1c
test eax, eax
jne 0x401677
pop edi
pop esi
pop ebx
add esp, 0x48
ret
mov ecx, 5
lea esi, [esp + 0x24]
lea edi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [esp + 0xc]
mov edi, 5
mov ecx, esi
lea edx, [esp + 0xc]
xor eax, eax
sub ecx, edx
mov bl, byte [eax + 0x4319e4]
lea edx, [ecx + eax]
mov dl, byte [esp + edx + 0xc]
xor dl, bl
lea ebx, [ecx + eax]
inc eax
cmp eax, 4
mov byte [esp + ebx + 0x3c], dl
jl 0x40169a
add esi, 4
dec edi
jne 0x401690
mov ecx, 5
lea esi, [esp + 0x3c]
mov edi, 0x431d2a
push 0x21
rep movsd dword es:[edi], dword [esi]
push str._____write_cdrom_key_ok__________n
movsb byte es:[edi], byte [esi]
call fcn.004022d0
add esp, 8
call fcn.00401750
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x48
ret
Function at 0x401750
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb0
xor eax, eax
mov cl, byte [0x431d94]
mov dword [esp + 1], eax
xor edx, edx
mov dword [esp + 5], eax
mov dword [esp + 0x19], edx
mov dword [esp + 9], eax
mov dword [esp + 0x1d], edx
mov dword [esp + 0xd], eax
mov dword [esp + 0x21], edx
mov dword [esp + 0x11], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x25], edx
push eax
mov byte [esp + 0x1c], cl
mov dword [esp + 0x2d], edx
call fcn.00403771
mov cl, byte [esp + 0x3a]
mov dl, byte [esp + 0x3b]
mov eax, dword [esp + 0x34]
mov byte [esp + 4], cl
mov cl, 0x2d
mov byte [esp + 5], dl
mov byte [esp + 6], cl
mov byte [esp + 7], al
mov al, byte [esp + 0x37]
mov byte [esp + 9], cl
mov cl, byte [esp + 0x38]
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0xc], ah
mov byte [esp + 0xe], al
mov byte [esp + 0xf], cl
call fcn.004036f8
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 9], eax
mov byte [esp + 8], 0x20
mov dword [esp + 0xd], ecx
xor eax, eax
inc eax
lea edx, [eax + 9]
cmp edx, 0x11
jl 0x4017f0
push ebx
push esi
push edi
lea esi, [esp + 0xc]
mov edi, 5
mov ecx, esi
lea edx, [esp + 0xc]
xor eax, eax
sub ecx, edx
mov bl, byte [eax + 0x4319e4]
lea edx, [ecx + eax]
mov dl, byte [esp + edx + 0xc]
xor dl, bl
lea ebx, [ecx + eax]
inc eax
cmp eax, 4
mov byte [esp + ebx + 0x24], dl
jl 0x40180f
add esi, 4
dec edi
jne 0x401805
mov ecx, 5
lea esi, [esp + 0x24]
mov edi, 0x431d40
push 0x42
rep movsd dword es:[edi], dword [esi]
push 0x431d14
movsb byte es:[edi], byte [esi]
call fcn.00401a30
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xb0
ret

Function at 0x4019d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
xor ebp, ebp
mov ecx, esi
mov edi, 5
xor eax, eax
mov dl, byte [eax + 0x4319e4]
mov bl, byte [ecx + eax]
xor bl, dl
mov byte [ecx + eax], bl
inc eax
cmp eax, 4
jl 0x4019e3
add ecx, 4
dec edi
jne 0x4019e1
mov ecx, dword [esp + 0x14]
mov eax, esi
sub ecx, esi
mov esi, 0x12
mov dl, byte [ecx + eax]
mov bl, byte [eax]
cmp dl, bl
jne 0x401a14
inc ebp
inc eax
dec esi
jne 0x401a0a
xor eax, eax
pop edi
cmp ebp, 0x12
pop esi
pop ebp
pop ebx
setge al
ret
Function at 0x401a30
Capabilities:
Contain obfuscated stackstrings
Delete file
Get common file path

Disassembly:
sub esp, 0x200
lea eax, [esp + 0x100]
push esi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jle 0x401a6b
mov ecx, eax
push edi
mov edx, ecx
lea esi, [esp + 0x108]
lea edi, [esp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov byte [esp + eax + 4], 0x5c
mov byte [esp + eax + 5], 0x57
mov byte [esp + eax + 6], 0x4d
mov byte [esp + eax + 7], 0x42
mov byte [esp + eax + 8], 0x43
mov byte [esp + eax + 9], 0x2e
mov byte [esp + eax + 0xa], 0x64
mov byte [esp + eax + 0xb], 0x61
mov byte [esp + eax + 0xc], 0x74
mov byte [esp + eax + 0xd], 0
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
push 0x430278
push ecx
call fcn.00403ac1
mov edx, dword [esp + 0x214]
mov esi, eax
mov eax, dword [esp + 0x210]
push esi
push 1
push edx
push eax
call fcn.00403957
push esi
call fcn.004038da
add esp, 0x1c
mov eax, 1
pop esi
add esp, 0x200
ret

Function at 0x402220
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x80
push esi
push 0
push str.WMBC_RUN.ini
call fcn.00403d71
add esp, 8
cmp eax, 0xffffffff
jne 0x402245
xor eax, eax
pop esi
add esp, 0x80
ret
push 0x430408
push eax
call fcn.00403c7e
mov esi, eax
add esp, 8
test esi, esi
jne 0x402261
pop esi
add esp, 0x80
ret
push esi
lea eax, [esp + 8]
push 0x80
push eax
call fcn.00403c1c
add esp, 0xc
test eax, eax
je 0x40228f
push esi
lea ecx, [esp + 8]
push 0x80
push ecx
call fcn.00403c1c
add esp, 0xc
test eax, eax
jne 0x402278
push esi
call fcn.004038da
mov dl, byte [esp + 0x8c]
add esp, 4
lea eax, [esp + 4]
mov byte [esp + 4], dl
push 5
push eax
mov byte [esp + 0xd], 0x3a
mov byte [esp + 0xe], 0x5c
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, 1
pop esi
add esp, 0x80
ret