joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x4da4214b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x309c3929
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x438860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
or ebp, 0xffffffff
jmp 0x438882
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x438889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x438878
mov eax, 1
add ebx, ebx
jne 0x43889b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x438890
jne 0x4388ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x438890
xor ecx, ecx
sub eax, 3
jb 0x4388c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x438932
mov ebp, eax
add ebx, ebx
jne 0x4388cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4388d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4388fc
inc ecx
add ebx, ebx
jne 0x4388e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4388dd
jne 0x4388f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4388dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43891c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43890d
jmp 0x43887e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43891c
add edi, ecx
jmp 0x43887e
pop esi
mov edi, esi
mov ecx, 0xe0e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43893a
cmp byte [edi], 0xa
jne 0x43893a
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 eax, ebx
loop 0x43893f
lea edi, [esi + 0x36000]
mov eax, dword [edi]
or eax, eax
je 0x4389b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3820c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x382ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43896c
mov ecx, edi
jns 0x43899b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x382b0]
or eax, eax
je 0x4389b1
mov dword [ebx], eax
add ebx, 4
jmp 0x438989
call dword [esi + 0x382b4]
popal
jmp 0x41be59
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
mov ecx, 0x64714e2c
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x1a236982
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x40193e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040d0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401951
push esp
mov dword [ebp - 0x24], 0x4016b5
mov eax, dword [0x4040d0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040d0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040d8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019f0
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019d1
pop ebp
ret 0x10
Function at 0x402310
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x435658
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x443284]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.00401a50
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x402364
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00401cb0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00401a50
cmp dword [esp + 0x24], 8
jb 0x4023aa
mov eax, dword [esp + 0x10]
push eax
call fcn.0041f829
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x404130
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push ebp
mov dword [esi + 0x14], eax
push edi
mov edi, dword [0x444c9c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push 0x4452
mov dword [esi + 0x20], eax
call sub.WS2_32.dll_htons
mov ecx, dword [esi + 0x24]
mov word [ecx], ax
mov edx, dword [esi + 0x24]
mov byte [edx + 2], 0x43
mov eax, dword [esi + 0x24]
push edi
mov byte [eax + 3], 1
call sub.WS2_32.dll_htonl
mov ecx, dword [esi + 0x24]
mov dword [ecx + 4], eax
cmp dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x10]
jae 0x40418d
lea eax, [esp + 0x10]
mov edx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esi + 0x24]
add eax, 8
push eax
call fcn.00423740
mov ecx, dword [esp + 0x34]
add esp, 0xc
push ecx
call sub.WS2_32.dll_htons
mov edx, dword [esi + 0x24]
mov word [edx + 0x18], ax
mov eax, dword [esp + 0x2c]
push eax
call sub.WS2_32.dll_htons
mov ecx, dword [esi + 0x24]
mov word [ecx + 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
push ebp
call sub.WS2_32.dll_htonl
mov edx, dword [esi + 0x24]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x30]
push eax
call sub.WS2_32.dll_htons
mov ecx, dword [esi + 0x24]
mov word [ecx + 0x20], ax
mov edx, dword [esi + 0x24]
mov word [edx + 0x22], 0
xor eax, eax
mov edi, esi
mov ecx, 0x24
push ebx
lea esp, [esp]
movzx ebx, byte [edi]
movzx edx, ax
shr edx, 8
xor edx, ebx
xor ebx, ebx
mov bh, al
sub ecx, 1
add edi, 1
xor bx, word [edx*2 + 0x444678]
test ecx, ecx
movzx eax, bx
jne 0x404200
push eax
call sub.WS2_32.dll_htons
mov ecx, dword [esi + 0x24]
mov word [ecx + 0x22], ax
cmp dword [esp + 0x28], 0x10
pop ebx
jb 0x404246
mov edx, dword [esp + 0x10]
push edx
call fcn.0041f829
add esp, 4
pop edi
mov eax, ebp
pop ebp
ret 0x28
Function at 0x404cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x436208
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x443284]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebp
push esi
push edi
mov eax, dword [0x443284]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb4]
lea esi, [esp + 0x6c]
mov edi, ecx
call fcn.004149c0
mov dword [esp + 0xac], 0
mov eax, dword [esp + 0x8c]
cmp eax, 0xffffffff
mov dword [esp + 0x70], 1
je 0x404d6d
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esp + 0x8c], 0xffffffff
push 0
push 0x7b
push edi
lea ecx, [esp + 0x78]
call fcn.00414ca0
test eax, eax
je 0x404e34
lea esi, [esp + 0x6c]
call fcn.00404b20
test al, al
je 0x404e34
push 0xbb8
push 0x30
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.00414e40
cmp eax, 0x30
jne 0x404e34
lea esi, [esp + 0x10]
call fcn.00404bd0
lea edi, [esp + 0x10]
lea esi, [esp + 0x3c]
call fcn.00404c10
mov eax, dword [esp + 0x10]
cdq
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edx
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x18], eax
call fcn.004208c6
movzx edx, word [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add eax, 0x76c
add ecx, 1
mov word [ebp + 6], dx
movzx edx, word [esp + 0x20]
mov word [ebp], ax
mov ax, word [esp + 0x28]
mov word [ebp + 2], cx
mov cx, word [esp + 0x24]
add esp, 8
lea esi, [esp + 0x6c]
mov word [ebp + 8], ax
mov word [ebp + 0xa], cx
mov word [ebp + 0xc], dx
mov word [ebp + 0xe], 0
call fcn.00414a70
mov al, 1
jmp 0x404e91
mov eax, dword [esp + 0x8c]
cmp eax, 0xffffffff
mov dword [esp + 0x6c], vtable.UDPNetWork.0
mov dword [esp + 0x70], 1
je 0x404e62
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esp + 0x8c], 0xffffffff
mov eax, dword [esp + 0x94]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x404e81
push eax
call esi
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x98]
test eax, eax
je 0x404e8f
push eax
call esi
xor al, al
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0041f134
add esp, 0xa0
ret 4
Function at 0x405310
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x436eb5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x443284]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.UpdateCtrl.0
call fcn.00403690
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [edi + 0x1d4], ebx
mov dword [edi + 0x1d8], ebx
mov dword [edi + 0x1dc], ebx
mov dword [edi + 0x1e0], ebx
lea esi, [edi + 0x1ec]
mov eax, 7
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
lea ebp, [edi + 0x208]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], bx
lea ecx, [edi + 0x228]
push ecx
mov byte [esp + 0x24], 3
call fcn.00403b00
lea edx, [edi + 0x258]
push edx
mov byte [esp + 0x24], 4
call fcn.00403b00
push ebx
push 0x439e24
mov byte [esp + 0x28], 5
call fcn.00401d80
push ebx
push 0x439e24
mov esi, ebp
call fcn.00401d80
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
mov dword [edi + 0x1e4], eax
call esi
mov dword [edi + 0x1e8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x224], eax
lea eax, [esp + 0x14]
push eax
push ebx
push edi
push 0x40f6c0
push ebx
push ebx
mov dword [edi + 0x288], ebx
mov dword [edi + 0x28c], ebx
mov dword [edi + 0x290], ebx
mov dword [edi + 0x298], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x294], eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x40b820
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 0xffffffffffffffff
push 0x435081
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x443284]
xor eax, esp
mov dword [esp + 0x28], eax
push ebp
push edi
mov eax, dword [0x443284]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x40], 1
push edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], edi
push 0x43a36a
mov ecx, esi
mov byte [esi + 4], 0
call fcn.00401b50
mov ebp, dword [esp + 0x4c]
xor eax, eax
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0xc], 1
mov byte [esp + 0x14], 0
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov word [esp + 0x31], ax
mov byte [esp + 0x33], al
jae 0x40b8c0
lea ebp, [esp + 0x4c]
mov edi, dword [esp + 0x5c]
or eax, 0xffffffff
xor ecx, ecx
test edi, edi
jle 0x40b8ed
lea ecx, [ecx]
movzx edx, byte [ecx + ebp]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x444878]
add ecx, 1
cmp ecx, edi
jl 0x40b8d0
not eax
push eax
push 0x43afe0
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.0041f9fa
lea eax, [esp + 0x24]
add esp, 0x10
lea edx, [eax + 1]
jmp 0x40b910
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b910
sub eax, edx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00401b50
cmp dword [esp + 0x60], 0x10
jb 0x40b93c
mov edx, dword [esp + 0x4c]
push edx
call fcn.0041f829
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0041f134
add esp, 0x38
ret 0x1c
Function at 0x411b50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4352d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x443284]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [0x445b58]
push 0xffffffffffffffff
xor edi, edi
push ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x28], edi
cmp dword [0x445bac], edi
jbe 0x411c0e
mov eax, dword [0x445ba8]
mov esi, dword [eax]
cmp esi, eax
jne 0x411bb7
call fcn.0041fb40
mov eax, dword [0x445ba8]
mov ebx, dword [esi + 8]
mov esi, dword [eax]
cmp esi, eax
jne 0x411bce
call fcn.0041fb40
mov eax, dword [0x445ba8]
cmp esi, eax
je 0x411bed
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
push esi
mov dword [edx + 4], eax
call fcn.0041f829
add esp, 4
sub dword [0x445bac], 1
cmp ebp, edi
je 0x411bf8
push ebp
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x14
call fcn.0041f09a
add esp, 4
cmp eax, edi
je 0x411c32
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0x2800
mov esi, eax
jmp 0x411c34
xor esi, esi
cmp esi, edi
mov ebx, esi
je 0x411ca7
mov ecx, dword [esi + 0x10]
push ecx
mov dword [esi], 1
call fcn.0041ee32
add esp, 4
cmp eax, edi
mov dword [esi + 8], eax
je 0x411c72
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x411bed
mov edx, dword [esi + 8]
push edx
call fcn.004200a0
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi + 8]
cmp eax, edi
je 0x411c85
push eax
call fcn.004200a0
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi + 4]
cmp eax, edi
je 0x411c93
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0041f829
add esp, 4
lea esi, [esp + 0x14]
call fcn.00412d80
jmp 0x411cb2
cmp ebp, edi
je 0x411cb2
push ebp
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412cb0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
push esi
mov esi, edx
je 0x412ce6
push ebx
push edi
jmp 0x412cc0
movzx edi, byte [esi]
xor ebx, ebx
movzx edx, ax
mov bh, al
shr edx, 8
xor edx, edi
sub ecx, 1
add esi, 1
xor bx, word [edx*2 + 0x444678]
test ecx, ecx
movzx eax, bx
jne 0x412cc0
pop edi
pop ebx
pop esi
ret
Function at 0x412cf0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push edi
mov edi, dword [esi]
mov dword [esp + 0x18], edi
mov edi, dword [esi + 4]
mov dword [esp + 0x14], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0xc], esi
mov edx, 0xc6ef3720
mov dword [esp + 0x10], edi
mov esi, 0x20
mov edi, ecx
sar edi, 5
add edi, dword [esp + 0xc]
mov ebx, ecx
shl ebx, 4
add ebx, dword [esp + 0x10]
sub esi, 1
xor edi, ebx
lea ebx, [edx + ecx]
xor edi, ebx
sub eax, edi
mov edi, eax
sar edi, 5
add edi, dword [esp + 0x14]
mov ebx, eax
shl ebx, 4
add ebx, dword [esp + 0x18]
xor edi, ebx
lea ebx, [edx + eax]
xor edi, ebx
sub ecx, edi
add edx, 0x61c88647
test esi, esi
jg 0x412d26
mov edx, dword [esp + 0x20]
pop edi
pop esi
mov dword [edx], ecx
mov dword [edx + 4], eax
pop ebx
add esp, 0x10
ret

