joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443c30
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
movzx eax, word [eax]
mov dword [esp], 0x8f8e27d5
mov word [esp + 4], 0
mov ecx, 0xfb301822
mov edx, 0xfe7dd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x4cfe7de]
mov edi, edx
and edi, 0x8008a
mov ebp, ecx
and ebp, 0x9a101825
or ebp, edi
xor ebp, esi
mov ebx, ebp
and ebx, 0x55
add ebx, ebx
xor ebp, 0x20
sub ebx, ebp
mov byte [esp + ecx + 0x4cfe7de], bl
inc ecx
dec edx
cmp ecx, 0xfb301828
jne 0x443c60
xor ecx, ecx
cmp dword [esp], eax
setne cl
xor eax, eax
mov ebx, dword [esp + 0x3c]
jmp dword [ecx*4 + 0x45160c]
Function at 0x444210
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov ecx, ebx
add ecx, ebp
adc edx, 0
xor eax, eax
mov esi, 0xfffffffe
cmp esi, ecx
mov ecx, 0
sbb ecx, edx
mov esi, dword [esp + 0x2c]
jb 0x444282
mov ecx, ebx
shr ecx, 2
mov edx, ebp
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebx
and edx, 0xfffffffc
add esi, edx
add edx, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov ebp, edx
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test bl, 1
je 0x444451
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [esi + ebx], cl
jmp 0x444451
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
mov eax, 0xe2263838
mov ecx, 0xc7
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x1dd9c7c8]
lea edi, [edx + edx]
not edi
add edi, edx
and edi, eax
and edx, ecx
or edx, edi
mov edi, edx
and edi, 0xe5
mov esi, edx
and esi, 2
mov ebp, esi
xor ebp, 2
imul ebp, edi
or edi, 2
imul edi, esi
xor edx, 0xe7
add edx, ebp
add edx, edi
inc dl
mov byte [esp + eax + 0x1dd9c7c8], dl
inc eax
dec ecx
cmp eax, 0xe226383e
jne 0x4442a0
mov eax, dword [esp]
mov ecx, dword [0x453040]
test ecx, ecx
je 0x444320
xor edx, edx
mov edi, dword [0x453044]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x7789b0cb
je 0x44432a
inc edx
cmp ecx, edx
jne 0x444310
jmp 0x444354
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
jmp 0x444354
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x444354
lea eax, [esp + 8]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x453048]
push ecx
call fcn.00443090
add esp, 0x28
test eax, eax
mov edi, dword [esp + 0x28]
js 0x444451
push 0x1e03da9a
push dword [0x45b054]
call fcn.004457f0
add esp, 8
push 0
push 0
push ebx
push esi
push edi
push ebp
push dword [esp + 0x20]
call eax
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
mov edx, 0xe2263838
mov esi, 0xc7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx + 0x1dd9c7c8]
lea edi, [ebx + ebx]
not edi
add edi, ebx
and edi, edx
and ebx, esi
or ebx, edi
mov edi, ebx
and edi, 0xe5
mov ecx, ebx
and ecx, 2
mov ebp, ecx
xor ebp, 2
imul ebp, edi
or edi, 2
imul edi, ecx
xor ebx, 0xe7
add ebx, ebp
add ebx, edi
inc bl
mov byte [esp + edx + 0x1dd9c7c8], bl
inc edx
dec esi
cmp edx, 0xe226383e
jne 0x4443b0
mov edx, dword [0x453040]
test edx, edx
je 0x444451
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x453044]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x7e776f1
je 0x444430
inc edi
cmp edx, edi
jne 0x444420
jmp 0x444451
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x444451
push dword [esp + 0xc]
push 1
push dword [0x453048]
push edx
mov esi, eax
call fcn.00443090
mov eax, esi
add esp, 0x10
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4452a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp + 4], 0xfffef928
mov word [esp + 8], 0
mov eax, 0xac66592a
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x5399a6da]
xor ecx, eax
mov edx, ecx
and edx, 0x2d
xor ecx, 0x2d
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax + 0x5399a6da], cl
inc eax
cmp eax, 0xac665930
jne 0x4452c0
mov eax, dword [esp + 4]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [esp + 0x28], 0
sete cl
jmp dword [ecx*4 + 0x451a84]

