joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489ad0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x46c
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x464], eax
mov eax, dword [esp + 0x474]
push ebx
push ebp
mov ebp, dword [esp + 0x478]
push esi
push edi
mov edi, ecx
push edi
mov dword [esp + 0x14], eax
call fcn.004a0c2e
add esp, 4
push 1
push str.ID_d_n
call fcn.00477b80
push 4
call fcn.004907ee
add esp, 0xc
mov esi, eax
mov dword [esi], 0
test edi, edi
je 0x489b59
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x489b30
sub eax, edx
sar eax, 1
je 0x489b59
push 0x104
lea ecx, [esp + 0x26c]
push edi
push ecx
call fcn.0049f415
add esp, 0xc
jmp 0x489b84
push str.BROWSER_PATH_PROJECTS
call fcn.0046ccd0
mov edi, eax
push 0x104
lea edx, [esp + 0x26c]
push edi
push edx
call fcn.0049f415
add esp, 0xc
push edi
call fcn.0049081d
add esp, 4
push 6
lea eax, [esp + 0x26c]
push str..foe
push eax
call fcn.0049f45f
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x489be5
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
inc dword [esi]
lea eax, [esp + 0x18]
push eax
push edi
call ebx
test eax, eax
je 0x489bde
lea esp, [esp]
inc dword [esi]
lea ecx, [esp + 0x18]
push ecx
push edi
call ebx
test eax, eax
jne 0x489bd0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x10]
push esi
push edx
push ebp
mov edx, 4
mov al, 1
call fcn.0048fcb0
push esi
mov edi, eax
call fcn.0049081d
mov ecx, dword [esp + 0x478]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049dc2a
add esp, 0x46c
ret 8
Function at 0x489ef0
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
sub esp, 0x218
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x21c]
push esi
push edi
push 3
push str.ID_d_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov edi, edx
call fcn.00477b80
push 1
call fcn.004907ee
add esp, 0xc
mov esi, eax
test edi, edi
je 0x48a024
lea edx, [edi + 0x22]
push ebp
test edx, edx
je 0x489f6a
mov eax, edx
lea ebp, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x489f44
sub eax, ebp
sar eax, 1
je 0x489f6a
push 0x104
push edx
lea edx, [esp + 0x20]
push edx
call fcn.0049f415
add esp, 0xc
jmp 0x489f8f
push str.BROWSER_PATH_PROJECTS
call fcn.0046ccd0
mov ebp, eax
push 0x104
lea eax, [esp + 0x1c]
push ebp
push eax
call fcn.0049f415
push ebp
call fcn.0049081d
add esp, 0x10
push 1
lea ecx, [esp + 0x1c]
push 0x4c395c
push ecx
call fcn.0049f45f
push 0x11
lea edx, [esp + 0x28]
push edi
push edx
call fcn.0049f45f
push 4
lea eax, [esp + 0x34]
push str..foe_
push eax
call fcn.0049f45f
add esp, 0x24
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop ebp
cmp eax, 0xffffffff
jne 0x48a024
push 0x4d2c18
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
call fcn.004a0bdb
add esp, 0xc
test eax, eax
jne 0x48a024
mov ecx, dword [esp + 8]
mov edx, dword [ebx + 4]
push ecx
push 1
sub edx, 0x22a
push edx
add edi, 0x22a
push edi
call fcn.004a0e3f
mov eax, dword [esp + 0x18]
push eax
call fcn.004a0fe3
add esp, 0x14
mov byte [esi], 1
jmp 0x48a027
mov byte [esi], 0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
movzx edi, byte [esi]
push esi
push ecx
push edx
mov edx, 1
mov al, 3
call fcn.0048fcb0
push esi
call fcn.0049081d
mov ecx, dword [esp + 0x220]
add esp, 4
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0049dc2a
add esp, 0x218
ret 4
Function at 0x48a200
Capabilities:
Delete file

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x224]
push ebx
push ebp
mov ebp, dword [esp + 0x228]
push esi
push edi
push 4
push str.ID_d_n
mov dword [esp + 0x18], eax
mov esi, ecx
call fcn.00477b80
push 1
call fcn.004907ee
lea ecx, [esi + 0x22]
add esp, 0xc
mov edi, eax
test ecx, ecx
je 0x48a276
mov eax, ecx
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x48a250
sub eax, ebx
sar eax, 1
je 0x48a276
push 0x104
push ecx
lea ecx, [esp + 0x20]
push ecx
call fcn.0049f415
add esp, 0xc
jmp 0x48a29e
push str.BROWSER_PATH_PROJECTS
call fcn.0046ccd0
mov ebx, eax
push 0x104
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.0049f415
add esp, 0xc
push ebx
call fcn.0049081d
add esp, 4
push 1
lea eax, [esp + 0x1c]
push 0x4c395c
push eax
call fcn.0049f45f
add esp, 0xc
push 0x11
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.0049f45f
add esp, 0xc
push 4
lea edx, [esp + 0x1c]
push str..foe_
push edx
call fcn.0049f45f
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call ebx
mov esi, eax
test esi, esi
je 0x48a32c
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48a2f0
sub eax, edx
push 4
lea edx, [esp + 0x1c]
sar eax, 1
xor ecx, ecx
push str..thm_
push edx
mov word [esp + eax*2 + 0x1c], cx
call fcn.0049f45f
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call ebx
lea ecx, [esp + 0x18]
call fcn.0048a070
test esi, esi
mov edx, dword [esp + 0x10]
push edi
push edx
setne cl
push ebp
mov edx, 1
mov al, 4
mov byte [edi], cl
call fcn.0048fcb0
push edi
mov esi, eax
call fcn.0049081d
mov ecx, dword [esp + 0x228]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049dc2a
add esp, 0x21c
ret 8
Function at 0x48a370
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x424]
push ebx
push ebp
mov ebp, dword [esp + 0x428]
push esi
push edi
push 5
push str.ID_d_n
mov dword [esp + 0x18], eax
mov esi, ecx
call fcn.00477b80
push 1
call fcn.004907ee
lea ecx, [esi + 0x44]
add esp, 0xc
mov edi, eax
test ecx, ecx
je 0x48a3e6
mov eax, ecx
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x48a3c0
sub eax, ebx
sar eax, 1
je 0x48a3e6
push 0x104
push ecx
lea ecx, [esp + 0x20]
push ecx
call fcn.0049f415
add esp, 0xc
jmp 0x48a40b
push str.BROWSER_PATH_PROJECTS
call fcn.0046ccd0
mov ebx, eax
push 0x104
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.0049f415
push ebx
call fcn.0049081d
add esp, 0x10
push 1
lea eax, [esp + 0x1c]
push 0x4c395c
push eax
call fcn.0049f45f
push 0x104
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x234]
push edx
call fcn.0049f415
push 0x11
lea eax, [esp + 0x34]
push esi
push eax
call fcn.0049f45f
push 4
lea ecx, [esp + 0x40]
push str..foe_
push ecx
call fcn.0049f45f
push 0x11
add esi, 0x22
lea edx, [esp + 0x254]
push esi
push edx
call fcn.0049f45f
push 4
lea eax, [esp + 0x260]
push str..foe_
push eax
call fcn.0049f45f
add esp, 0x48
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne cl
mov byte [edi], cl
test eax, eax
je 0x48a4d5
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48a4a0
sub eax, edx
sar eax, 1
xor edx, edx
push 4
mov word [esp + eax*2 + 0x14], dx
lea eax, [esp + 0x1c]
push str..thm_
push eax
call fcn.0049f45f
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x10]
push edi
push edx
push ebp
mov edx, 1
mov al, 5
call fcn.0048fcb0
push edi
mov esi, eax
call fcn.0049081d
mov ecx, dword [esp + 0x42c]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049dc2a
add esp, 0x41c
ret 8
Function at 0x48ab80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4bc4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
push 0x10
push str.ID_d_n
call fcn.00477b80
push 1
call fcn.004907ee
add esp, 0xc
push str.EDITMESSAGE
mov ebx, eax
call fcn.0046ccd0
push 0x208
mov dword [esp + 0x28], eax
call fcn.00490828
add esp, 4
push 0x2a
mov esi, eax
call fcn.00490828
lea ecx, [edi + 0x22]
add esp, 4
mov ebp, eax
test ecx, ecx
je 0x48ac24
mov eax, ecx
lea edx, [eax + 2]
mov dword [esp + 0x20], edx
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x48ac00
sub eax, dword [esp + 0x20]
sar eax, 1
je 0x48ac24
push 0xee
push ecx
push esi
call fcn.0049f415
add esp, 0xc
jmp 0x48ac4e
push str.BROWSER_PATH_PROJECTS
call fcn.0046ccd0
push 0x104
push eax
push esi
mov dword [esp + 0x2c], eax
call fcn.0049f415
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
call fcn.0049081d
add esp, 4
push 0x11
push edi
push ebp
call fcn.0049f415
add esp, 0xc
push 4
push 0x4c40d0
push ebp
call fcn.0049f45f
add esp, 0xc
push 1
push 0x4c395c
push esi
call fcn.0049f45f
add esp, 0xc
push 0x15
push ebp
push esi
call fcn.0049f45f
add esp, 0xc
push esi
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48ad8e
push str.CAN_PRINT
mov dword [esp + 0x20], 0
call fcn.0046ccd0
mov edi, eax
test edi, edi
je 0x48acc7
push edi
call fcn.0049e31d
add esp, 4
push edi
mov dword [esp + 0x20], eax
call fcn.0049081d
add esp, 4
push str.PAGESIZE
mov dword [esp + 0x1c], 0
call fcn.0046ccd0
mov edi, eax
test edi, edi
je 0x48acf5
push edi
call fcn.0049e31d
add esp, 4
push edi
mov dword [esp + 0x1c], eax
call fcn.0049081d
add esp, 4
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x1c], ecx
jne 0x48ad8e
push str.messageScreen
lea ecx, [esp + 0x24]
call fcn.004019b0
push 1
lea edx, [esp + 0x24]
mov dword [esp + 0x34], 0
mov ecx, dword [0x4ee74c]
push edx
call fcn.0043de40
mov edi, eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ad55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x48ad8e
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
push 0
push esi
push 0x63
mov ecx, edi
call eax
mov ecx, dword [0x4ee750]
push 0
push str.USBPRINT
call fcn.0046c980
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
push 0
push 0
push 0x8e
mov ecx, edi
call eax
mov byte [ebx], 1
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ebx
push ecx
push edx
mov edx, 1
mov al, 0x10
call fcn.0048fcb0
mov edi, eax
mov eax, dword [esp + 0x24]
push eax
call fcn.0049081d
add esp, 4
test esi, esi
je 0x48adc1
push esi
call fcn.0049081d
add esp, 4
test ebp, ebp
je 0x48adce
push ebp
call fcn.0049081d
add esp, 4
push ebx
call fcn.0049081d
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x48f9f0
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
sub esp, 0x218
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x21c]
push esi
push edi
push 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov esi, edx
call fcn.004907ee
add esp, 4
mov edi, eax
test esi, esi
je 0x48fb20
lea edx, [esi + 0x80]
push ebp
test edx, edx
je 0x48fa66
mov eax, edx
lea ebp, [eax + 2]
jmp 0x48fa40
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48fa40
sub eax, ebp
sar eax, 1
je 0x48fa66
push 0x104
push edx
lea edx, [esp + 0x20]
push edx
call fcn.0049f415
add esp, 0xc
jmp 0x48fa8b
push str.BROWSER_PATH_PROJECTS
call fcn.0046ccd0
mov ebp, eax
push 0x104
lea eax, [esp + 0x1c]
push ebp
push eax
call fcn.0049f415
push ebp
call fcn.0049081d
add esp, 0x10
push 1
lea ecx, [esp + 0x1c]
push 0x4c395c
push ecx
call fcn.0049f45f
push 0x40
lea edx, [esp + 0x28]
push esi
push edx
call fcn.0049f45f
push 4
lea eax, [esp + 0x34]
push str..job_
push eax
call fcn.0049f45f
add esp, 0x24
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop ebp
cmp eax, 0xffffffff
jne 0x48fb20
push 0x4d2c18
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
call fcn.004a0bdb
add esp, 0xc
test eax, eax
jne 0x48fb20
mov ecx, dword [esp + 8]
mov edx, dword [ebx + 4]
push ecx
push 1
sub edx, 0x288
push edx
add esi, 0x288
push esi
call fcn.004a0e3f
mov eax, dword [esp + 0x18]
push eax
call fcn.004a0fe3
add esp, 0x14
mov byte [edi], 1
jmp 0x48fb23
mov byte [edi], 0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push edi
push ecx
push edx
mov edx, 1
mov al, 0x6f
call fcn.0048fcb0
push edi
mov esi, eax
call fcn.0049081d
mov ecx, dword [esp + 0x220]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0049dc2a
add esp, 0x218
ret 4
Function at 0x48fb60
Capabilities:
Delete file

