joyce8/EMBER2024-capa huggingface dataset:
Function at 0xca49a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xce8e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0xd02014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0xd030ec
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00cb80c0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0xd02a8c
push eax
call fcn.00cb80c0
mov esi, dword [0xd030fc]
xor ebx, ebx
mov edi, dword [0xd03100]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0xd06390], bl
mov eax, ebx
mov ecx, 0xd030ec
cmovae ecx, dword [0xd030ec]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0xd064a0], al
inc ebx
cmp ebx, 0x100
jl 0xca4a20
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0xd06390]
movzx eax, byte [esi + 0xd064a0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0xca4a74
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0xd06390]
mov byte [esi + 0xd06390], al
inc esi
mov byte [edi + 0xd06390], dl
cmp esi, 0x100
jl 0xca4a50
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00ca4690
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0xca4ac9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xca4abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xca4b1f
push edx
push ecx
call fcn.00cbd663
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0xca4b0b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xca4b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xca4b1f
push edx
push ecx
call fcn.00cbd663
add esp, 8
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
call fcn.00cd6c6a
int3
Function at 0xca70a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0xd02014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x505019d
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0xca7289
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0xca7289
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00cd40f0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x5050281
nop
test eax, eax
je 0xca7289
push 4
push 0x1000
push 4
push 0
call 0x5040f01
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x5030006
nop
test eax, eax
je 0xca7289
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0xcf8df8
push dword [esp + 0x30]
call 0x5030326
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0xca71ac
push 0xcf8dfc
push 0xcf8e14
call 0x5040b49
nop
push eax
call 0x50300b6
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x5030252
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0xca7289
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x5050085
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0xca7243
mov dword [esp + 0xc], eax
call fcn.00ca6ef0
push eax
call 0x5040a66
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x5050085
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0xca71f2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x5050085
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x50303df
nop
push dword [esp + 0x24]
call 0x5040c11
nop
push 0x8000
push 0
push esi
call 0x5050000
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00cbcff1
mov esp, ebp
pop ebp
ret
Function at 0xcaaf20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xce9726
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0xd02014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.00cd8b63
push eax
call fcn.00cd6660
add esp, 8
call fcn.00cd663f
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.00cd663f
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.00cd663f
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.00ca45b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0xcaafd0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0xcaafe6
push 0x40
push 0
push 0xd08560
sub esi, ecx
call fcn.00cd40f0
add esp, 0xc
mov dword [0xd08554], 0
mov edx, esi
mov dword [0xd08550], 0
lea ecx, [ebp - 0x410]
mov dword [0xd08540], 0x67452301
mov dword [0xd08544], 0xefcdab89
mov dword [0xd08548], 0x98badcfe
mov dword [0xd0854c], 0x10325476
call fcn.00ca5530
call fcn.00ca55f0
mov ecx, 0xd065a0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0xcab071
sub ecx, edx
push ecx
push 0xd065a0
lea ecx, [ebp - 0x42c]
call fcn.00cb80c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0xcab0cc
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xcab0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xcab18c
push edx
push ecx
call fcn.00cbd663
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0xcab187
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.00cb80c0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0xcab169
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xcab15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xcab18c
push edx
push ecx
call fcn.00cbd663
add esp, 8
mov eax, ebx
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.00cbcff1
mov esp, ebp
pop ebp
ret
call fcn.00cb8200
call fcn.00cd6c6a
int3
Function at 0xcbdcc7
Capabilities:
Parse pe header