Function at 0x445700
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [esp + 0x18]
mov dword [esp], 0xd1cecf3c
mov byte [esp + 4], 0
mov esi, 0x1729e6ad
mov edx, 0x68d61952
movzx ebx, byte [esp + esi - 0x1729e6ad]
mov eax, esi
xor eax, ebx
mov edi, ebx
and edi, esi
or eax, edx
not eax
or eax, edi
add al, al
sub bl, al
movzx eax, bl
add eax, esi
add al, 0x9f
mov byte [esp + esi - 0x1729e6ad], al
inc esi
dec edx
cmp esi, 0x1729e6b2
jne 0x445720
mov eax, dword [esp]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x451b44]

Function at 0x4457f0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
movzx eax, word [eax]
mov dword [esp], 0x1312bb45
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov ecx, 0x736937bc
mov edx, 0x16c843
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx - 0x736937bc]
mov edi, edx
and edi, 0x164842
mov ebx, ecx
and ebx, 0x5360033d
or ebx, edi
xor ebx, esi
mov edi, ebx
xor edi, 0x201f7cc2
mov esi, edi
and esi, 0x51
mov ebp, ebx
and ebp, 2
imul ebp, esi
and edi, 2
or esi, 2
imul esi, edi
xor ebx, 0x91
add ebx, ebp
add ebx, esi
inc bl
mov byte [esp + ecx - 0x736937bc], bl
inc ecx
dec edx
cmp ecx, 0x736937c3
jne 0x445820
xor ecx, ecx
cmp dword [esp], eax
setne cl
xor esi, esi
jmp dword [ecx*4 + 0x451b94]
Function at 0x446250
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x3c]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x446270
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x44628b
mov eax, 0xffffffff
jmp 0x44628e
add eax, 0xa
push eax
call fcn.0040c710
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx ebp, word [ebx]
test bp, bp
je 0x4462d1
add ebx, 2
nop
nop
nop
mov word [edx], bp
add edx, 2
movzx ebp, word [ebx]
add ebx, 2
test bp, bp
jne 0x4462c0
mov word [edx], 0
mov edx, ecx
and edx, 0xfffd
and esi, 2
mov ebx, esi
xor ebx, 2
imul ebx, edx
or ecx, 2
imul ecx, esi
lea edx, [ecx + ebx]
mov word [esp + 8], dx
add ecx, ebx
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0x38
xor dl, byte [esp + ecx]
add dl, 0xe8
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 6
jne 0x446350
mov esi, dword [esp]
mov ecx, dword [0x453040]
test ecx, ecx
je 0x4463c4
xor edx, edx
mov ebx, dword [0x453044]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x266686e9
je 0x446390
inc edx
cmp ecx, edx
jne 0x446380
jmp 0x4463c4
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x4463c4
mov edx, esp
lea esi, [esp + 0x10]
push edi
push dword [esp + 0x4c]
push edx
push esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push 6
push dword [0x453048]
push ecx
mov edi, eax
call fcn.00443090
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.0040c720
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4463e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x446400
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x44641b
mov eax, 0xffffffff
jmp 0x44641e
add eax, 0xa
push eax
call fcn.0040c710
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [esi]
test dx, dx
je 0x446461
add esi, 2
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x446450
mov word [ecx], 0
lea ecx, [ebx*2 + 8]
mov word [esp], cx
lea ecx, [ebx*2 + 0xa]
mov word [esp + 2], cx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x40
mov ecx, esp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x2c2d2e2f
mov word [esp + 0x24], 0
xor ecx, ecx
mov edx, ecx
add dl, 0x38
xor dl, byte [esp + ecx + 0x20]
add dl, 0xe8
mov byte [esp + ecx + 0x20], dl
inc ecx
cmp ecx, 6
jne 0x4464c0
mov esi, dword [esp + 0x20]
mov ecx, dword [0x453040]
test ecx, ecx
je 0x446529
xor edx, edx
mov ebx, dword [0x453044]
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x87573896
je 0x446500
inc edx
cmp ecx, edx
jne 0x4464f0
jmp 0x446529
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x446529
lea edx, [esp + 0x20]
lea esi, [esp + 8]
push edx
push esi
push 2
push dword [0x453048]
push ecx
mov ebx, eax
call fcn.00443090
add esp, 0x14
mov esi, eax
mov eax, ebx
push eax
call fcn.0040c720
add esp, 4
test edi, edi
je 0x44653c
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x446550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x38
xor cl, byte [esp + eax]
add cl, 0xe8
mov byte [esp + eax], cl
inc eax
cmp eax, 6
jne 0x446580
mov eax, dword [esp]
mov edx, dword [0x453040]
test edx, edx
je 0x4465e8
xor ebx, ebx
mov ecx, dword [0x453044]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0xa70a987f
je 0x4465c0
inc ebx
cmp edx, ebx
jne 0x4465b0
jmp 0x4465e8
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x4465e8
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 5
push dword [0x453048]
push edx
call fcn.00443090
add esp, 0x20
test edi, edi
je 0x4465f2
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x4465fe
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x446610
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x38
xor bl, byte [esp + eax]
add bl, 0xe8
mov byte [esp + eax], bl
inc eax
cmp eax, 6
jne 0x446640
mov eax, dword [esp]
mov ebx, dword [0x453040]
test ebx, ebx
je 0x4466ae
xor ebp, ebp
mov edi, dword [0x453044]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xd41f89d1
je 0x446680
inc ebp
cmp ebx, ebp
jne 0x446670
jmp 0x4466ae
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x4466ae
lea eax, [esp + 8]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 9
push dword [0x453048]
push ebx
call fcn.00443090
add esp, 0x30
cmp eax, 0x103
jne 0x446739
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x38
xor cl, byte [esp + eax]
add cl, 0xe8
mov byte [esp + eax], cl
inc eax
cmp eax, 6
jne 0x4466d0
mov eax, dword [esp]
mov ecx, dword [0x453040]
test ecx, ecx
je 0x446731
xor edx, edx
mov edi, dword [0x453044]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x53f09cfa
je 0x446710
inc edx
cmp ecx, edx
jne 0x446700
jmp 0x446731
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x446731
push 0
push 0
push dword [esp + 0x2c]
push 3
push dword [0x453048]
push ecx
call fcn.00443090
add esp, 0x18
test eax, eax
js 0x446739
mov eax, dword [esp + 8]
test esi, esi
je 0x44674c
xor ecx, ecx
cmp eax, 0xc0000011
je 0x44674a
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4468a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
xor ebx, ebx
nop
nop
nop
cmp word [edi + ebx], 0
lea ebx, [ebx + 2]
jne 0x4468c0
add ebx, 0xfffffffe
and ebx, 0xfffe
mov word [esp + 8], bx
add ebx, 2
mov word [esp + 0xa], bx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
lea eax, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x2c2d2e2f
mov word [esp + 4], 0
xor eax, eax
mov ebx, eax
add bl, 0x38
xor bl, byte [esp + eax]
add bl, 0xe8
mov byte [esp + eax], bl
inc eax
cmp eax, 6
jne 0x446920
mov eax, dword [esp]
mov edi, dword [0x453040]
test edi, edi
je 0x446982
xor ebx, ebx
mov ebp, dword [0x453044]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x9ecf05eb
je 0x446961
inc ebx
cmp edi, ebx
jne 0x446950
jmp 0x446982
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x446982
lea eax, [esp + 0x10]
push esi
push eax
push edx
push ecx
push 4
push dword [0x453048]
push edi
call fcn.00443090
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4014f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.004014b0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401523
xor al, al
jmp 0x40166e
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401541
xor al, al
jmp 0x40166e
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401566
xor al, al
jmp 0x40166e
mov ecx, dword [ebp - 4]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 0
je 0x40166c
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x401655
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004039f0
add esp, 0xc
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x401648
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.004012d0
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0
je 0x401648
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 4]
call fcn.004011b0
test eax, eax
jne 0x40160f
mov al, 1
jmp 0x40166e
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x401637
push 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x24], eax
jmp 0x40163e
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], 0
xor al, al
mov esp, ebp
pop ebp
ret 0xc