Disassembly:
sub esp, 0x210
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push 1
mov edi, ecx
call fcn.004907ee
lea ecx, [edi + 0x80]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x48fbc8
mov eax, ecx
lea edx, [eax + 2]
mov dword [esp + 0xc], edx
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x48fba0
sub eax, dword [esp + 0xc]
sar eax, 1
je 0x48fbc8
push 0x104
push ecx
lea eax, [esp + 0x18]
push eax
call fcn.0049f415
add esp, 0xc
jmp 0x48fbf3
push str.BROWSER_PATH_PROJECTS
call fcn.0046ccd0
push 0x104
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x18], eax
call fcn.0049f415
mov edx, dword [esp + 0x18]
push edx
call fcn.0049081d
add esp, 0x10
push 1
lea eax, [esp + 0x14]
push 0x4c395c
push eax
call fcn.0049f45f
push 0x40
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.0049f45f
push 4
lea edx, [esp + 0x2c]
push str..job_
push edx
call fcn.0049f45f
add esp, 0x24
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
test eax, eax
push ebp
setne cl
push ebx
mov edx, 1
mov al, 0x70
mov byte [esi], cl
call fcn.0048fcb0
push esi
mov edi, eax
call fcn.0049081d
mov ecx, dword [esp + 0x21c]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0049dc2a
add esp, 0x210
ret 4