Disassembly:
push 0
call 0x5060da8
nop
test eax, eax
je 0xcbdd07
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xcbdd07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xcbdd07
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xcbdd07
cmp dword [ecx + 0x74], 0xe
jbe 0xcbdd07
cmp dword [ecx + 0xe8], 0
je 0xcbdd07
mov al, 1
ret
xor al, al
ret
Function at 0x100334f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003351d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003351d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x440130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.tJrdyPER
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x440152
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x440159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x440148
mov eax, 1
add ebx, ebx
jne 0x44016b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x440160
jne 0x44017c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440160
xor ecx, ecx
sub eax, 3
jb 0x440190
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x440202
mov ebp, eax
add ebx, ebx
jne 0x44019b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4401a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4401cc
inc ecx
add ebx, ebx
jne 0x4401b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4401ad
jne 0x4401c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4401ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4401ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4401dd
jmp 0x44014e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4401ec
add edi, ecx
jmp 0x44014e
pop esi
lea edi, [esi + 0x3e000]
mov eax, dword [edi]
or eax, eax
je 0x440254
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4020c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x402b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x440209
mov ecx, edi
jns 0x440238
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 + 0x402bc]
or eax, eax
je 0x44024e
mov dword [ebx], eax
add ebx, 4
jmp 0x440226
call dword [esi + 0x402b8]
mov ebp, dword [esi + 0x402c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x440288
sub esp, 0xffffff80
jmp section.NDltoTPW
Function at 0x624c7979
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x63064018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x63064018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x624c7a87
jmp 0x624c7b75
jmp 0x624c7c63
jmp 0x624c7d51
jmp 0x624c7e3f
jmp 0x624c7f2d
jmp 0x624c801b
jmp 0x624c8109
jmp 0x624c81f7
jmp 0x624c82e5
jmp 0x624c83d3
jmp 0x624c84c1
jmp 0x624c85af
jmp 0x624c869d
jmp 0x624c878b
jmp 0x624c8879
jmp 0x624c8967
jmp 0x624c8a55
mov dword [ebp - 0x14], 0
jmp 0x624c8b4a
jmp 0x624c8c38
jmp 0x624c8d26
jmp 0x624c8e14
jmp 0x624c8f02
jmp 0x624c8ff0
jmp 0x624c90de
jmp 0x624c91cc
jmp 0x624c92ba
jmp 0x624c93a8
jmp 0x624c9496
jmp 0x624c9584
jmp 0x624c9672
jmp 0x624c9760
jmp 0x624c984e
jmp 0x624c993c
jmp 0x624c9a2a
jmp 0x624c9b18
mov dword [ebp - 0x18], 0
jmp 0x624c9c0d
jmp 0x624c9cfb
jmp 0x624c9de9
jmp 0x624c9ed7
jmp 0x624c9fc5
jmp 0x624ca0b3
jmp 0x624ca1a1
jmp 0x624ca28f
jmp 0x624ca37d
jmp 0x624ca46b
jmp 0x624ca559
jmp 0x624ca647
jmp 0x624ca735
jmp 0x624ca823
jmp 0x624ca911
jmp 0x624ca9ff
jmp 0x624caaed
jmp 0x624cabdb
mov dword [ebp - 0x10], 0
jmp 0x624cacd0
jmp 0x624cadbe
jmp 0x624caeac
jmp 0x624caf9a
jmp 0x624cb088
jmp 0x624cb176
jmp 0x624cb264
jmp 0x624cb352
jmp 0x624cb440
jmp 0x624cb52e
jmp 0x624cb61c
jmp 0x624cb70a
jmp 0x624cb7f8
jmp 0x624cb8e6
jmp 0x624cb9d4
jmp 0x624cbac2
jmp 0x624cbbb0
jmp 0x624cbc9e
mov dword [ebp - 0x10], 0
jmp 0x624d109e
jmp 0x624cbd98
jmp 0x624cbe86
jmp 0x624cbf74
jmp 0x624cc062
jmp 0x624cc150
jmp 0x624cc23e
jmp 0x624cc32c
jmp 0x624cc41a
jmp 0x624cc508
jmp 0x624cc5f6
jmp 0x624cc6e4
jmp 0x624cc7d2
jmp 0x624cc8c0
jmp 0x624cc9ae
jmp 0x624cca9c
jmp 0x624ccb8a
jmp 0x624ccc78
jmp 0x624ccd66
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x63064014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x624cce65
jmp 0x624ccf53
jmp 0x624cd041
jmp 0x624cd12f
jmp 0x624cd21d
jmp 0x624cd30b
jmp 0x624cd3f9
jmp 0x624cd4e7
jmp 0x624cd5d5
jmp 0x624cd6c3
jmp 0x624cd7b1
jmp 0x624cd89f
jmp 0x624cd98d
jmp 0x624cda7b
jmp 0x624cdb69
jmp 0x624cdc57
jmp 0x624cdd45
jmp 0x624cde33
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x6306401c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x624cdf32
jmp 0x624ce020
jmp 0x624ce10e
jmp 0x624ce1fc
jmp 0x624ce2ea
jmp 0x624ce3d8
jmp 0x624ce4c6
jmp 0x624ce5b4
jmp 0x624ce6a2
jmp 0x624ce790
jmp 0x624ce87e
jmp 0x624ce96c
jmp 0x624cea5a
jmp 0x624ceb48
jmp 0x624cec36
jmp 0x624ced24
jmp 0x624cee12
jmp 0x624cef00
mov eax, dword [0x63064008]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [esp], edx
call eax
jmp fcn.624cf00c
mov eax, dword [0x63064018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x624cbcaa
nop
leave
ret
Function at 0x401600
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x453ad4]
mov ecx, dword [0x44f10c]
mov dword [esp + 0x10], eax
imul ecx, ecx, 0x1ef
mov eax, dword [0x44f0f0]
imul eax, eax, 0x242
push ebx
push ebp
push esi
mov esi, dword [0x44f0f4]
sub ecx, eax
mov eax, dword [esp + 0x2c]
push edi
lea edx, [ecx + esi + 0x21a]
xor edi, edi
test eax, eax
mov dword [0x44f0f8], edx
jle 0x4017df
mov ebx, dword [esp + 0x28]
mov ecx, dword [0x44f100]
test edi, edi
je 0x40166f
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [0x44f0f4]
mov ecx, dword [0x44f100]
mov eax, 0x71625345
imul ecx, ecx, 0xad
imul esi, esi, 0x21a
imul dword [0x44f0fc]
sar edx, 8
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov edx, dword [str._r_____r____]
mov eax, 0x17ad2209
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebp, dword [0x44f0f0]
lea edx, [eax + ebp + 0x145]
mov eax, dword [0x44f0ec]
sub ecx, esi
lea ecx, [ecx + eax + 0x249]
push ebx
mov dword [0x44f0fc], edx
mov word [esp + 0x14], 2
mov dword [0x44f100], ecx
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [0x44f10c]
mov dword [esp + 0x14], eax
mov eax, 0x86d90545
imul ecx
mov ebp, dword [0x44f0f0]
add edx, ecx
mov ecx, dword [0x44f100]
sar edx, 9
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x71625345
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
push 0
add eax, edx
add esi, ebp
push 1
lea ecx, [eax + esi + 0x1ef]
push 2
mov dword [0x44f104], ecx
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x40185d
push 0x10
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x401831
mov eax, dword [0x44f0f0]
mov ecx, dword [0x44f104]
imul eax, eax, 0x242
imul ecx, ecx, 0x145
sub eax, ecx
sub eax, dword [0x44f0ec]
sub eax, 0x249
push esi
mov dword [0x44f108], eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [0x44f0f4]
mov ecx, dword [0x44f100]
mov eax, 0x71625345
imul esi
sar edx, 8
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x17ad2209
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add ebp, edx
mov edx, dword [0x44f0fc]
add eax, ebp
sub eax, edx
sub eax, 0x1ef
mov dword [0x44f10c], eax
mov eax, dword [esp + 0x30]
inc edi
cmp edi, eax
jl 0x401654
mov ecx, dword [str._r_____r____]
mov eax, 0x71625345
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x17ad2209
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add ecx, edx
mov edx, dword [0x44f0f8]
add eax, ecx
pop edi
sub eax, edx
pop esi
sub eax, 0x249
pop ebp
mov dword [0x44f0ec], eax
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
call fcn.00425481
add esp, 0x14
ret
mov ecx, dword [0x44f0f8]
mov edx, dword [0x44f0fc]
imul ecx, ecx, 0x1f0
mov eax, dword [esp + 0x2c]
imul edx, edx, 0xad
sub ecx, edx
add ecx, 0x145
mov dword [str._r_____r____], ecx
mov dword [eax], esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.00425481
add esp, 0x14
ret
Function at 0x401890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4018a9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4018bd
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4018de
cmp esi, eax
jae 0x4018b7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4018d0
cmp esi, eax
jae 0x4018b7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40e380
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x453ad4]
mov edx, dword [esp + 0x11c]
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x128], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40e4a2
lea ecx, [esp + 8]
call fcn.0040e260
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x40e4a6
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x40e450
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.0040e380
mov edi, eax
test edi, edi
jne 0x40e4ca
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x40e412
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x40e469
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x128]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40e488
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.00425481
add esp, 0x118
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x40e4b1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.00425481
add esp, 0x118
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40e4d9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.00425481
add esp, 0x118
ret 4
Function at 0x40e9b0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x40e9c2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x411e00
Capabilities:
Create thread

Disassembly:
mov ecx, dword [0x452a78]
mov eax, 0xfe03f81
imul ecx
push ebx
mov ebx, dword [0x452a84]
imul ebx, ebx, 0xe8
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push esi
mov esi, dword [0x452a68]
mov edx, ebx
sub edx, eax
push edi
mov edi, dword [0x452a6c]
sub edx, esi
lea eax, [edx + edi + 0x21b]
mov dword [str._r_____r_____n], eax
cmp dword [esp + 0x10], 0x132b600
je 0x411e70
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x64
lea esp, [esp]
push 0x3e8
call edi
dec esi
jne 0x411e60
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov esi, dword [0x452a7c]
mov eax, 0xa29ecf17
imul ecx
push ebp
add edx, ecx
sar edx, 8
mov ebp, esi
imul ebp, ebp, 0xfffffefe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x452a80]
sub ebp, eax
mov eax, 0x43b3d5b
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x452a64]
sub ebp, eax
add ebp, dword [str._r_____r_____n]
lea eax, [edx + ebp - 0xd8]
mov dword [0x452a64], eax
mov eax, dword [0x564e08]
mov edx, eax
inc eax
test edx, edx
mov dword [0x564e08], eax
pop ebp
jle 0x411f0c
mov eax, 0x577f7cc1
imul esi, esi, 0x21e
imul edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x452a70]
add eax, esi
sub eax, ebx
sub eax, edx
pop edi
add eax, 0x33e
pop esi
mov dword [0x452a68], eax
mov eax, 1
pop ebx
ret
mov eax, 0xae4c415d
imul ecx
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x2053e08b
imul edi
sub edx, edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
mov ecx, dword [0x452a84]
sub eax, esi
lea edx, [eax + ecx - 0xd2]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x4119c0
push 0
push 0
mov dword [0x564b18], 0
mov dword [0x452a6c], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x452a78]
mov eax, 0x7a0a7ce7
imul ecx
mov eax, dword [0x452a74]
sar edx, 8
imul eax, eax, 0x79
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x452a68]
imul edx, edx, 0x21e
sub edx, ecx
mov ecx, dword [0x452a80]
pop edi
add edx, ecx
lea ecx, [eax + edx + 0x215]
pop esi
mov dword [0x452a70], ecx
mov eax, 1
pop ebx
ret
Function at 0x415ce0
Capabilities:
Create thread

Disassembly:
mov ecx, dword [0x452a70]
mov eax, 0x577f7cc1
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
push esi
mov esi, dword [0x452a74]
push edi
mov edi, eax
mov eax, 0x8d3dcb09
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x452a84]
imul edx, edx, 0xd9
sub eax, edi
sub eax, edx
add eax, 0x506
mov dword [0x452a74], eax
cmp dword [esp + 0xc], 0x132b600
je 0x415d52
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x64
push 0x3e8
call edi
dec esi
jne 0x415d43
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [0x452a68]
imul ecx, ecx, 0xd9
mov esi, dword [0x452a6c]
mov eax, edx
imul esi, esi, 0x102
imul eax, eax, 0x193
sub esi, eax
mov eax, 0x43b3d5b
imul edx
mov eax, dword [0x564b0c]
add esi, ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
test eax, eax
mov dword [0x452a78], esi
jne 0x415dff
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0x414b10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x452a78]
mov esi, dword [0x452a68]
mov dword [0x564afc], eax
imul esi, esi, 0x21e
mov eax, 0x7a0a7ce7
imul ecx
mov ecx, dword [0x452a74]
sar edx, 8
imul ecx, ecx, 0x79
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, dword [0x452a80]
lea edx, [ecx + esi + 0x215]
mov dword [0x564b0c], 1
mov dword [0x452a70], edx
pop edi
mov eax, 1
pop esi
ret