Function at 0x412dc0
Capabilities:
Get file size
Parse pe header

Disassembly:
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
push ebx
mov bl, 1
jae 0x412dd2
lea eax, [esp + 0xc]
push esi
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x412e52
push ebp
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push eax
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
cmp edi, 0xffffffff
je 0x412e4d
push 0
push 0
push 0
push 2
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x412e4a
cmp word [eax], 0x5a4d
jne 0x412e41
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x412e43
xor bl, bl
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call ebp
push esi
call ebp
pop edi
pop ebp
cmp dword [esp + 0x24], 8
pop esi
jb 0x412e67
mov edx, dword [esp + 0xc]
push edx
call fcn.0041f829
add esp, 4
mov al, bl
pop ebx
ret

Function at 0x412e70
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
mov edi, 8
cmp dword [esp + 0x24], edi
mov esi, ecx
jae 0x412e87
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
and ecx, esi
cmp dword [esp + 0x28], 0
je 0x412ed1
cmp ecx, esi
jne 0x412ee8
cmp dword [esp + 0x24], edi
mov ecx, dword [esp + 0x10]
jae 0x412eab
lea ecx, [esp + 0x10]
not esi
and esi, eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x24], edi
mov esi, eax
jb 0x412ecc
mov edx, dword [esp + 0x10]
push edx
call fcn.0041f829
add esp, 4
pop edi
mov eax, esi
pop esi
ret
cmp ecx, esi
je 0x412ee8
cmp dword [esp + 0x24], edi
mov ecx, dword [esp + 0x10]
jae 0x412ee3
lea ecx, [esp + 0x10]
or eax, esi
push eax
jmp 0x412eb0
cmp dword [esp + 0x24], edi
jb 0x412efb
mov eax, dword [esp + 0x10]
push eax
call fcn.0041f829
add esp, 4
jmp section..ropf
Function at 0x413850
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x78
mov eax, dword [0x443284]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
push esi
xor ecx, ecx
push eax
mov eax, dword [esp + 0x88]
lea esi, [esp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00413640
add esp, 4
mov eax, esi
call fcn.00413740
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [edi], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x74]
pop esi
mov dword [edi + 8], edx
xor ecx, esp
mov dword [edi + 0xc], eax
call fcn.0041f134
add esp, 0x78
ret

Function at 0x4138e0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x88
mov eax, dword [0x443284]
xor eax, esp
mov dword [esp + 0x80], eax
push ebp
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x413930
sub eax, esi
push ecx
lea esi, [esp + 0x14]
call fcn.00413640
mov eax, esi
call fcn.00413740
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x78]
push 0x21
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
call fcn.0041ee32
add esp, 8
mov ebp, eax
xor esi, esi
jmp 0x413990
movzx ecx, byte [esp + edi + 0x7c]
push ecx
mov edx, 0x21
push str._02x
sub edx, esi
push edx
lea eax, [esi + ebp]
push eax
call fcn.0041f9fa
add esi, 2
add esp, 0x10
add edi, 1
cmp esi, 0x20
jl 0x413990
mov eax, ebp
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], 0
mov byte [ebx + 4], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4139d1
sub eax, edx
push eax
push ebp
mov ecx, ebx
call fcn.00401b50
push ebp
call fcn.004200a0
mov ecx, dword [esp + 0x90]
add esp, 4
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, ebx
call fcn.0041f134
add esp, 0x88
ret
Function at 0x413a10
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x443284]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push edi
mov dword [esi], vtable.TCPNetWork.0
call fcn.004148c0
mov dword [esi + 0x60], eax
xor edi, edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x18], 0xe10
mov dword [esi + 0xc], edi
mov dword [esi + 4], edi
mov dword [esi + 8], 1
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov ecx, dword [esi + 0x60]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x60]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 0x60]
mov dword [esi + 0x64], edi
je 0x413a82
mov edi, edi
mov ebx, dword [eax]
push eax
call fcn.0041f829
add esp, 4
cmp ebx, dword [esi + 0x60]
mov eax, ebx
jne 0x413a70
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push edi
push edi
push edi
call ebx
push edi
push edi
push edi
mov dword [esi + 0x50], eax
call ebx
push edi
push edi
push edi
mov dword [esi + 0x54], eax
call ebx
mov dword [esi + 0x58], eax
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x413abf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0xc], eax
jmp 0x413b04
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
push edi
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x2c], eax
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x30], eax
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x34], eax
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x38], eax
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x3c], eax
call ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov ecx, dword [esp + 0x19c]
pop edi
pop ebx
xor ecx, esp
mov eax, esi
call fcn.0041f134
add esp, 0x19c
ret