joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2a32caab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x2a35572a
call fcn.2a304215
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x2a32cccc
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.2a345307
add esp, 0x10
test eax, eax
js 0x2a32ccc6
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x2a32cb4f
push edi
call fcn.2a32df9a
pop ecx
test al, al
je 0x2a32cb4f
mov eax, edi
call fcn.2a352aa0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2a32cb61
push edi
lea ecx, [ebp - 0x424]
call fcn.2a345307
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.2a345307
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x2a32ccc6
push 0x60
push ebx
push eax
call fcn.2a32e256
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x2a32cbb9
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.2a32e256
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x2a32cbb9
call fcn.2a32b317
mov ebx, eax
jmp 0x2a32cc95
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x2a32cbe0
call fcn.2a32b317
jmp 0x2a32cc88
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x2a32cbd6
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x2a32cc13
mov ebx, 0x8007000e
jmp 0x2a32cc8a
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2a345307
jmp 0x2a32cc39
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x2a32cc0c
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.2a345307
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.2a345307
mov ebx, eax
test edi, edi
je 0x2a32cc95
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a32ccae
lea ecx, [ebp - 0x418]
call fcn.2a32b98d
or dword [ebp - 4], 0xffffffff
jmp 0x2a32ccbe
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32ccb4
mov eax, ebx
jmp 0x2a32ccfa
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x2a32cce1
lea ecx, [ebp - 0x418]
call fcn.2a32b98d
or dword [ebp - 4], 0xffffffff
jmp 0x2a32ccf1
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32cce7
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.2a30424f
ret 0x10
Function at 0x2a345307
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x2a345316
pop dword [ebp - 8]
mov eax, 0x2be0aa53
add eax, 0xfe53a8c3
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x822053b1
sub dword [ebp - 0x18], 0x33ce0e66
mov dword [ebp - 0x14], 0x9865109c
sub dword [ebp - 0x14], 0x6631c457
mov dword [ebp - 0x10], 0xa697105c
sub dword [ebp - 0x10], 0x5a4acc2e
mov dword [ebp - 0xc], 0xa546f772
add dword [ebp - 0xc], 0x5ab9088e
lea eax, [ebp - 0x18]
push eax
mov eax, 0x39088374
sub eax, 0xed302f0
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x26b504fe
add dword [ebp - 0x18], 0x4dbd6458
mov dword [ebp - 0x14], 0x65456b9
sub dword [ebp - 0x14], 0xc4e7f544
mov dword [ebp - 0x10], 0xf93741db
add dword [ebp - 0x10], 0x6a382a91
mov dword [ebp - 0xc], 0xd8a0c045
add dword [ebp - 0xc], 0x275f3fbb
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xe5a95c0d
sub eax, 0xbb73db81
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x50725
push 0
call eax
mov ecx, 0x5f79
mov esi, eax
mov edi, 0xb10e8d42
add edi, 0x792968be
add edi, dword [ebp - 8]
mov edx, 0x9fdb1181
add dword [ebp - 4], 0xb1ab364b
mov ebx, dword [edi]
add dword [ebp - 4], 0xa19d69a2
xor ebx, edx
xor dword [ebp - 4], 0x4703fa8a
mov dword [esi], ebx
xor dword [ebp - 4], 0x87018f78
add esi, 0xccff03b0
add esi, 0x3300fc54
add edi, 0xb820223d
sub edi, 0xb8202239
loop 0x2a34542c
add eax, 0xa45f5b5c
sub eax, 0xa45deaa5
mov ebx, eax
add eax, 0x9368d15f
sub eax, 0x9368d15a
mov ecx, 0x2a300000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x404410
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59705d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x60cff4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x4045df
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.00435d9f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00435d9f
push 0xffffffffffffffff
push 0x400
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00435ee0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edi
call ebx
test eax, eax
je 0x4044ee
nop word [eax + eax]
cmp dword [ebp - 0x10], 0
je 0x404544
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00435e00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00435db6
lea ecx, [ebp - 0x28]
call fcn.00435d9f
push 0xffffffffffffffff
push 0x400
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00435ee0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edi
call ebx
test eax, eax
jne 0x4044a0
lea edi, [esi - 0x10]
push edi
call fcn.00406350
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.00435db6
lea ecx, [ebp - 0x3c]
call fcn.00435db6
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40452e
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00435db6
cmp dword [ebp - 0x34], 0
jne 0x404590
lea edi, [esi - 0x10]
push edi
call fcn.00406350
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.00435db6
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40452e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40452e
push dword [ebp - 0x38]
lea ecx, [ebp - 0x14]
call fcn.00405d80
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
push edi
call fcn.00406350
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.00435db6
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40452e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40452e
push 0x80004005
call fcn.00406290
int3
Function at 0x4057e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x405809
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40581f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405816
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x405852
nop
cmp esi, ecx
jae 0x405816
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x405840
cmp esi, ecx
jae 0x405816
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x406410
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, ecx
push str.Init
push dword [edi]
call ebx
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push 2
push 0
push str.internal
call eax
mov esi, dword [ebp - 4]
add esp, 0x14
push str.SetAddress
push dword [edi]
call ebx
push esi
push dword [ebp + 8]
call eax
mov esi, dword [ebp - 4]
add esp, 8
push str.SetOidMess
push dword [edi]
call ebx
push esi
push 1
push dword [ebp + 0x10]
call eax
mov esi, dword [ebp - 4]
add esp, 0xc
push str.SetWaitTime
push dword [edi]
call ebx
push esi
push 0
push 2
call eax
mov esi, dword [ebp - 4]
add esp, 0xc
push str.Load
push dword [edi]
call ebx
push esi
call eax
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4064af
mov esi, dword [ebp - 4]
push str.GetValueEx
push dword [edi]
call ebx
push esi
push dword [ebp + 0x10]
push 0
call eax
add esp, 0xc
mov esi, dword [ebp - 4]
push str.Quit
push dword [edi]
call ebx
push esi
call eax
mov eax, dword [ebp + 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4064d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, ecx
push str.Init
mov dword [ebp - 8], edi
push dword [edi]
call ebx
lea ecx, [ebp - 4]
push ecx
push 0x12c
push 2
push 3
push str.internal
call eax
mov esi, dword [ebp - 4]
add esp, 0x14
push str.SetAddress
push dword [edi]
call ebx
push esi
push dword [ebp + 8]
call eax
mov esi, dword [ebp - 4]
add esp, 8
push str.SetOidMess
push dword [edi]
call ebx
push esi
push 1
push dword [ebp + 0x10]
call eax
mov esi, dword [ebp - 4]
add esp, 0xc
push str.SetWaitTime
push dword [edi]
call ebx
push esi
push 0
push 2
call eax
mov esi, dword [ebp - 4]
add esp, 0xc
push str.Load
push dword [edi]
call ebx
push esi
call eax
mov esi, dword [ebp - 4]
add esp, 4
mov edi, eax
mov eax, dword [ebp - 8]
push str.Quit
push dword [eax]
call ebx
push esi
call eax
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x406af0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
push 0
lea eax, [esi + 0x10]
mov dword [esi + 0x24], 0
push edi
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.00435ee0
push edi
push dword [ebp + 8]
push dword [esi + 0x14]
call fcn.00570fa0
add esp, 0xc
mov dword [esi + 0x28], 0xea60
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x24]
xor ebx, ebx
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x18]
cmp ecx, eax
jge 0x406b68
nop
sub eax, ecx
push 0
push eax
mov eax, dword [esi + 0x14]
add eax, ecx
mov ecx, esi
push eax
call fcn.00436c5b
cmp eax, 0xffffffff
je 0x406b68
mov ecx, dword [esi + 0x24]
add ebx, eax
add ecx, eax
mov dword [esi + 0x24], ecx
mov eax, dword [esi + 0x18]
cmp ecx, eax
jl 0x406b40
or edi, 0xffffffff
cmp ebx, dword [esi + 0x18]
jne 0x406b77
mov edi, 1
jmp 0x406bb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x406bb7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ebx, [esi + 0x28]
mov dword [esi + 0x2c], eax
push ebx
mov ecx, esi
call fcn.00406e80
mov edi, eax
cmp edi, 1
jne 0x406bb7
nop
mov ecx, dword [esi + 0x24]
cmp ecx, dword [esi + 0x18]
je 0x406bb7
push ebx
mov ecx, esi
call fcn.00406e80
mov edi, eax
cmp edi, 1
je 0x406ba0
mov ecx, dword [ebp - 4]
push 0xffffffffffffffff
push 0
call fcn.00435ee0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406d20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x414
mov eax, dword [0x60cff4]
xor eax, esp
mov dword [esp + 0x410], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov ebx, ecx
jne 0x406e60
push 0
push 0x400
lea eax, [esp + 0x20]
push eax
call fcn.00436c23
mov esi, eax
test esi, esi
je 0x406e5c
jle 0x406e4f
mov eax, dword [ebx + 0x30]
lea ecx, [ebx + 0x30]
mov eax, dword [eax + 0x34]
call eax
mov dword [esp + 0xc], eax
mov ecx, edx
mov eax, esi
cdq
add dword [esp + 0xc], eax
adc ecx, edx
mov dword [esp + 0x14], ecx
jne 0x406d95
cmp dword [esp + 0xc], 3
jb 0x406e3e
cmp esi, 1
jne 0x406dce
mov eax, dword [ebx + 0x30]
lea ecx, [ebx + 0x30]
push 2
push 0xffffffffffffffff
push 0xfffffffffffffffe
call dword [eax + 0x2c]
mov eax, dword [ebx + 0x30]
lea ecx, [esp + 0xc]
push 2
push ecx
lea ecx, [ebx + 0x30]
call dword [eax + 0x38]
mov eax, dword [ebx + 0x30]
lea ecx, [ebx + 0x30]
push 2
push 0
push 0
call dword [eax + 0x2c]
mov al, byte [esp + 0x18]
jmp 0x406e25
cmp esi, 2
jne 0x406e09
mov eax, dword [ebx + 0x30]
lea ecx, [ebx + 0x30]
push esi
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [eax + 0x2c]
mov eax, dword [ebx + 0x30]
lea ecx, [esp + 0xc]
push 1
push ecx
lea ecx, [ebx + 0x30]
call dword [eax + 0x38]
mov eax, dword [ebx + 0x30]
lea ecx, [ebx + 0x30]
push esi
push 0
push 0
call dword [eax + 0x2c]
mov cl, byte [esp + 0x18]
mov al, byte [esp + 0x19]
jmp 0x406e29
cmp esi, 3
jl 0x406e21
movzx eax, byte [esp + esi + 0x15]
mov cl, byte [esp + esi + 0x16]
mov byte [esp + 0xc], al
mov al, byte [esp + esi + 0x17]
jmp 0x406e29
mov al, byte [esp + 0xe]
mov cl, byte [esp + 0xd]
cmp byte [esp + 0xc], 0xd
jne 0x406e3e
cmp cl, 0xa
jne 0x406e3e
cmp al, 0xc
jne 0x406e3e
mov byte [ebx + 0x48], 0
dec esi
mov eax, dword [ebx + 0x30]
lea ecx, [esp + 0x18]
push esi
push ecx
lea ecx, [ebx + 0x30]
call dword [eax + 0x3c]
jmp 0x406e60
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
je 0x406e60
mov byte [ebx + 0x48], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
mov dword [ebx + 0x2c], eax
pop ebx
xor ecx, esp
call fcn.0056e21e
mov esp, ebp
pop ebp
ret 4
Function at 0x407080
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5972f5
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x60cff4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
or edi, 0xffffffff
cmp byte [ebp + 8], 0
jne 0x407146
cmp byte [ebx], 0
je 0x4071ef
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x407203
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push str._CommandBrPdrExit__n
push eax
call fcn.00405780
push str.BrPdrSts.dat
lea eax, [ebp + 8]
push str._StatusFile_s__n
push eax
call fcn.00405780
add esp, 0x14
lea eax, [ebp + 8]
push str._EndMark_1___n
push eax
call fcn.00405780
add esp, 8
lea eax, [ebp + 8]
push 0xa
push eax
call fcn.00408cb0
mov dword [ebp - 4], 0xffffffff
mov edi, eax
mov edx, dword [ebp + 8]
or ecx, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4071dd
mov ecx, dword [edx]
push edx
jmp 0x4071d8
push str.BrPdrBrPdrCnf.ini
push 0
push str.PracticeNumber
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
test esi, esi
je 0x4071ef
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x407203
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push esi
push str.BrPdrMaiWClass
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push str._s_d
push eax
call fcn.00405c70
mov esi, dword [ebp + 8]
add esp, 0x10
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4071be
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4071dd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
js 0x4071ef
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00406290
int3
Function at 0x40a350
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59779b
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x60cff4]
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 esi, ecx
mov eax, dword [esi + 0x20]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1a8], edi
cmp dword [eax - 0xc], 0
je 0x40a4d4
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x40a50e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1a4], eax
push 0x5e2d2c
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 4], 0
call fcn.004059a0
test al, al
jne 0x40a3e0
push 0
push 0x5e2d2c
lea ecx, [ebp - 0x1a4]
call fcn.004060b0
lea eax, [ebp - 0x1a0]
mov dword [ebp - 4], 1
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40a49f
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x40a460
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a410
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x40a460
lea eax, [ecx + ecx]
mov dword [ebp - 0x1a8], eax
call fcn.0056e950
mov esi, esp
test esi, esi
je 0x40a460
push 0
push 0
push dword [ebp - 0x1a8]
mov byte [esi], 0
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x40a462
xor esi, esi
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x40a499
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
movzx esi, byte [eax]
movzx edx, byte [eax + 1]
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x1a4]
push str._d._d._d._d
push eax
call fcn.00405c70
add esp, 0x18
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov esi, dword [ebp - 0x1a4]
add esi, 0xfffffff0
push esi
call fcn.00406350
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40a4e8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x40a4e8
mov eax, dword [esi + 0x1c]
sub eax, 0x10
push eax
call fcn.00406350
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov eax, edi
lea esp, [ebp - 0x1b8]
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.0056e21e
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00406290
int3
Function at 0x40e240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00437be8

Function at 0x418060
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598bb3
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x60cff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.BrPdrBRAdmin.PF.dll
call ebx
mov dword [edi + 0x264], eax
test eax, eax
je 0x418138
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsSupportedFileType
push eax
call esi
push str.IsSupportedDataType
push dword [edi + 0x264]
mov dword [edi + 0x26c], eax
call esi
push str.SendFile
push dword [edi + 0x264]
mov dword [edi + 0x270], eax
call esi
push str.SendBytes
push dword [edi + 0x264]
mov dword [edi + 0x274], eax
call esi
push str.SendAndReadFile
push dword [edi + 0x264]
mov dword [edi + 0x278], eax
call esi
push str.SendAndReadBytes
push dword [edi + 0x264]
mov dword [edi + 0x27c], eax
call esi
push str.FreeAllocatedMemory
push dword [edi + 0x264]
mov dword [edi + 0x280], eax
call esi
mov dword [edi + 0x284], eax
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x418265
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x198], eax
push str.BrPdrBrMuSNMP.dll
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 1
call fcn.004059a0
test al, al
jne 0x41817f
push 0x12
push str.BrPdrBrMuSNMP.dll
lea ecx, [ebp - 0x198]
call fcn.004060b0
mov esi, dword [ebp - 0x198]
push esi
call ebx
mov dword [ebp - 0x198], eax
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4181ac
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
lea ecx, [ebp - 0x194]
call fcn.0040e020
push dword [eax]
lea eax, [ebp - 0x110]
push 0xff
push eax
call fcn.0057783d
mov eax, dword [ebp - 0x194]
lea ecx, [ebp - 0x190]
add esp, 0xc
cmp eax, ecx
je 0x4181e9
push eax
call fcn.005790d2
add esp, 4
mov eax, dword [edi + 0x270]
push 2
push dword [ebp + 8]
call eax
add esp, 8
movzx esi, al
lea eax, [ebp - 0x110]
push eax
push ecx
lea ecx, [ebp - 0x198]
call fcn.00406580
and eax, esi
mov dword [edi + 0x1e8], eax
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x418228
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x418247
mov ecx, dword [edx]
push edx
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.0056e21e
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00406290
int3
Function at 0x4234a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, ecx
call fcn.004383d9
lea eax, [edi + 0xb8]
mov dword [esp + 8], 0x81
mov dword [esp + 0xc], eax
lea esi, [edi + 0xb0]
lea eax, [esp + 8]
mov ecx, esi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004256d0
lea eax, [edi + 0x1b0]
mov dword [esp + 8], 0x8a
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004256d0
lea eax, [edi + 0x2a0]
mov dword [esp + 8], 0x8e
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004256d0
lea eax, [edi + 0x380]
mov dword [esp + 8], 0x8f
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004256d0
lea eax, [edi + 0x4f8]
mov dword [esp + 8], 0x8c
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004256d0
lea eax, [edi + 0x600]
mov dword [esp + 8], 0x90
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004256d0
lea eax, [edi + 0x768]
mov dword [esp + 8], 0xa2
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004256d0
lea eax, [edi + 0x978]
mov dword [esp + 8], 0xa3
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004256d0
lea eax, [edi + 0xa58]
mov dword [esp + 8], 0x93
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.004256d0
call fcn.00438ab6
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0
push 0x80
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.004237c0
mov ecx, edi
test eax, eax
jns 0x423634
push 1
call fcn.0043812c
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
push 0x64
call fcn.00424410
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret