joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bf44e0
Capabilities:
Create process on windows

Disassembly:
push 0x8a0
mov eax, 0x43c1b18c
call fcn.43bfae59
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov ebx, str.SoftwareTencentQQBrowserLiveup
and dword [ebp - 0x818], 0
push ebx
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.43bfaa14
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x828]
call fcn.43bc2024
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x830], 0
mov ebx, str.isPatchSucceeded
push ebx
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
call fcn.43bfaa14
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x840]
call fcn.43bc2024
cmp dword [ebp - 0x82c], 8
lea ecx, [ebp - 0x840]
push str.FAILED
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
push ecx
cmovae eax, dword [ebp - 0x828]
push eax
push 0x80000001
mov byte [ebp - 4], 1
call fcn.43bd55da
xor eax, eax
xor ebx, ebx
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.43bfa2b0
add esp, 0x1c
lea eax, [ebp - 0x840]
lea ecx, [ebp - 0x828]
push 8
pop edx
cmp dword [ebp - 0x82c], edx
cmovae eax, dword [ebp - 0x840]
cmp dword [ebp - 0x814], edx
cmovae ecx, dword [ebp - 0x828]
cmp dword [edi + 0x14], edx
jb 0x43bf45ec
mov edi, dword [edi]
cmp dword [esi + 0x14], edx
jb 0x43bf45f3
mov esi, dword [esi]
push eax
push ecx
push edi
push esi
push str.__s____s____s____s_
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.43bfd0ef
push 0x40
lea eax, [ebp - 0x8a8]
mov dword [ebp - 0x8ac], 0x44
push ebx
push eax
call fcn.43bfa2b0
add esp, 0x28
lea eax, [ebp - 0x868]
xor edi, edi
xorps xmm0, xmm0
inc edi
movdqu xmmword [ebp - 0x868], xmm0
push eax
lea eax, [ebp - 0x8ac]
push eax
push ebx
push ebx
push 0x8000000
push edi
push ebx
push ebx
lea eax, [ebp - 0x810]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43bf4685
push 0xffffffffffffffff
push dword [ebp - 0x868]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x868]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x864]
call esi
xor eax, eax
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], ebx
mov word [ebp - 0x858], ax
cmp dword [ebp - 0x82c], 8
lea ecx, [ebp - 0x840]
lea edx, [ebp - 0x858]
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
push edx
cmovae eax, dword [ebp - 0x828]
push ecx
push eax
push 0x80000001
call fcn.43bd56a2
add esp, 0x10
lea ecx, [ebp - 0x858]
push str.SUCC
call fcn.43bc7f25
neg eax
lea ecx, [ebp - 0x858]
push ebx
push edi
sbb esi, esi
call fcn.43bc1f54
push ebx
push edi
lea ecx, [ebp - 0x840]
call fcn.43bc1f54
push ebx
push edi
lea ecx, [ebp - 0x828]
call fcn.43bc1f54
lea eax, [esi + 1]
call fcn.43bfae08
ret
Function at 0x43bf47d7
Capabilities:
Create process on windows

Disassembly:
push 0xa0
mov eax, 0x43c1b1d4
call fcn.43bfae59
mov eax, dword [0x43c40284]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x43bf4801
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x43c40284], ebx
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.43bc3837
pop ecx
test eax, eax
jne 0x43bf4828
mov esi, ebx
jmp 0x43bf4971
call fcn.43bd2660
push 1
push 0x15
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.43bd2660
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
xor eax, eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], ax
push dword [0x43c3a004]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.43bc6497
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
push 0xfde9
push eax
call fcn.43bc19cf
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.43bc2382
mov dword [ebp - 0x14], edi
xor eax, eax
mov edi, 0x43c1ce78
mov dword [ebp - 0x18], ebx
push edi
mov word [ebp - 0x28], ax
call fcn.43bfaa14
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.43bc2024
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.43bc2e08
cmp dword [ebp + 8], 0
jne 0x43bf48fa
test esi, esi
je 0x43bf48fa
mov edi, 0x43c29d04
push edi
call fcn.43bfaa14
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.43bc2eae
cmp word [esi], bx
jne 0x43bf48e9
mov eax, ebx
jmp 0x43bf48f0
push esi
call fcn.43bfaa14
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.43bc2eae
push 0x38
lea eax, [ebp - 0xa8]
push ebx
push eax
call fcn.43bfa2b0
add esp, 0xc
mov dword [ebp - 0xac], 0x3c
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0xa8], 0x100
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0x90], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push ebx
push 1
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.43bc1f54
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.43bc1f54
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.43bc1f54
mov eax, esi
call fcn.43bfae08
ret
Function at 0x43bf4c17
Capabilities:
Check if file exists
Copy file

