joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471015
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47112d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47112d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048631b
mov esi, eax
test esi, esi
je 0x47112d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47112d
mov ecx, esi
call fcn.00470fa0
cmp edi, eax
jge 0x47112d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4710b3
mov dword [esp + 0x34], 1
jmp 0x47110e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47112d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00470550
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x486cbf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x486cf7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00484d76
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00484d4e
jmp 0x486d03
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4883b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4883fb
call fcn.0048de69
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4883fb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4883f2
xor eax, eax
jmp 0x488403
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00488409
pop edi
pop esi
pop ebx
ret 4
Function at 0x48e399
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48e3c7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48e3e5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048e2ff
jmp 0x48e3e5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48e3e5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048e2ff
test edi, edi
mov eax, edi
jne 0x48e3cf
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401270
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x430961
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x43c040
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x2c]
push 0x433518
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
push 0x104
push eax
mov dword [esi], 0x433424
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 4], ebx
call fcn.004010d0
add esp, 0x10
test eax, eax
je 0x401303
mov byte [esp + 0x28], bl
mov ecx, dword [0x43c038]
push 0x43c040
push 0x433508
push ecx
call fcn.004053f0
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.0040e890
push 0x20019
lea edx, [esp + 0x2c]
push edx
push 0x80000002
lea ecx, [esp + 0x24]
mov dword [esp + 0x148], ebx
call fcn.0040e930
test eax, eax
je 0x401405
push 0x4333f8
lea ecx, [esp + 0x18]
call fcn.00403ad0
push 0x104
lea eax, [esp + 0x18]
push eax
push 0x433500
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x14c], 1
call fcn.0040ea50
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 3
call fcn.00402ec0
mov edx, dword [esp + 0x10]
mov eax, dword [0x43c038]
push edx
push 0x4334f0
push eax
call fcn.004053f0
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.0040e990
lea ecx, [esp + 0x10]
call fcn.00402d80
test eax, eax
jne 0x4013d1
lea ecx, [esp + 0x10]
call fcn.00403f70
push eax
call dword [0x433278]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4013f5
push eax
mov ecx, esi
call fcn.00401160
test eax, eax
je 0x4013f5
call dword [esi + 0x14]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x4013f5
mov dword [esi + 4], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], bl
call fcn.00402ec0
lea ecx, [esp + 0x18]
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040e9d0
mov ecx, dword [esp + 0x134]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414fd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x431e0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebp
push esi
push edi
mov esi, ecx
xor eax, eax
push eax
mov ecx, 0x41
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], eax
push 0x104
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0xc]
xor ebp, ebp
call fcn.00403f70
push eax
lea ecx, [esi + 0x10]
call fcn.00403f70
push eax
lea ecx, [esi + 4]
call fcn.00403f70
push eax
call fcn.0041c9e0
add esp, 0x1c
push ebp
push ebp
lea edx, [esp + 0x50]
push edx
push 0x80000001
lea ecx, [esp + 0x38]
call fcn.00417ba0
cmp dword [esp + 0x30], 1
mov dword [esp + 0x15c], ebp
jne 0x415164
push 0xffffffffffffffff
push 0x435564
lea ecx, [esp + 0x30]
call fcn.00417aa0
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x415164
lea ecx, [esp + 0x10]
call fcn.00402fc0
mov eax, dword [esi + 8]
push eax
lea ecx, [esp + 0x14]
push 0x435548
push ecx
mov byte [esp + 0x168], 1
call fcn.004038c0
add esp, 0xc
push 0
push 0
lea ecx, [esp + 0x18]
call fcn.00403f70
push eax
push 0x80000002
lea ecx, [esp + 0x48]
call fcn.00417ba0
mov eax, dword [esp + 0x40]
test eax, eax
mov byte [esp + 0x15c], 2
push 0
je 0x4150e5
push 0x43553c
lea ecx, [esp + 0x40]
call fcn.00417aa0
mov ebp, eax
jmp 0x41513b
push 0
lea ecx, [esp + 0x18]
call fcn.00403f70
push eax
push 0x80000002
lea ecx, [esp + 0x28]
call fcn.0040ec70
mov eax, dword [esp + 0x20]
test eax, eax
mov byte [esp + 0x15c], 3
je 0x41512a
push 0
push 0x43553c
lea ecx, [esp + 0x20]
call fcn.0040ebf0
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.0040e990
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 2
call fcn.0040e9d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x15c], 1
call fcn.00417390
lea ecx, [esp + 0x10]
mov byte [esp + 0x15c], 0
call fcn.00402ec0
cmp ebp, 0xffffffff
jne 0x415164
xor ebp, ebp
xor edx, edx
cmp ebp, 1
sete dl
lea ecx, [esp + 0x28]
mov dword [esp + 0x15c], 0xffffffff
mov esi, edx
call fcn.00417390
mov ecx, dword [esp + 0x154]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
pop ebp
mov esp, ebp
pop ebp
ret
Function at 0x4263fa
Capabilities:
Parse pe header

Disassembly:
push 0x60
push 0x8d505c88
call 0x80606804
mov edi, 0x4332
mov eax, edi
call 0xe90ab4d0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
mov eax, dword [ebp + 8]
xchg esp, eax
f2xm1
mov ecx, dword [esi + 0x10]
mov dword [0x1c498], ecx
mov eax, dword [esp - 0x5d]
movsb byte es:[edi], byte [esi]
les edx, [ecx + 0x53]
mov eax, dword [esp - 0x77]
adc eax, 0x5351c4a8
mov esi, dword [esi + 0xc]
and esi, 0xe8c87fff
mov dword [0x5351c49c], esi
cmp ecx, 2
je 0x42645a
or esi, 0xe8c88000
mov dword [0x5351c49c], esi
shl eax, 0x44
add eax, edx
mov dword [0x5351c4a0], eax
xor esi, esi
push esi
mov edi, dword [0x435531fc]
call edi
cmp word [eax], 0x5a4d
jne 0x426495
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426495
movzx eax, word [ecx + 0x18]
cmp eax, 0x75ce3b0b
je 0x4264ad
cmp eax, 0x6a005a0b
je 0x42649a
mov dword [ebp - 0x1c], esi
jmp 0x4264c1
cmp dword [ecx + 0x84], 0xe
jbe 0x426495
xor eax, eax
cmp dword [ecx - 0x1ffff08], esi
jmp 0x4264bb
cmp dword [ecx + 0x74], 0xe
jbe 0x426495
xor eax, eax
cmp dword [ecx + 0xf685e8], esi
setne byte [eax + 0x6ae44589]
add eax, ebp
stosb byte es:[edi], al
dec edi
add byte [eax], al
push 1
call 0x42b472
pop ecx
and eax, 0x6a08758b
sbb al, 0xe8
add cl, byte [ebx + 4]
call [ecx - 0x18]
xchg esi, eax
invalid

Function at 0x42b6cb
Capabilities:
Encode data using xor

Disassembly:
rcl dword [eax], 0x90
imul ebx, dword [esi - 2], 0xffffffe8
sub eax, 0xa115feb1
xor dh, al
xor dword [ebp + 0x56], edx
mov edx, 0x3d83375d
or eax, 0x101c498
je 0x42b70c
push edi
push 0x54055d5c
call dword [0x565531fc]
mov edx, 0x64681588
imul ebx, dword [esi - 2], 0
push eax
call dword [0xa346687c]
xor dh, al
xor dword [ebp + 0x56], edx
mov edx, 0xbbb80a5d
mov dh, 0x42
inc esi
mov eax, 0x4642b6bb
mov dword [0x5531c630], eax
pop ecx
and dword [ebp - 4], 0
push dword [ebp + 0xc]
mov esi, dword [ebp - 1]
ror byte [ecx + 0x24ebe045], 1
add byte [eax + 0x45], ch
in al, dx
mov ebp, esp
mov eax, dword [eax]
mov dword [ebp], eax
jge 0x42b6f4
inc eax
ret
Function at 0x4208a4
Capabilities:
Encode data using xor

Disassembly:
std
mov cl, 0xdb
dec ecx
jne 0x420870
sub dword [ebx], 0x1aaa5c4b
lodsd eax, dword [esi]
int1
aaa
jmp 0xf51ee172

Function at 0x494228
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x9c754900
dec edi
test esi, esi
sbb eax, edi
jns 0x494186
fld dword [ecx - 0x7fad19a7]
xor byte [eax + 0x4489b478], 0x71
adc eax, 0x662c7f5
adc esi, eax
xor al, 0x27
or bh, byte [edi]
adc byte [edx], dh
rcr dword [ebx + 0x2faf2cf7], cl
and byte [esi], dh
lds esi, [edi - 0x6d1a2ce0]
lds esi, ss:[edi - 0x6d1a2ce0]
nop
lodsb al, byte [esi]
add dword [edi + 0x1d6c32a4], edx
test dword [ecx + 3], esp
pop eax
fsub qword [ecx + 0x42]
add dh, byte [edx + 0x46]
xchg dword [edx], esp
bound esp, qword [eax - 0x725bf95f]
mov edx, dword [ebx - 0x5a11093b]
jl 0x4941cf
scasd eax, dword es:[edi]
arpl ax, cx
jbe 0x49422e
pop ss
push ebx
out 0xd5, eax
push ebp
dec ebp
xchg ebp, eax
push ss
stosb byte es:[edi], al
cmp dword [edi + edx*4], 0x25
xor esi, esp
jbe 0x4941f7
mov edx, es
invalid

Function at 0x4bacbd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c43b8
cmp edx, dword [eax]
je 0x4bacdf
add eax, 8
inc ecx
cmp eax, 0x4c4448
jl 0x4bacd0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c43b8]
jne 0x4bae0d
mov eax, dword [0x4c8d3c]
cmp eax, 1
je 0x4bade7
test eax, eax
jne 0x4bad10
cmp dword [0x4c42e0], 1
je 0x4bade7
cmp edx, 0xfc
je 0x4bae0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bad47
lea eax, [ebp - 0x1a4]
push 0x4bfd20
push eax
call fcn.004bb6a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bbb30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bad8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bbb30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfd1c
push edi
call fcn.004bda00
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bfd00
push eax
call fcn.004bb6a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb6b0
lea eax, [ebp - 0xa0]
push 0x4bfcfc
push eax
call fcn.004bb6b0
push dword [esi + 0x4c43bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb6b0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bfcd4
push eax
call fcn.004bd974
add esp, 0x2c
pop edi
jmp 0x4bae0d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c43bc]
push 0
push eax
push dword [esi]
call fcn.004bbb30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x5bb008], 0x8088405
inc edx
mov dword [ebx + 0x5bb008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cd64
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cd95
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd7d
add dl, dl
jne 0x41cda0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cdf1
xor eax, eax
add dl, dl
jne 0x41cdad
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce8e
add dl, dl
jne 0x41cdbc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdc7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdd2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cddd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cde7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cd8c
mov eax, 1
add dl, dl
jne 0x41cdff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ce0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdf6
sub eax, ebx
mov ebx, 1
jne 0x41ce3d
mov ecx, 1
add dl, dl
jne 0x41ce23
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce2e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce1a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41ce54
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce5f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce4b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ceaf
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cd8c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e5a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5a2a63
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e655
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e63e
test esi, esi
jbe 0x41e655
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088e4
test eax, eax
jne 0x41e630
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e655
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e60d
jmp 0x41e655
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e655
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a2a6a
ret
Function at 0x41eec4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x5a3473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eeff
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ef18
lea eax, [ebp - 0x10]
mov edx, dword [0x5bd2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ef2b
lea eax, [ebp - 0x10]
mov edx, dword [0x5bd2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ef37
adc edx, 0
mov edx, dword [edx*4 + 0x5bc10c]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41f045
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f038
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f038
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f038
cmp dx, 0x150
ja 0x41f038
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f038
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f05d
inc ebx
cmp ebx, 0x19
jne 0x41eef1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a347a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x100022de
pop dword [ebp - 0x2c]
mov eax, 0xbb94c60c
add eax, 0x546b5cd2
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xf042307c
sub dword [ebp - 0x3c], 0xa1efeb31
mov dword [ebp - 0x38], 0x40b5d8c3
add dword [ebp - 0x38], 0xf17d7382
mov dword [ebp - 0x34], 0x61b19b5f
sub dword [ebp - 0x34], 0x15655731
mov dword [ebp - 0x30], 0xe5a62f76
add dword [ebp - 0x30], 0x1a59d08a
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x69319292
sub dword [ebp - 0x3c], 0xf4bf293c
mov dword [ebp - 0x38], 0x42369aff
sub dword [ebp - 0x38], 0xca398a
mov dword [ebp - 0x34], 0xbeb48cde
add dword [ebp - 0x34], 0xa4badf8e
mov dword [ebp - 0x30], 0x9fc123ab
sub dword [ebp - 0x30], 0x9fc123ab
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x38db2
push 0
call eax
mov ecx, 0xfb679fad
sub ecx, 0xfb674e33
mov edx, eax
mov esi, 0x56614cf6
add esi, 0xb99f150a
add esi, dword [ebp - 0x2c]
mov ebx, 0xb597bc29
sub ebx, 0xc6822d5a
mov dword [ebp - 0x18], 0x663aa494
mov edi, dword [esi]
mov dword [ebp - 0x10], 0xe7fc5c7f
xor edi, ebx
mov dword [ebp - 0x28], 0xd0af1498
mov dword [edx], edi
add edx, 0x13e45939
sub edx, 0x13e45935
add esi, 4
loop 0x100023f6
add eax, 0x987988d7
add eax, 0x6787afe4
xor ebx, ebx
add ebx, eax
add eax, 0xa4cc6df0
add eax, 0x5b339215
mov ecx, 0x1a00e46b
add ecx, 0xf5ff1b95
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x401240
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 0x401259
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401294
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401290
lea ebx, [ebx]
cmp esi, eax
jae 0x401294
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401280
cmp esi, eax
jb 0x40129a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4018b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43286d
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
push ebx
push esi
push edi
mov eax, dword [0x43fcd4]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov esi, ecx
push str.xxxxxx
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401921
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x30
push str.Microsoft_Excel
push 0x437684
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.0040b2c5
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call sub.gdiplus.dll_GdiplusStartup
push 0x4376a0
mov ecx, esi
call fcn.0040b9b0
lea eax, [esp + 0x2c]
push eax
call fcn.00401c40
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1d0], ebx
mov dword [esi + 0x20], ecx
call fcn.0040c2c6
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x1d4], 0xffffffff
call fcn.004019e0
xor eax, eax
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.0040c4fe