Function at 0x402ab3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x451424]
jne 0x402abd
repz ret
jmp fcn.004060b2
Function at 0x403298
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4032c9
call fcn.0040467a
mov dword [eax], esi
call fcn.00404667
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00404925
add esp, 0x14
push 0x16
pop eax
jmp 0x40331e
test dword [ebp + 0xc], 0xfffffff9
jne 0x4032a5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4032f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040468d
pop ecx
call fcn.00404667
mov eax, dword [eax]
jmp 0x40331e
test al, 0x10
jne 0x40331c
test al, 1
je 0x40331c
test byte [ebp + 0xc], 2
je 0x40331c
call fcn.0040467a
mov dword [eax], 5
call fcn.00404667
mov dword [eax], 0xd
jmp 0x4032ed
xor eax, eax
pop esi
pop ebp
ret

Function at 0x40e06c
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.004085cb
and dword [ebp - 4], 0
cmp dword [0x456e08], 0
mov ebx, eax
jne 0x40e11d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e1ce
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40e1ce
push eax
call fcn.00408559
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x456e08], eax
call esi
push eax
call fcn.00408559
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x456e0c], eax
call esi
push eax
call fcn.00408559
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x456e10], eax
call esi
push eax
call fcn.00408559
pop ecx
mov dword [0x456e18], eax
test eax, eax
je 0x40e11d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00408559
pop ecx
mov dword [0x456e14], eax
mov eax, dword [0x456e14]
cmp eax, ebx
je 0x40e175
cmp dword [0x456e18], ebx
je 0x40e175
push eax
call fcn.004085d4
push dword [0x456e18]
mov esi, eax
call fcn.004085d4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e175
test edi, edi
je 0x40e175
call esi
test eax, eax
je 0x40e16c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e16c
test byte [ebp - 0xc], 1
jne 0x40e175
or dword [ebp + 0x10], 0x200000
jmp 0x40e1ae
mov eax, dword [0x456e0c]
cmp eax, ebx
je 0x40e1ae
push eax
call fcn.004085d4
pop ecx
test eax, eax
je 0x40e1ae
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e1ae
mov eax, dword [0x456e10]
cmp eax, ebx
je 0x40e1ae
push eax
call fcn.004085d4
pop ecx
test eax, eax
je 0x40e1ae
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x456e08]
call fcn.004085d4
pop ecx
test eax, eax
je 0x40e1ce
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e1d0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410b80
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x451424]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x410bd2
mov eax, dword [esp]
cmp al, 2
jne 0x410bcc
shr eax, 8
cmp al, 2
jne 0x410bcc
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00402ab3
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov eax, 2
call fcn.00402ab3
add esp, 0x194
ret