Disassembly:
push 0x68
mov eax, 0x43c1b214
call fcn.43bfae59
cmp dword [0x43c402bc], 0
jne 0x43bf4d3f
xor edi, edi
mov dword [ebp - 0x44], 7
xor eax, eax
mov dword [ebp - 0x48], edi
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], edi
push eax
call fcn.43bc3837
xor ebx, ebx
inc ebx
pop ecx
test eax, eax
je 0x43bf4d35
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0x5c
push eax
lea ecx, [ebp - 0x58]
call fcn.43bdfab2
push eax
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.43bc2c03
mov esi, str.F1Assistant.dll
mov byte [ebp - 4], bl
push esi
call fcn.43bfaa14
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.43bc2eae
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
je 0x43bf4d2b
lea eax, [ebp - 0x70]
push eax
call fcn.43bd3a96
mov dword [esp], str.F1Assistant.dll
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.43bc3a6f
add esp, 0xc
lea ecx, [ebp - 0x70]
push edi
push ebx
call fcn.43bc1f54
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push edi
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x43bf4d21
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.43bf4dbc
mov dword [0x43c402bc], eax
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.43bc1f54
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.43bc1f54
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.43bc1f54
call fcn.43bfae08
ret
Function at 0x43bf4e47
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7b0
mov eax, dword [0x43c3a250]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [0x43c402b8], eax
call fcn.43bc5ed9
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
call fcn.43bc57f7
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
lea eax, [ebp - 0x1c]
push eax
call fcn.43bf38de
pop ecx
xor edi, edi
lea ecx, [ebp - 0x1c]
push edi
push 1
call fcn.43bc1f54
push 0x43c23920
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
lea eax, [ebp - 0x7b0]
mov dword [ebp - 0x7b0], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x43bf4fa3
call fcn.43bf4c17
lea ecx, [ebp - 0x7ac]
call fcn.43bf205b
cmp dword [ebp - 0x7b0], 1
jg 0x43bf4f13
cmp byte [0x43c52004], 0
jne 0x43bf4f93
push 1
lea ecx, [ebp - 0x7ac]
mov byte [0x43c52004], 1
call fcn.43bf23c1
test eax, eax
jne 0x43bf4f93
push edi
lea ecx, [ebp - 0x7ac]
call fcn.43bf23c1
jmp 0x43bf4f93
push str.3C6D43EA_1F61_4b46_90C4_1AA48B9C887E
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp dword [ebp - 0x7b0], 2
mov dword [0x43c40284], eax
jle 0x43bf4f57
push str._check
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43bf4f57
push dword [esi + 4]
call fcn.43bf9b8f
pop ecx
push eax
lea ecx, [ebp - 0x7ac]
call fcn.43bf22c5
jmp 0x43bf4f7d
push dword [esi + 4]
call fcn.43bf9b8f
cmp dword [ebp - 0x7b0], 2
pop ecx
jle 0x43bf4f6e
mov ecx, dword [esi + 8]
jmp 0x43bf4f70
mov ecx, edi
push ecx
push eax
lea ecx, [ebp - 0x7ac]
call fcn.43bf286d
mov eax, dword [0x43c40284]
test eax, eax
je 0x43bf4f93
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x43c40284], edi
call fcn.43bf4bb3
lea ecx, [ebp - 0x7ac]
call fcn.43bf216a
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.43bfad82
mov esp, ebp
pop ebp
ret 0x10

Function at 0x43bf6035
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [section..shared], edi
mov eax, dword [esi + 0x6ec]
test eax, eax
je 0x43bf607d
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43bf606b
push edi
push dword [esi + 0x6ec]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x6ec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x6ec], edi
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
ret
Function at 0x43bf780e
Capabilities:
Check if file exists

Disassembly:
push 0x124
mov eax, 0x43c1b6a6
call fcn.43bfae59
mov esi, ecx
lea edi, [esi + 0x6e4]
cmp dword [edi + 0x14], 8
jb 0x43bf782f
mov eax, dword [edi]
jmp 0x43bf7831
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bf7879
lea eax, [esi + 0x6fc]
push eax
push edi
call fcn.43bf4394
pop ecx
pop ecx
test eax, eax
je 0x43bf7879
push 4
mov ecx, esi
call fcn.43bf7b08
mov ecx, dword [esi + 0x68c]
test ecx, ecx
je 0x43bf786d
push 1
push 1
push 0x32
call fcn.43bcdb13
mov ecx, esi
call fcn.43bf7949
jmp 0x43bf7943
xor ebx, ebx
cmp dword [esi + 0x718], ebx
jne 0x43bf78cd
lea ecx, [ebp - 0x6c]
call fcn.43bf33c8
push 0xc8
mov dword [ebp - 4], ebx
mov dword [ebp - 0x64], 5
call fcn.43bc1420
pop ecx
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x43bf78bd
lea ecx, [ebp - 0x6c]
push ecx
push 1
mov ecx, eax
call fcn.43bf5cd7
jmp 0x43bf78bf
mov eax, ebx
lea ecx, [ebp - 0x6c]
mov dword [esi + 0x718], eax
call fcn.43bf3448
lea ecx, [ebp - 0x12c]
call fcn.43bd4040
lea eax, [esi + 0x6cc]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x12c]
cmp ecx, eax
je 0x43bf78f8
push 0xffffffffffffffff
push ebx
push eax
call fcn.43bc1da6
push ebx
push edi
call fcn.43bd3d1c
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.43be57ff
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x70]
call fcn.43be57ff
mov ecx, dword [esi + 0x718]
lea eax, [ebp - 0x12c]
push eax
call fcn.43bd4238
push 4
mov ecx, esi
call fcn.43bf7b08
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.43bd4747
call fcn.43bfae08
ret

Function at 0x43bf7949
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 3
pop ebx
mov eax, dword [esi + 0x698]
cmp eax, ebx
je 0x43bf7972
cmp eax, 4
je 0x43bf7972
cmp eax, 5
je 0x43bf7972
call fcn.43bf53b9
mov edi, eax
jmp 0x43bf7975
mov edi, dword [esi + 4]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
push dword [esi + 0x698]
lea eax, [esi + 0x6e4]
push eax
call fcn.43bf42e7
add esp, 0x10
test eax, eax
mov eax, dword [esi + 0x698]
je 0x43bf79f9
cmp eax, ebx
je 0x43bf79e0
cmp eax, 4
je 0x43bf79e0
cmp eax, 5
je 0x43bf79e0
cmp eax, 2
jne 0x43bf79c1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, esi
call fcn.43bf71e9
push 0
push dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 5
push edi
call esi
push dword [ebp - 4]
push edi
call fcn.43bf59b7
pop ecx
pop ecx
jmp 0x43bf7a3e
mov ecx, dword [esi + 0x68c]
test ecx, ecx
je 0x43bf79f5
push 1
push 1
push 0x32
call fcn.43bcdb13
push 6
jmp 0x43bf7a37
cmp eax, ebx
je 0x43bf7a1f
cmp eax, 4
je 0x43bf7a1f
cmp eax, 5
je 0x43bf7a1f
push ebx
push 0x1b5a
push ebx
call fcn.43bf4724
add esp, 0xc
mov ecx, esi
call fcn.43bf7a61
jmp 0x43bf7a3e
push ebx
push 0x1b5a
push eax
call fcn.43bf3816
pop ecx
push eax
call fcn.43bf4724
add esp, 0xc
push 7
mov ecx, esi
call fcn.43bf7b08
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43bf8a20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x43c4030c]
push ebx
push esi
xor ebx, ebx
push edi
test eax, eax
jne 0x43bf8a3c
call fcn.43bf8af9
test eax, eax
je 0x43bf8a7a
mov eax, dword [0x43c4030c]
cmp eax, 1
jne 0x43bf8a57
push 0xd
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x43bf8a7a
jmp 0x43bf8ac9
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x43bf8ac9
push 0x40
mov eax, 0x1000
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x43bf8a8c
push ebx
push ebx
push ebx
push 0xc0000017
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [esi]
push dword [0x43c4030c]
call edi
mov edi, eax
test edi, edi
je 0x43bf8aad
push 0x8000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x43bf8ac9
lea edi, [esi + 0xff0]
push esi
push dword [0x43c4030c]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x43bf8ab3
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x434f30
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x4350f4
pushal
mov esi, 0x42d015
lea edi, [esi - 0x2c015]
push edi
or ebp, 0xffffffff
jmp 0x434f5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x434f61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x434f50
mov eax, 1
add ebx, ebx
jne 0x434f73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x434f68
jne 0x434f84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x434f68
xor ecx, ecx
sub eax, 3
jb 0x434f98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43500a
mov ebp, eax
add ebx, ebx
jne 0x434fa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x434fb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x434fd4
inc ecx
add ebx, ebx
jne 0x434fc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x434fb5
jne 0x434fd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x434fb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x434ff4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x434fe5
jmp 0x434f56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x434ff4
add edi, ecx
jmp 0x434f56
pop esi
mov edi, esi
mov ecx, 0x1aa
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x435012
cmp byte [edi], 1
jne 0x435012
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 0x435017
lea edi, [esi + 0x32000]
mov eax, dword [edi]
or eax, eax
je 0x435086
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x35000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x35044]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x435044
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x35048]
or eax, eax
je 0x435080
mov dword [ebx], eax
add ebx, 4
jmp 0x435061
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4350b7
cmp al, 0xef
ja 0x4350aa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x43508c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x435099
mov ebp, dword [esi + 0x3504c]
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 0x4350eb
sub esp, 0xffffff80
jmp section.TGwd
Function at 0x401000
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
mov eax, dword [0x45f6c4]
xor eax, esp
mov dword [esp + 4], eax
lea eax, [esp]
push eax
push 0
mov dword [esp + 8], 0
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x40103b
cmp eax, 0x6f
je 0x40103b
xor eax, eax
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00431398
add esp, 8
ret
mov ecx, dword [esp]
push esi
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x401064
lea edx, [esp + 4]
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x401076
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00431398
add esp, 8
ret
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02X_02X_02X_02X_02X_02X
push edi
call fcn.004313a7
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 8]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00431398
add esp, 8
ret

Function at 0x403090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4030a9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4030e4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4030e0
lea ebx, [ebx]
cmp esi, eax
jae 0x4030e4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4030d0
cmp esi, eax
jb 0x4030ea
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40d530
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax]
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
push ebp
push esi
push edi
lea ecx, [ecx + eax + 0x18]
mov dword [esp + 0x10], 0
jbe 0x40d5e8
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea esi, [ecx + 0xc]
mov eax, dword [esi + 4]
test eax, eax
jne 0x40d599
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + 0x38]
test edi, edi
jle 0x40d5c8
mov eax, dword [esi]
push 4
push 0x1000
push edi
add eax, ebx
push eax
call ebp
test eax, eax
je 0x40d5f3
mov eax, dword [esi]
push edi
add eax, ebx
push 0
push eax
mov dword [esi - 4], eax
call fcn.004346e0
jmp 0x40d5c5
mov ecx, dword [esi]
push 4
push 0x1000
push eax
add ecx, ebx
push ecx
call ebp
test eax, eax
je 0x40d5f3
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
add eax, dword [esp + 0x18]
mov edi, dword [esi]
push edx
add edi, ebx
push eax
push edi
call fcn.004397a0
mov dword [esi - 4], edi
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [esp + 0x10]
movzx ecx, word [edx + 6]
add eax, 1
add esi, 0x28
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x40d562
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x40d6a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x30]
mov esi, dword [ecx + eax + 0x20]
sub edx, 1
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [esp + 0x14], esi
mov esi, dword [ecx + 0x10]
test esi, esi
mov dword [esp + 0x18], edx
jne 0x40d6e6
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x40d6df
mov esi, dword [eax + 0x20]
jmp 0x40d6e6
test bl, bl
jns 0x40d6e6
mov esi, dword [eax + 0x24]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 0x24]
mov dword [esp + 0x20], esi
mov esi, 1
add ecx, 0x28
cmp word [eax + 6], si
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], esi
jbe 0x40d7c6
lea ebx, [ecx + 0x24]
mov esi, dword [edi + 0x30]
mov ebp, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
sub esi, 1
not esi
and esi, ebp
test edi, edi
jne 0x40d739
mov ecx, dword [ebx]
test cl, 0x40
je 0x40d732
mov edi, dword [eax + 0x20]
jmp 0x40d739
test cl, cl
jns 0x40d739
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x40d772
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add eax, ecx
cmp eax, esi
ja 0x40d772
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.0040d600
test eax, eax
je 0x40d7e7
mov eax, dword [ebx]
mov edx, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
jmp 0x40d79e
mov eax, dword [ebx]
test eax, 0x2000000
je 0x40d78b
test dword [esp + 0x20], 0x2000000
je 0x40d78b
or dword [esp + 0x20], eax
jmp 0x40d798
or eax, dword [esp + 0x20]
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
sub edi, dword [esp + 0x14]
add edi, ebp
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
movzx esi, word [eax + 6]
add ecx, 1
add ebx, 0x28
cmp ecx, esi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
jl 0x40d712
lea ecx, [esp + 0x14]
mov edx, edi
mov dword [esp + 0x24], 1
call fcn.0040d600
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret