joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0530
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3e78
push 0x4b0790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x4eb568], 0xffffffff
mov dword [0x4eb56c], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4eb4dc]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x4eb4d8]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x4eb570], ecx
call fcn.004b0780
mov eax, dword [0x4ea620]
test eax, eax
jne 0x4b05c1
push 0x4b0770
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.004b0750
push 0x4b600c
push 0x4b6008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x4eb4d4]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x4eb4d0]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x4b6004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x4b06cf
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x4b0635
cmp al, 0x22
jne 0x4b0627
cmp byte [esi], 0x22
jne 0x4b063e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x4b064e
cmp al, 0x20
ja 0x4b064e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4b063e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4b066f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x4b0674
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x4b06b4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x4b063e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4b06cf
Function at 0x10028ee4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
ror al, cl
shr ah, 1
mov ah, 0x3a
push 0x38de6b43
mov dword [esp], ebp
clc
stc
shr bp, cl
bsf eax, esp
mov ebp, esp
adc ah, dh
pushfd
sub esp, 0xc
neg al
and eax, eax
push esi
xor ax, dx
pushfd
btr ax, di
mov dword [esp], edi
movzx ax, al
das
push ebx
bswap eax
push edx
or eax, 0xfe2d894c
mov eax, dword [ebp + 8]
bt sp, 0xc
test eax, eax
pushal
lea esp, [esp + 0x20]
je 0x10029c34
btc si, 0xa
sbb si, ax
and dh, bl
btc si, 5
mov esi, dword [eax + 0x3c]
inc dl
rcl dh, 6
shld dx, si, 9
add esi, eax
shl dh, cl
bsr edx, ecx
and dl, 0x21
movsx dx, bl
mov edx, dword [esi + 0x78]
stc
test edx, edx
pushfd
pushal
lea esp, [esp + 0x24]
je 0x10029c34
rol cl, 1
add edx, eax
pushfd
sar ecx, cl
bswap cx
adc ch, ch
mov ecx, dword [esi + 0x7c]
pushfd
cmc
pushfd
add ecx, edx
bt esp, 4
stc
test esi, 0xd9e5e230
mov dword [ebp - 0x10], ecx
cmp bp, 0x61ad
shld ecx, edx, cl
mov ecx, dword [ebp + 0xc]
mov word [esp], 0xf3d9
cmp ecx, 0xffff
jmp 0x100318b0
push ebx
pushal
call fcn.1002585f
lea esp, [esp + 0x2c]
jne 0x10029c34
and cl, al
push edi
mov ecx, edi
shrd si, ax, 5
sub ecx, ebx
sub esp, 0xfffffffc
pushfd
lea esp, [esp + 0x10]
jne 0x10029151
jbe 0x10032446
mov di, di
mov edi, dword [edx + 0x24]
cmp edx, 0x2cb585cb
add edi, eax
adc bh, 0xd4
mov ebx, dword [edx + 0x20]
sar ch, 6
not ch
movsx cx, bl
add ebx, eax
test bh, ch
xor ch, 0x58
shl ch, cl
mov dword [ebp - 8], 0
bsf cx, cx
or ecx, 0x910c90e5
test cl, 0x9d
mov ecx, dword [edx + 0x18]

Function at 0x10029366
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x2c]
je 0x10029c34
bt ax, si
add eax, edi
stc
pushal
cmp eax, edx
push 0xd80db227
pushfd
call fcn.100316d1
add byte [eax], al
dec esp
inc ebx
dec ebp
popal
jo 0x10028f16
je 0x10028f37
imul ebp, dword [esi + 0x67], 0x648d0057
and al, 0x34
mov edx, 0x19660afe
invalid
stc
mov byte [esp], 0x41
mov word [esp + 4], 0x88e6
test edi, edi
jmp 0x10029839
push ecx
jmp 0x10028e9c
Function at 0x1002aacf
Capabilities:
Encode data using xor

Disassembly:
stc
push word [esp + 0x52]
popf
mov word [esp], dx
call fcn.1003023d
add byte [eax], al
inc edi
je 0x1002ab36
jb 0x1002ab57
arpl word [ebp + 0x73], sp
jae 0x1002ab35
popal
jo 0x1002aaf1
add byte [eax], al
dec esp
outsd dx, dword [esi]
popal
dec esp
imul esp, dword [edx + 0x72], 0x57797261
add byte [eax], al
add byte [edi + 0x65], al
je 0x1002ab49
outsd dx, dword [esi]
outsb dx, byte [esi]
jae 0x1002ab79
insb byte es:[edi], dx
dec edi
jne 0x1002ab83
jo 0x1002ab86
je 0x1002ab56
push eax
add byte [eax + esi], ch
add cl, byte [ebp - 0x16bbdb9c]
sub ah, 0xff
invalid
dec edi
imul edx, dword [esi], 0xf
mov eax, dword [0xa8ee592b]
push ebx
test al, 0x53
push edi
call 0x1ffc1c5e
jno 0x1002ab51
stc
psadbw mm2, qword [ebp + ebp - 0x75]
not byte [ebp + ebp - 0x75]
push 0x6404d0fc
mov ah, 0xa9
mov eax, dword [0x2e873300]
xor dword [ecx], ebp
sub dword [edx], edx
test al, 0xb9
sbb al, 0x68
inc esi
jp 0x1002ab59
out 0x58, al
push esi
imul ecx, edx, 0x1980b36d
inc esp
or bh, cl
insd dword es:[edi], dx
mov bl, 0x80
sbb dword [eax + ecx - 0x31], eax
rol byte [ebp - 0x737363a7], cl
pushfd
mov word [eax + eax + 0x65704f00], cs
add byte [eax], al
dec edi
jo 0x1002abf0
outsb dx, byte [esi]
inc esi
imul ebp, dword [ebp + 0x4d], 0x69707061
outsb dx, byte [esi]
push edi
add bh, al
mov dword [esp + 8], 0x4db89c3f
pushfd
push dword [esp]
pushfd
Function at 0x408f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8fc0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4df16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408f80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.00408e10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x409d90
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b91e6
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4df16c]
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, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x2c], eax
lea ecx, [ebp - 0x230]
push 0x2001f
setne al
push str.SoftwareMicrosoftWindowsCurrentVersionRun
add eax, 0x80000001
push eax
call fcn.0040d2f0
mov edi, dword [ebp - 0x230]
test eax, eax
jne 0x409f27
call fcn.0040ce00
mov ecx, eax
test ecx, ecx
je 0x409f54
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push dword [esi + 8]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push dword [esi]
push str.__s___s
push eax
call fcn.0040cd10
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00494db0
add esp, 0x1c
mov dword [ebp - 0x21c], 0x208
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409eb6
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x409ea4
cmp eax, 2
jne 0x409eb6
cmp dword [ebp - 0x21c], 0
jne 0x409eb6
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00498596
add esp, 8
test eax, eax
je 0x409f04
test esi, esi
je 0x409f04
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409ee0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x409f20
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x409f29
xor esi, esi
test edi, edi
je 0x409f34
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.00472a8d
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040c4e0
int3
Function at 0x40cee0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b96f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4df16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x5071d0], 0
jne 0x40cf24
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x5071d0
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.0040ce00
mov ecx, eax
test ecx, ecx
je 0x40cf90
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x5071d0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040c500
test al, al
jne 0x40cf7c
mov ecx, 0x5071d0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cf60
sub ecx, edx
sar ecx, 1
push ecx
push 0x5071d0
mov ecx, esi
call fcn.0040d800
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040c4e0
int3
Function at 0x40d030
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9741
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x4df16c]
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
push str.YxhGametray
push dword [ebx]
call fcn.00498596
add esp, 8
test eax, eax
je 0x40d0a1
push str.LeyouGametray
push dword [ebx]
call fcn.00498596
add esp, 8
test eax, eax
je 0x40d0a1
push dword [ebx + 0x14]
push 0xffffffffffffffff
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
inc eax
jmp 0x40d210
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00494db0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebx + 0x14]
push 0x104
push eax
push str.true
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.false
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x24c], ecx
test eax, eax
je 0x40d20e
call fcn.004716b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40d208
push 0x5c
push str.d:jenkins.jenkinsworkspace_bluewhale_helpercommonhelper_autorunmanger_autorunmanager.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.0040f110
push 3
push 0x4bfa10
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040f110
mov byte [ebp - 4], 1
call fcn.004716b0
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x32c
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004080f0
mov esi, eax
push str.IsDisable_
push esi
mov byte [ebp - 4], 2
call fcn.004097b0
mov ecx, dword [ebx + 0x14]
mov edx, 0x4bf968
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00407020
push 0x4bfff4
push esi
call fcn.004097b0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00407020
mov edx, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.004098e0
lea ecx, [ebp - 0x230]
call fcn.00408b70
lea ecx, [ebp - 0x248]
call fcn.00408b70
mov ecx, dword [ebp - 0x24c]
mov eax, ecx
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.00472a8d
mov esp, ebp
pop ebp
ret
Function at 0x40daf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40db49
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40db49
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40db3a
cmp esi, edx
jae 0x40db49
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40db28
cmp esi, edx
jae 0x40db49
cmp word [esi], 0
je 0x40db49
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4129b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4df16c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x6c], 0x490044
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x6c]
mov eax, 0x5076a0
mov dword [ebp - 0x68], 0x410044
push edi
mov dword [ebp - 0x64], 0x410057
mov edx, 0x33
mov dword [ebp - 0x60], 0x4c004c
sub esi, eax
mov dword [ebp - 0x5c], 0x410050
mov dword [ebp - 0x58], 0x450050
mov dword [ebp - 0x54], 0x5f0052
mov dword [ebp - 0x50], 0x430042
mov dword [ebp - 0x4c], 0x300042
mov dword [ebp - 0x48], 0x390041
mov dword [ebp - 0x44], 0x330035
mov dword [ebp - 0x40], 0x37002d
mov dword [ebp - 0x3c], 0x370035
mov dword [ebp - 0x38], 0x2d0039
mov dword [ebp - 0x34], 0x380034
mov dword [ebp - 0x30], 0x330062
mov dword [ebp - 0x2c], 0x38002d
mov dword [ebp - 0x28], 0x440034
mov dword [ebp - 0x24], 0x2d0043
mov dword [ebp - 0x20], 0x390037
mov dword [ebp - 0x1c], 0x390041
mov dword [ebp - 0x18], 0x330034
mov dword [ebp - 0x14], 0x460038
mov dword [ebp - 0x10], 0x440033
mov dword [ebp - 0xc], 0x390037
nop word [eax + eax]
lea ecx, [edx + 0x7fffffcb]
test ecx, ecx
je 0x412aae
movzx ecx, word [esi + eax]
test cx, cx
je 0x412aae
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x412a90
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472a8d
mov esp, ebp
pop ebp
ret
Function at 0x416580
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4df16c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.00494db0
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.00494db0
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4165e3
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x4165e8
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x416606
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x416608
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x41661c
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x50abec]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00472a8d
mov esp, ebp
pop ebp
ret 0x18
Function at 0x419330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba036
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4df16c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4193dc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4193dc
call fcn.004174a0
mov esi, eax
jmp 0x4194cc
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4193ff
call fcn.004174a0
jmp 0x4194bf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x41941d
call fcn.004174a0
jmp 0x4194bf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x41943e
mov esi, 0x8007000e
jmp 0x4194c1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004172a0
jmp 0x419468
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x41947f
mov esi, 0x8007000e
jmp 0x4194c1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41949f
call fcn.004174a0
jmp 0x4194bf
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00419190
mov esi, eax
test edi, edi
je 0x4194cc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4194f0
lea ecx, [ebp - 0x418]
call fcn.00417b20
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00472a8d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41e000
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba318
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4df16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
je 0x41e08c
lea ecx, [ebp - 0xd]
call fcn.0041df20
mov edx, eax
test edx, edx
jne 0x41e05c
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 0x10]
call fcn.0040d800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e061
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x10]
call fcn.0040d800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.0040c640
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41e0f0
lea ecx, [ebp - 0xd]
call fcn.0041de40
mov edx, eax
lea ebx, [edi + 0x10]
test edx, edx
jne 0x41e0d1
xor ecx, ecx
push ecx
push edx
mov ecx, ebx
call fcn.0040d800
jmp 0x41e110
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e0d6
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0040d800
jmp 0x41e110
push esi
call fcn.00466970
add esp, 4
test eax, eax
je 0x41e110
mov eax, dword [edi]
push 0
push 0
push esi
push 1
push eax
push eax
call fcn.0041e3e0
add esp, 0x18
or eax, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e12b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e4f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x41e54e
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x41e510
mov eax, dword [edi]
jmp 0x41e639
cmp eax, 0x4e0
jb 0x41e639
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x41e570
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x41e5c0
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret