joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002d3c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov ebx, dword [eax]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
cmp eax, 4
ja case.0x1002d3dd.4
jmp dword [eax*4 + 0x1002d5f4]
lea eax, [edi + 0x15c]
push eax
call fcn.1002cd80
movzx ecx, word [edi + 0x40]
add esp, 4
movzx esi, ax
lea eax, [ecx + 1]
movzx eax, ax
cmp eax, esi
jne 0x1002d40d
mov dword [edi + 0x18], 0
jmp 0x1002d424
cmp ecx, esi
jne 0x1002d498
push esi
push str.Received_last_DATA_packet_block__d_again._n
push ebx
call fcn.10024510
add esp, 0xc
mov word [edi + 0x40], si
lea esi, [edi + 0x160]
push 4
push esi
call fcn.1002cde0
movzx eax, word [edi + 0x40]
push eax
push esi
call fcn.1002cdc0
add esp, 0x10
lea eax, [edi + 0xc8]
push dword [edi + 0x148]
push eax
push 0
push 4
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x1002d56a
mov eax, dword [edi + 0x154]
xor ecx, ecx
add eax, 4
cmp dword [edi + 0x14c], eax
lea eax, [edi + 0x38]
push eax
setl cl
lea ecx, [ecx*2 + 1]
mov dword [edi], ecx
call fcn.100556ad
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push eax
push esi
push str.Received_unexpected_DATA_packet_block__d__expecting_block__d_n
push ebx
call fcn.10024510
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
lea esi, [edi + 0x160]
push 4
push esi
mov word [edi + 0x40], ax
mov dword [edi + 0x18], eax
call fcn.1002cde0
movzx eax, word [edi + 0x40]
push eax
push esi
call fcn.1002cdc0
add esp, 0x10
lea eax, [edi + 0xc8]
push dword [edi + 0x148]
push eax
push 0
push 4
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x1002d56a
lea eax, [edi + 0x38]
mov dword [edi], 1
push eax
call fcn.100556ad
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
movzx eax, word [edi + 0x40]
inc dword [edi + 0x18]
inc eax
push dword [edi + 0x18]
movzx eax, ax
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push ebx
call fcn.10024510
mov eax, dword [edi + 0x18]
add esp, 0x10
cmp eax, dword [edi + 0x20]
jle 0x1002d546
mov dword [edi + 8], 0xffffff9d
xor eax, eax
mov dword [edi], 3
pop edi
pop esi
pop ebx
pop ebp
ret
push dword [edi + 0x148]
lea eax, [edi + 0xc8]
push eax
push 0
push 4
push dword [edi + 0x160]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x1002d5d0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [edi + 0x10]
call fcn.1002a180
push eax
push 0x1008f800
push ebx
call fcn.10024440
add esp, 0x14
mov eax, 0x37
pop edi
pop esi
pop ebx
pop ebp
ret
lea esi, [edi + 0x160]
push 5
push esi
call fcn.1002cde0
movzx eax, word [edi + 0x40]
push eax
push esi
call fcn.1002cdc0
add esp, 0x10
lea eax, [edi + 0xc8]
push dword [edi + 0x148]
push eax
push 0
push 4
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [edi], 3
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push str.tftp_rx:_internal_error
push 0x1008f800
push ebx
call fcn.10024440
add esp, 0xc
mov eax, 0x47
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1002db20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax]
cmp edx, 3
ja case.default.0x1002db32
jmp dword [edx*4 + 0x1002db88]
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.1002d610
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.1002d3c0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.1002dd30
push str.TFTP_finished
push 0x1008e988
push eax
call fcn.10024510
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x1008f800
push eax
call fcn.10024440
add esp, 0xc
mov eax, 0x47
pop ebp
ret
Function at 0x10037610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.10037740
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.100720ee

Function at 0x1003ae70
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1003aeb2
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [ebp - 4]
test eax, eax
jne 0x1003aebb
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100625d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
scasd eax, dword es:[edi]
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.100622e9
jns 0x10062677
invalid
int1
faddp st(6)
inc ebp
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.100622f9
push eax
push esi
push dword [ebp + 8]
call fcn.100622ae
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100622f9
push eax
push esi
push dword [ebp + 8]
call fcn.100622ae
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
loopne 0x10062784
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100622f9
push eax
push esi
push dword [ebp + 8]
call fcn.100622ae
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100622e9
fcomi st(4)
cmp dword [ebp - 0x78], 0xffff7c9d
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
Function at 0x10062f3f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.100622f9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100622ae
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.100622e9
insd dword es:[edi], dx
jbe 0x10062fdb
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x10062fdd
cmp dword [ebp - 0x398], 0
je 0x100631a7
cmp dword [ebp + 0xc], 1
je 0x100631a7
add byte [eax], al
cmp dword [ebp + 0xc], 8
jne 0x1006316f
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.100622f9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100622ae
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.100622e9
jb 0x100630c6
insb byte es:[edi], dx
scasd eax, dword es:[edi]
push dword [ebp - 0x698]
lea eax, [ebp - 0x6c0]
push eax
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100624c5
add esp, 0x14
call fcn.100622e9
cmp al, 0
invalid
call fcn.100622e9
fisttp dword [esi + 0x37]
or al, byte [eax - 0x5435b]
inc dword [eax]
push 0
call dword [ebp - 0x340]
sar ah, 0xff
dec dword [ecx + 0x4680845]
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax + 0x6a]
add bh, bh
xchg ebp, eax
enter 0xfffffffffffffffa, 0xffffffffffffffff
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
mov ebp, 0xfffffdd1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosd dword es:[edi], eax
Function at 0x100631d3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.100622c7
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.100622f9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100622ae
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.100622e9
mov ch, 0x61
invalid

Function at 0x10063bf1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x704], eax
and byte [ebp - 0x6f4], 0
and byte [ebp - 0x6f3], 0
mov byte [ebp - 0x6f2], 0x43
and byte [ebp - 0x6f1], 0
mov byte [ebp - 0x6f0], 0xeb
mov byte [ebp - 0x6ef], 0xce
mov byte [ebp - 0x6ee], 0xd5
mov byte [ebp - 0x6ed], 0xc8
mov byte [ebp - 0x6ec], 0xd9
mov byte [ebp - 0x6eb], 0xfa
mov byte [ebp - 0x6ea], 0xd5
mov byte [ebp - 0x6e9], 0xd0
mov byte [ebp - 0x6e8], 0xd9
mov byte [ebp - 0x6e7], 0xbc
call fcn.100622e9
pop ds
dec edx
ror byte [ebp - 0x6f37b], 0xff
push eax
call fcn.100622f9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100622ae
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x1006438f
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x10063e64
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
invalid
invalid
pushfd

Function at 0x10079791
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10079396
Function at 0x1007979c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10079517

Function at 0x1007e6fd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007dee1

Function at 0x1007e708
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007e11c

Function at 0x10087cdb
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10087acf
Function at 0x401cb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568667
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x5cefc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x424], 0x5d8104
call fcn.004080c9
mov ecx, eax
test ecx, ecx
je 0x401f24
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x5d8104], eax
mov dword [ebp - 4], 0
call fcn.004080c9
mov ecx, eax
test ecx, ecx
je 0x401f24
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x5d8108], eax
mov byte [ebp - 4], 1
call fcn.004080c9
mov ecx, eax
test ecx, ecx
je 0x401f24
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [0x5d810c], eax
push 0x208
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00543520
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00543520
lea ecx, [ebp - 0x428]
call fcn.00407480
push dword [eax]
lea eax, [ebp - 0x420]
push str._sCmdDloader.ini
push eax
call fcn.00402350
mov edx, dword [ebp - 0x428]
add esp, 0x24
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401dba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.ResearchDownload.exe
push str.FlashApp
push str.Setting
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401df0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x5d8104
call fcn.004021d0
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5b0ed4
push 0x5b0ed8
push str.Setting
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401e40
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x5d8108
call fcn.004021d0
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.ResearchDownload
push str.PipeName
push str.Setting
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401e90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x5d810c
call fcn.004021d0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x420]
push eax
push 1
push str.ShowProcess
push str.Setting
call esi
mov dword [0x5d8110], eax
lea eax, [ebp - 0x420]
push eax
push 0
push str.WaitDUTTimeout
push str.Setting
call esi
lea ecx, [ebp - 0x420]
mov dword [0x5d8114], eax
push ecx
push 0
push str.EZMode
push str.Setting
call esi
mov dword [0x5d8118], eax
mov eax, 0x5d8104
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053e9fa
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004023a0
int3
Function at 0x405b40
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5cefc4]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Exit_Dloader_
call fcn.00405380
add esp, 4
cmp dword [0x5d80bc], 0
jne 0x405c05
cmp dword [0x5d80dc], 0
je 0x405c05
push edi
mov edi, dword [0x5d80e4]
test edi, edi
je 0x405c04
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x230], 0x22c
cmp esi, 0xffffffff
je 0x405bf9
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x405bf2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop word [eax + eax]
mov eax, dword [ebp - 0x228]
cmp eax, edi
je 0x405bda
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x405bc0
jmp 0x405bf1
push 0
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5d80bc], 1
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e9fa
mov esp, ebp
pop ebp
ret

Function at 0x405c20
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568adb
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x5cefc4]
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
push dword [0x5d80c8]
lea eax, [ebp - 0x448]
push eax
call fcn.00406bf0
push 0
push 2
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, dword [ebp - 0x448]
mov ebx, eax
mov dword [ebp - 0x444], 0x22c
cmp ebx, 0xffffffff
je 0x405d43
lea eax, [ebp - 0x444]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x405d3c
push dword [ebp - 0x43c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x405d26
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00543520
add esp, 0xc
test esi, esi
je 0x405d1f
mov eax, dword [0x5d80f4]
test eax, eax
je 0x405d1f
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push edi
call eax
test eax, eax
je 0x405d1f
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00549a64
add esp, 8
test eax, eax
jne 0x405d1f
push eax
push dword [ebp - 0x43c]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x444]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x405ca2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x405d62
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.0053e9fa
mov esp, ebp
pop ebp
ret
Function at 0x405f00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568b31
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x5cefc4]
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 ebx, ecx
lea ecx, [ebp - 0x444]
call fcn.0040a79b
mov dword [ebp - 4], 0
call fcn.004080c9
mov ecx, eax
test ecx, ecx
je 0x4060bb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 1
call fcn.00407480
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x428]
push 0x5b18a4
push eax
call fcn.004052b0
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x424]
add esp, 0xc
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405fac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x428]
lea ecx, [ebp - 0x444]
push 0
push esi
call fcn.0040aa1a
test eax, eax
je 0x40600e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00543520
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x104
push eax
push 0x5b1920
push str.DLPort
push str.AT_REBOOT_SETTING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
lea edx, [ebx + 0xc]
lea ecx, [ebp - 0x218]
call fcn.00407550
add esp, 4
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00543520
lea ecx, [ebp - 0x424]
call fcn.00407480
push dword [eax]
lea eax, [ebp - 0x420]
push str._sCmdDloader.ini
push eax
call fcn.00402350
mov edx, dword [ebp - 0x424]
add esp, 0x18
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40605f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x420]
push eax
push 0
push str.WaitDUTTimeout
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x20], eax
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x406094
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x444]
call fcn.0040a947
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.0053e9fa
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004023a0
int3