Function at 0x48fcb0
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
xor esi, esi
mov byte [esp + 0x10], al
mov byte [esp + 0x11], 0
mov word [esp + 0x12], cx
mov dword [esp + 0x14], edx
call edi
mov ecx, dword [ebp + 0x14]
push esi
mov dword [esp + 0x24], eax
push 8
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x48fd3f
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebx, eax
mov esi, 1
test eax, eax
jle 0x48fd39
test esi, esi
je 0x48fd39
cmp ebx, 0x1000
mov eax, 0x1000
jg 0x48fd1a
mov eax, ebx
mov edx, dword [ebp + 0x14]
push 0
push eax
push edi
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x48fd31
xor esi, esi
jmp 0x48fd35
sub ebx, eax
add edi, eax
test ebx, ebx
jg 0x48fd07
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esp + 0x20]
push eax
push str.Took__d__r_n
call fcn.00477b80
add esp, 8
test esi, esi
je 0x48fd63
call edi
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x218], eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x48fd70
Capabilities:
Create thread

Disassembly:
push ebp
xor ebp, ebp
push edi
mov dword [esi + 0x210], 1
cmp dword [esi + 4], ebp
jbe 0x48fd99
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 0x32
call edi
cmp dword [esi + 4], ebp
ja 0x48fd90
mov dword [esi + 0x210], ebp
call fcn.004904b0
test eax, eax
jbe 0x48fdf6
push ebx
lea ebx, [esi + 0x190]
lea edi, [esi + 0xc]
xor eax, eax
push eax
push eax
push ebx
push 0x488cf0
mov dword [ebx], esi
mov dword [ebx + 4], ebp
push eax
mov dword [edi + 0x228], eax
mov dword [edi], eax
mov dword [edi + 0x40], eax
push eax
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x48fde2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [esi + 4]
inc ebp
add edi, 4
add ebx, 8
call fcn.004904b0
cmp ebp, eax
jb 0x48fdb2
pop ebx
pop edi
pop ebp
ret

Function at 0x48fe00
Capabilities:
Create thread

Disassembly:
push ebp
xor ebp, ebp
mov dword [0x4ee740], ebp
mov dword [edi + 0x24c], ebp
mov dword [edi + 0x29c], ebp
call fcn.004904b0
test eax, eax
jbe 0x48fe80
push ebx
push esi
lea ebx, [edi + 0x1c8]
lea esi, [edi + 0x184]
lea esp, [esp]
xor eax, eax
push eax
push eax
push ebx
push 0x48fec0
mov dword [ebx], edi
mov dword [ebx + 4], ebp
push eax
push eax
mov dword [esi - 0x184], eax
mov dword [esi - 0x144], eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xd8], eax
test eax, eax
je 0x48fe66
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [edi + 0x29c]
inc ebp
add ebx, 8
add esi, 4
call fcn.004904b0
cmp ebp, eax
jb 0x48fe30
pop esi
xor ebp, ebp
pop ebx
push ebp
push ebp
push edi
push 0x4902a0
push ebp
push ebp
mov dword [edi + 0x180], 0xffffffff
mov dword [edi + 0x1c4], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2a0], eax
mov dword [edi + 0x248], ebp
mov dword [edi + 0x24c], ebp
mov eax, edi
pop ebp
ret
Function at 0x4903a0
Capabilities:
Get local ipv4 addresses

Disassembly:
sub esp, 0x20
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
lea eax, [esp + 0x14]
push eax
push ebp
push ebp
push 6
push ebp
mov esi, ecx
mov dword [esp + 0x24], ebp
xor edi, edi
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0049f632
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x4903f3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0049dc2a
add esp, 0x20
ret
lea edx, [esp + 0x14]
push edx
push ebx
push ebp
push 6
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x4903de
lea eax, [esp + 0x10]
push eax
push 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x49042a
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0049f632
mov edi, eax
add esp, 4
test edi, edi
je 0x4903de
lea edx, [esp + 0x10]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4903de
mov eax, edi
test esi, esi
je 0x49044b
nop
mov eax, dword [eax]
dec esi
test eax, eax
je 0x490484
test esi, esi
jne 0x490440
test eax, eax
je 0x490484
mov ecx, dword [eax + 0x1b0]
mov edx, dword [eax + 0x1b4]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x1b8]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x1bc]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebp, eax
push edi
call fcn.0049e328
push ebx
call fcn.0049e328
mov ecx, dword [esp + 0x34]
add esp, 8
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0049dc2a
add esp, 0x20
ret

Function at 0x4904b0
Capabilities:
Get local ipv4 addresses

Disassembly:
sub esp, 8
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
xor edi, edi
push edi
push edi
push 6
push edi
mov dword [esp + 0x20], 0
xor esi, esi
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0049f632
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4904ed
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
lea edx, [esp + 0x10]
push edx
push ebx
push 0
push 6
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x4904e4
lea eax, [esp + 0xc]
push eax
push 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x490526
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0049f632
mov esi, eax
add esp, 4
test esi, esi
je 0x4904e4
lea edx, [esp + 0xc]
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4904e4
mov eax, esi
test esi, esi
je 0x490547
jmp 0x490540
mov eax, dword [eax]
inc edi
test eax, eax
jne 0x490540
push esi
call fcn.0049e328
push ebx
call fcn.0049e328
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x49341b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x49343f
cmp dword [edi + 0x54], 0
jne 0x49343f
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0049a506
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004933dc
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x498982
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4989c9
call fcn.0049a506
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4989c9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4989e5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004984fa
mov esi, eax
test edi, edi
je 0x4989e3
test ebx, ebx
je 0x4989e3
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x49dc2a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e3f80]
jne 0x49dc34
repz ret
jmp fcn.004a22ff
Function at 0x4aef98
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004a32ef
and dword [ebp - 4], 0
cmp dword [0x4e8c60], 0
mov ebx, eax
jne 0x4af049
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4af0fa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4af0fa
push eax
call fcn.004a327d
mov dword [esp], 0x4c330c
push edi
mov dword [0x4e8c60], eax
call esi
push eax
call fcn.004a327d
mov dword [esp], 0x4c32f8
push edi
mov dword [0x4e8c64], eax
call esi
push eax
call fcn.004a327d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4e8c68], eax
call esi
push eax
call fcn.004a327d
pop ecx
mov dword [0x4e8c70], eax
test eax, eax
je 0x4af049
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a327d
pop ecx
mov dword [0x4e8c6c], eax
mov eax, dword [0x4e8c6c]
cmp eax, ebx
je 0x4af0a1
cmp dword [0x4e8c70], ebx
je 0x4af0a1
push eax
call fcn.004a32f8
push dword [0x4e8c70]
mov esi, eax
call fcn.004a32f8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4af0a1
test edi, edi
je 0x4af0a1
call esi
test eax, eax
je 0x4af098
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4af098
test byte [ebp - 0xc], 1
jne 0x4af0a1
or dword [ebp + 0x10], 0x200000
jmp 0x4af0da
mov eax, dword [0x4e8c64]
cmp eax, ebx
je 0x4af0da
push eax
call fcn.004a32f8
pop ecx
test eax, eax
je 0x4af0da
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4af0da
mov eax, dword [0x4e8c68]
cmp eax, ebx
je 0x4af0da
push eax
call fcn.004a32f8
pop ecx
test eax, eax
je 0x4af0da
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e8c60]
call fcn.004a32f8
pop ecx
test eax, eax
je 0x4af0fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4af0fc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret