joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456040
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x456073
push esi
call fcn.00464400
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45606c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4560f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4560e2
mov eax, dword [esi + 8]
test eax, eax
je 0x456097
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4560de
cmp eax, 2
je 0x4560e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45608a
cmp eax, 3
je 0x4560bd
cmp eax, 1
jne 0x45608a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45608a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45608a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00456120
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x456108
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00456120
add esp, 4
pop esi
ret

Function at 0x4569a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4569c1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4569c1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4569c1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x474090
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f33e4]
xor edx, edx
cmp eax, edx
jne 0x4740b6
xor eax, eax
mov byte [eax + 0x4f32e4], al
inc eax
cmp eax, 0x100
jl 0x47409e
mov dword [0x4f33e4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4f32e4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x474147
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x47411a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4740e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4741c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x474213
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4741fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47ab90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a7c9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0047b4b0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4b3394
call fcn.00499abf
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x47ac23
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00499abf
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47ac1c
push 0
mov ecx, eax
call fcn.00471cc0
mov dword [esi + 0xc], eax
jmp 0x47ac25
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x47ac25
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x49c132
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49c16a
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.0049a1d9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049a1b1
jmp 0x49c176
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49d829
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 0x49d86b
call fcn.004a31a0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49d86b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49d862
xor eax, eax
jmp 0x49d873
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049d879
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a36d0
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 0x4a36fe
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a371c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a3636
jmp 0x4a371c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a371c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a3636
test edi, edi
mov eax, edi
jne 0x4a3706
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x409e0c
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00403520
mov eax, dword [ebp - 0x18]
call fcn.00403520
mov eax, dword [ebp - 0x1c]
call fcn.00403520
xor eax, eax
push ebp
push 0x409f10
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00403530
push eax
mov eax, dword [ebp - 0x18]
call fcn.00403530
mov edx, eax
mov eax, dword [0x40c650]
pop ecx
call fcn.00409d94
pop ecx
test al, al
je 0x409ef5
mov eax, dword [ebp - 0x1c]
call fcn.004048ec
test al, al
je 0x409e86
mov eax, dword [ebp - 0x1c]
call fcn.00403530
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
push ebp
push 0x409eda
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x1c]
call fcn.00403530
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x409ee4
mov eax, dword [ebp - 0x10]
call fcn.00404520
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409f17
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403140
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x5d53700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.05d5378f
jae 0x5d5370e
xor ecx, ecx
call fcn.05d5378f
jae 0x5d5373d
xor eax, eax
call fcn.05d5378f
jae 0x5d5374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.05d5378f
adc al, al
jae 0x5d5372f
jne 0x5d53779
stosb byte es:[edi], al
jmp 0x5d53711
call fcn.05d5379b
sub ecx, ebx
jne 0x5d53756
call fcn.05d53799
jmp 0x5d53775
lodsb al, byte [esi]
shr eax, 1
je 0x5d53783
adc ecx, ecx
jmp 0x5d53772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.05d53799
cmp eax, 0x7d00
jae 0x5d53772
cmp ah, 5
jae 0x5d53773
cmp eax, 0x7f
ja 0x5d53774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5d53711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x105dfc20
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x105dfe0d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x360000]
push edi
or ebp, 0xffffffff
jmp 0x105dfc4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x105dfc51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105dfc40
mov eax, 1
add ebx, ebx
jne 0x105dfc63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x105dfc74
jne 0x105dfc93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105dfc93
dec eax
add ebx, ebx
jne 0x105dfc80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x105dfc58
add ebx, ebx
jne 0x105dfc8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x105dfce5
xor ecx, ecx
sub eax, 3
jb 0x105dfcab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x105dfd1a
sar eax, 1
mov ebp, eax
jmp 0x105dfcb6
add ebx, ebx
jne 0x105dfcb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105dfc84
inc ecx
add ebx, ebx
jne 0x105dfcc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105dfc84
add ebx, ebx
jne 0x105dfcd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x105dfcc6
jne 0x105dfce2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x105dfcc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x105dfd04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x105dfcf6
jmp 0x105dfc46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x105dfd04
add edi, ecx
jmp 0x105dfc46
pop esi
mov edi, esi
mov ecx, 0x6e91
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x105dfd22
cmp byte [edi], 0x27
jne 0x105dfd22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x105dfd27
lea edi, [esi + 0x5d4000]
mov eax, dword [edi]
or eax, eax
je 0x105dfd9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5ec074]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5ec1a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x105dfd54
mov ecx, edi
jns 0x105dfd83
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 + 0x5ec1a8]
or eax, eax
je 0x105dfd99
mov dword [ebx], eax
add ebx, 4
jmp 0x105dfd71
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x105dfdd0
cmp al, 0xef
ja 0x105dfdc3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x105dfda5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x105dfdb2
mov ebp, dword [esi + 0x5ec1ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x105dfe04
sub esp, 0xffffff80
jmp 0x101059e2
Function at 0x10002610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.10001778
add byte [esi], cl
lodsb al, byte [esi]
cmp dword [eax - 0x22f5b], eax
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10001756
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10001788
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000173d
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10001778
shl dword [eax], 0x6a
mov bh, 0x68
add al, 1
add byte [eax], al
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.10001778
jb 0x100027b9
scasb al, byte es:[edi]
ret 0x6580
pop esi
inc ebp
ljmp 0xc6b2
Function at 0x10004060
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x14
cmp dword [esp + 0x18], 0
je 0x100041d5
cmp dword [esp + 0x20], 0
je 0x100041d5
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
xor ecx, ecx
lea ebx, [edi*4]
mov eax, ebx
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x14], 0
neg ecx
or ecx, eax
push ecx
call fcn.100047da
mov esi, eax
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100047da
mov ebp, eax
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x18], ebp
neg ecx
or ecx, eax
push ecx
call fcn.100047da
mov edi, eax
xor eax, eax
mov word [esi], ax
mov eax, dword [esp + 0x3c]
add esp, 0xc
push eax
xor ecx, ecx
push ebx
xor edx, edx
mov word [ebp], cx
push esi
mov word [edi], dx
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp word [esi], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
je 0x10004191
mov edx, ebp
mov eax, esi
sub edx, esi
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10004120
push ebp
call sym.pph.dll_DecryptString
mov eax, ebp
add esp, 4
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004140
mov ecx, dword [esp + 0x10]
sub eax, edx
sar eax, 1
mov ebp, eax
lea ebx, [ebp + ebp]
push ebx
push ecx
push edi
call sub.MSVCR90.dll_memcpy
xor edx, edx
push edx
mov word [ebx + edi], dx
push esi
lea edi, [ebx + edi + 2]
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add eax, 2
mov esi, eax
mov eax, dword [esp + 0x28]
lea ecx, [eax + ebp + 1]
mov ebp, dword [esp + 0x24]
add esp, 0x14
cmp word [esi], 0
mov dword [esp + 0x14], ecx
jne 0x10004114
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
xor edx, edx
lea eax, [esi + esi + 2]
push eax
mov word [edi], dx
mov edx, dword [esp + 0x2c]
push ecx
push edx
call sub.MSVCR90.dll_memcpy
mov eax, dword [esp + 0x28]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
push ebp
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esp + 0x34]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor eax, eax
add esp, 0x14
ret
Function at 0x100047e5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10007004]
jne 0x100047ef
repz ret
jmp fcn.10004bae
Function at 0x11279b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x727000]
push edi
or ebp, 0xffffffff
jmp 0x11279d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x11279d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11279c8
mov eax, 1
add ebx, ebx
jne 0x11279eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x11279fc
jne 0x1127a1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1127a1b
dec eax
add ebx, ebx
jne 0x1127a08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x11279e0
add ebx, ebx
jne 0x1127a17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1127a6d
xor ecx, ecx
sub eax, 3
jb 0x1127a33
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1127aa2
sar eax, 1
mov ebp, eax
jmp 0x1127a3e
add ebx, ebx
jne 0x1127a3e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1127a0c
inc ecx
add ebx, ebx
jne 0x1127a4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1127a0c
add ebx, ebx
jne 0x1127a59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1127a4e
jne 0x1127a6a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1127a4e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1127a8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1127a7e
jmp 0x11279ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1127a8c
add edi, ecx
jmp 0x11279ce
pop esi
mov edi, esi
mov ecx, 0x6731
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1127aaa
cmp byte [edi], 0x24
jne 0x1127aaa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1127aaf
lea edi, [esi + 0xd24000]
mov eax, dword [edi]
or eax, eax
je 0x1127b27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd2c224]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd2c394]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1127adc
mov ecx, edi
jns 0x1127b0b
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 + 0xd2c39c]
or eax, eax
je 0x1127b21
mov dword [ebx], eax
add ebx, 4
jmp 0x1127af9
call dword [esi + 0xd2c398]
mov ebp, dword [esi + 0xd2c3a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x1127b5b
sub esp, 0xffffff80
jmp 0x4e714f
Function at 0x100034a8
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x100034c9
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x100034c0
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x100034b8
mov eax, ebx
leave
ret

Function at 0x100034ef
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x1000354e
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x1000357b
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x1000356a
xor ecx, eax
xor edx, ebx
dec edi
jne 0x1000355b
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x100035a1
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x10003542
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x10003c20
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x10003c30
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x10003d3e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.10003d4e
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x10003d3e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.10003d4e
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x10003d3e
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.10003d4e
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10003d3e
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x10003d3b
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.10003d61
test eax, eax
je 0x10003d2a
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.10003d95
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x10003ce5
add esp, 0xc
mov eax, 0
jmp 0x10003d48
mov esp, ebp
pop ebp
ret 8