Function at 0x4115e0
Capabilities:
Create udp socket

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x48
push 1
mov ebx, eax
mov edi, ecx
call dword [0x452058]
mov esi, eax
xor eax, eax
add esp, 8
mov dword [esp + 0x10], 8
mov dword [edi + 0x3b8], esi
cmp esi, eax
je 0x41169b
mov dword [edi + 0x3a8], ebx
mov dword [edi + 0x3b0], eax
mov dword [edi + 0x3b4], eax
mov dword [edi + 0x3ac], eax
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [esi], eax
lea ebp, [esi + 0x10]
push ebx
mov eax, ebp
mov dword [esi + 4], 0xffffffff
call fcn.00411450
add esp, 8
test eax, eax
je 0x41169b
mov eax, dword [edi + 0x3a4]
push eax
call sym.kloader.exe_curl_free
push ebx
call dword [0x452054]
add esp, 8
mov dword [edi + 0x3a4], eax
test eax, eax
je 0x41169b
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x41169b
push ebp
push 0x4114e0
call fcn.0041e450
add esp, 8
mov dword [esi], eax
test eax, eax
jne 0x4116b9
call fcn.00404667
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
add edi, 0x3a4
call fcn.00411580
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x41b3d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x41b402
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
ret
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
ret

Function at 0x41b550
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x41b56b
mov edx, dword [esi + 0xf4]
push edx
push edi
push ebx
push eax
push esi
call ecx
add esp, 0x14
ret
test eax, eax
jl 0x41b59f
cmp eax, 2
jg 0x41b59f
mov ecx, dword [esi + 0xf0]
push ecx
push 1
lea edx, [eax + eax*2 + 0x43fd0c]
push 2
push edx
call fcn.0040585b
mov eax, dword [esi + 0xf0]
push eax
push 1
push edi
push ebx
call fcn.0040585b
add esp, 0x20
xor eax, eax
ret
Function at 0x41b8b0
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + eax*4 + 0x130]
push edi
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov dword [ebx], 0
cmp edi, 0xffffffff
jne 0x41b92d
push ebp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0x2733
jne 0x41b904
pop ebp
pop edi
pop esi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
ret
push ebp
push esi
call fcn.0041eef0
push eax
mov eax, dword [esi]
push str.Send_failure:__s
push eax
call fcn.0041b730
mov ecx, dword [esi]
add esp, 0x14
mov dword [ecx + 0x856c], ebp
mov dword [ebx], 0x37
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret