joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419c3a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x419c5e
cmp dword [edi + 0x54], 0
jne 0x419c5e
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042317d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00419bfb
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41f42d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41f474
call fcn.0042317d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41f474
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41f490
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041efa5
mov esi, eax
test edi, edi
je 0x41f48e
test ebx, ebx
je 0x41f48e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x421801
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x454d50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x421899
push 0x444d8c
push 4
push eax
call fcn.00428696
push eax
call fcn.00401000
add esp, 0x10
push ebx
push edi
call fcn.00428786
mov edi, dword [eax]
call fcn.00428786
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00428723
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00428786
cmp dword [eax], ebx
je 0x4218b0
call fcn.00428786
push dword [eax]
call fcn.0041838d
pop ecx
jmp 0x4218b7
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x421844
jmp 0x42193e
call fcn.00428786
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x42193a
cmp dword [ebp - 0x234], esi
jae 0x42193a
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0042a570
add esp, 0xc
push 0x444aec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x421929
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x421929
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x421929
push ebx
push ebx
push esi
jmp 0x421932
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x42193c
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004267a2
leave
ret

Function at 0x4248d1
Capabilities:
Inspect section memory permissions

Disassembly:
sal byte [ecx], 1
jns 0x42492b
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x424b4b
add eax, esi
mov dword [ebp - 0x44], eax
test byte [ebx], bl
add al, byte [eax]
add byte [ebx + 0x488bbc45], cl
adc byte [ebx - 0x723cc500], cl
cmp al, 0x31
jne 0x424944
mov dword [ebp + 0x10], edi
jmp 0x424949
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.0042435c
Function at 0x42494e
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x424901
cmp dword [eax + 0xc], ebx
je 0x4249a4
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.0042435c
add bh, 0xa2
sub eax, 0x750c5d39
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
stosb byte es:[edi], al
dec edx
xchg esp, eax
mov eax, dword cs:[ebp + 0x10]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x424992
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x42496d
and eax, 0xffff
push eax
jmp 0x424971
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00424321
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x424b4b
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x424952
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x4248f3
call fcn.0042435c
arpl word [ecx - 0xe], ax
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x424a10
add eax, esi
cmp dword [eax], ebx
mov dword [ebp + 0xc], ebx
jmp 0x424a1b
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x424a33
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x424a51
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja fcn.00424aaf
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x424a6f
Capabilities:
Inspect section memory permissions

Disassembly:
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x424a96
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x424a9f
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x424aa9
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x424a8b

Function at 0x424aaf
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x424a15
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x424afc
dec eax
je 0x424af3
sub eax, 3
je 0x424aea
mov dword [ebp - 4], 0x40
jmp 0x424b19
mov dword [ebp - 4], 4
jmp 0x424aff
mov dword [ebp - 4], 0x20
jmp 0x424aff
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x424b4b
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x424acb
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0042435c
add edx, esp
and al, 0xdb
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x424b57
Function at 0x4267a2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x454d50]
jne 0x4267ac
repz ret
jmp fcn.0042c5f3

Function at 0x436713
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042bf55
and dword [ebp - 4], 0
cmp dword [0x45902c], 0
mov ebx, eax
jne 0x4367c4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x436875
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x436875
push eax
call fcn.0042bee3
mov dword [esp], 0x446310
push edi
mov dword [0x45902c], eax
call esi
push eax
call fcn.0042bee3
mov dword [esp], 0x4462fc
push edi
mov dword [0x459030], eax
call esi
push eax
call fcn.0042bee3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x459034], eax
call esi
push eax
call fcn.0042bee3
pop ecx
mov dword [0x45903c], eax
test eax, eax
je 0x4367c4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042bee3
pop ecx
mov dword [0x459038], eax
mov eax, dword [0x459038]
cmp eax, ebx
je 0x43681c
cmp dword [0x45903c], ebx
je 0x43681c
push eax
call fcn.0042bf5e
push dword [0x45903c]
mov esi, eax
call fcn.0042bf5e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43681c
test edi, edi
je 0x43681c
call esi
test eax, eax
je 0x436813
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x436813
test byte [ebp - 0xc], 1
jne 0x43681c
or dword [ebp + 0x10], 0x200000
jmp 0x436855
mov eax, dword [0x459030]
cmp eax, ebx
je 0x436855
push eax
call fcn.0042bf5e
pop ecx
test eax, eax
je 0x436855
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x436855
mov eax, dword [0x459034]
cmp eax, ebx
je 0x436855
push eax
call fcn.0042bf5e
pop ecx
test eax, eax
je 0x436855
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45902c]
call fcn.0042bf5e
pop ecx
test eax, eax
je 0x436875
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x436877
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5f767345
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x7a716203
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x406a60
Capabilities:
Delete file
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x406b8c
mov al, byte [esi]
mov byte [ebp - 4], al
mov al, byte [esi + 1]
mov byte [ebp - 3], al
mov al, byte [esi + 2]
push edi
mov edi, dword [ebp + 0x10]
mov byte [ebp - 2], al
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x406b1d
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x14]
push ebx
push dword [ebp - 0xc]
push ebx
push eax
call fcn.0040eb0e
add esp, 0x10
cmp edx, ebx
jl 0x406b1d
jg 0x406ae7
cmp eax, 0x6400000
jbe 0x406afd
call fcn.0040eca5
xor edx, edx
mov ecx, 0x500000
div ecx
lea edi, [edx + 0xa00000]
jmp 0x406b1d
cmp edx, ebx
jl 0x406b1d
jg 0x406b0a
cmp eax, 0x3200000
jbe 0x406b1d
call fcn.0040eca5
mov edi, eax
and edi, 0x1fffff
add edi, 0x300000
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00406987
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x406b56
mov dword [0x412180], 0x55020102
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov dword [0x41217c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406b7f
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
test eax, eax
jne 0x406b86
mov dword [0x412180], 0x55020103
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov dword [0x41217c], eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x18]
pop edi
jmp 0x406ba3
mov dword [0x412180], 0x55020101
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x41217c], eax
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x409145
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
push esi
push edi
push 0x104
lea eax, [ebp - 0x104]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push eax
push eax
call dword [sym.imp.USER32.dll_CharToOemA]
lea eax, [ebp - 0x104]
push eax
push eax
push 0xc8
push 0xe4
push 0x66
push 0x4107a8
mov esi, 0x4122f8
push esi
call fcn.00402544
add esp, 0x14
push eax
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x100
push edi
push esi
call fcn.0040ee2a
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.00409064
add esp, 0x24
test eax, eax
je 0x4091e7
push edi
push edi
push edi
lea eax, [ebp - 0x104]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
leave
ret

Function at 0x4091eb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp byte [edi], 0
mov dword [ebp - 4], 0x10
je 0x409308
push 0xd
push edi
call fcn.0040ed03
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x40923f
push 0xa
push edi
call fcn.0040ed03
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x40923f
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409233
sub eax, edx
lea ebx, [eax + edi]
mov esi, ebx
sub esi, edi
cmp esi, 0x200
jb 0x409250
mov esi, 0x1ff
push esi
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.0040ee08
add esp, 0xc
mov byte [ebp + esi - 0x208], 0
cmp byte [ebp - 0x208], 0
je 0x4092dd
cmp byte [ebp - 0x208], 0x20
lea eax, [ebp - 0x208]
jne 0x40929b
inc eax
cmp byte [eax], 0x20
je 0x409281
jmp 0x40929b
cmp cl, 0x22
je 0x40929a
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x409289
cmp cl, 0x22
jne 0x4092a8
inc eax
cmp byte [eax], 0x22
je 0x40928e
jmp 0x4092a8
cmp byte [eax], 0x20
je 0x4092b2
inc eax
cmp byte [eax], 0
jne 0x4092a2
cmp byte [eax], 0x20
jne 0x4092bd
mov byte [eax], 0
inc eax
cmp byte [eax], 0x20
je 0x4092b5
jmp 0x4092bf
xor eax, eax
xor ecx, ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 8], eax
cmp eax, 0x2a
jne 0x409310
mov al, byte [ebx]
cmp al, 0xd
je 0x4092e7
cmp al, 0xa
jne 0x4092ea
inc ebx
jmp 0x4092dd
cmp byte [ebx], 0
mov edi, ebx
je 0x4092fc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
cmp byte [ebx], 0
jne 0x40920e
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp - 4]
or ecx, 0x55020100
mov dword [0x412180], ecx
mov dword [0x41217c], eax
jmp 0x40930b
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..00cfg
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x4a12703c
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xcb953ec
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x403180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403199
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4031d6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4031d2
nop word [eax + eax]
cmp esi, edx
jae 0x4031d6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4031c0
cmp esi, edx
jb 0x4031dd
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x405347
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x415448
push 0x415440
push 0x415448
push 0
call fcn.004052c0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x405379
push dword [ebp + 8]
mov ecx, esi
call fcn.00403ad4
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x4053bb
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x41546c
push 0x415464
push 0x41546c
push 2
call fcn.004052c0
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x4053ec
mov ecx, esi
call fcn.00403ad4
call esi
jmp 0x4053f2
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x4053f5
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x415480
push 0x415478
push 0x415480
push 3
call fcn.004052c0
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x405429
mov ecx, esi
call fcn.00403ad4
call esi
jmp 0x40542f
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret
Function at 0x40102a
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebx
push ebp
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ebp, ebp
pop ecx
test eax, eax
je 0x401079
push str.Windows_original_main_args:_n
call fcn.004010ff
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov esi, ebp
pop ecx
call edi
cmp dword [eax], ebp
jle 0x401079
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.004010ff
add esp, 0xc
inc esi
call edi
cmp esi, dword [eax]
jl 0x401059
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov ebx, eax
lea ecx, [ebx*4 + 4]
push ecx
call sub.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
mov edx, ebp
test ebx, ebx
jle 0x4010b7
mov edi, esi
mov ecx, dword [eax + edx*8]
inc edx
mov dword [edi], ecx
lea edi, [edi + 4]
cmp edx, ebx
jl 0x4010aa
mov ecx, dword [str.java]
mov dword [esi + edx*4], ebp
test ecx, ecx
jne 0x4010c6
mov ecx, dword [esi]
mov eax, dword [section..data]
test eax, eax
jne 0x4010d1
mov eax, dword [esi]
push ebp
push ebp
push ebp
push 1
push ecx
push eax
push 0x4021c8
push 0x4021cc
push 0x40300c
push 2
push 0x403004
push 2
push esi
push ebx
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x401810
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40184f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40184f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40184f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40184f
cmp dword [ecx + 0x74], 0xe
jbe 0x40184f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x56fef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.MYCRACK_1
lea edi, [esi - 0x129000]
push edi
or ebp, 0xffffffff
jmp 0x56ff12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56ff19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56ff08
mov eax, 1
add ebx, ebx
jne 0x56ff2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56ff3c
jne 0x56ff5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56ff5b
dec eax
add ebx, ebx
jne 0x56ff48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56ff20
add ebx, ebx
jne 0x56ff57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56ffad
xor ecx, ecx
sub eax, 3
jb 0x56ff73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56ffe2
sar eax, 1
mov ebp, eax
jmp 0x56ff7e
add ebx, ebx
jne 0x56ff7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56ff4c
inc ecx
add ebx, ebx
jne 0x56ff8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56ff4c
add ebx, ebx
jne 0x56ff99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56ff8e
jne 0x56ffaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56ff8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56ffcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56ffbe
jmp 0x56ff0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56ffcc
add edi, ecx
jmp 0x56ff0e
pop esi
mov edi, esi
mov ecx, 0x3272
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56ffea
cmp byte [edi], 0x13
jne 0x56ffea
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 0x56ffef
lea edi, [esi + 0x16b000]
mov eax, dword [edi]
or eax, eax
je 0x570067
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x177c58]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x177d5c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57001c
mov ecx, edi
jns 0x57004b
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 + 0x177d60]
or eax, eax
je 0x570061
mov dword [ebx], eax
add ebx, 4
jmp 0x570039
call dword [esi + 0x177d68]
mov ebp, dword [esi + 0x177d64]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x57009b
sub esp, 0xffffff80
jmp 0x423149