joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e20b0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], eax
cmp byte [0x5aeb40], 0
jne 0x4e20c7
jmp 0x4e21a6
mov dword [ebp - 0x58], 8
mov eax, fcn.004dc230
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.00410b40
mov dword [ebp - 0x48], eax
mov eax, str.MAINICON
push eax
push dword [0x5b5dc0]
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4e2109
jmp 0x4e2118
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x44], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov eax, str.Window
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x58]
push eax
call sub.user32.dll_RegisterClassW
movzx eax, ax
test eax, eax
setne byte [ebp - 8]
cmp byte [ebp - 8], 0
jne 0x4e2157
jmp 0x4e21a1
mov eax, dword [ebp - 0x58]
or eax, 0x800
mov dword [ebp - 0x58], eax
mov eax, dword [0x5aeb50]
cmp eax, 6
jae 0x4e216e
jmp 0x4e2179
mov eax, dword [ebp - 0x58]
or eax, 0x20000
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov eax, str.HintWindow
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x58]
push eax
call sub.user32.dll_RegisterClassW
movzx eax, ax
test eax, eax
setne byte [ebp - 8]
jmp 0x4e2280
mov dword [ebp - 0x30], 8
mov eax, fcn.004dc230
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00410b40
mov dword [ebp - 0x20], eax
mov eax, str.MAINICON
push eax
push dword [0x5b5dc0]
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4e21e8
jmp 0x4e21f7
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x1c], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, 0x5874b0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassA
movzx eax, ax
test eax, eax
setne byte [ebp - 8]
cmp byte [ebp - 8], 0
jne 0x4e2236
jmp 0x4e2280
mov eax, dword [ebp - 0x30]
or eax, 0x800
mov dword [ebp - 0x30], eax
mov eax, dword [0x5aeb50]
cmp eax, 6
jae 0x4e224d
jmp 0x4e2258
mov eax, dword [ebp - 0x30]
or eax, 0x20000
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov eax, 0x5874c0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassA
movzx eax, ax
test eax, eax
setne byte [ebp - 8]
mov al, byte [ebp - 8]
leave
ret
Function at 0x4e3350
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov byte [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push dword [eax - 8]
call sub.user32.dll_GetClipboardData
mov edx, dword [ebp - 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x14]
test eax, eax
jne 0x4e3383
jmp 0x4e3409
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalSize
mov edx, dword [ebp - 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0x1c]
cmp eax, 0
jg 0x4e33a1
jmp 0x4e3409
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalLock
mov edx, dword [ebp - 8]
mov dword [edx - 0x18], eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x30]
mov eax, 1
call fcn.0040b820
call fcn.0040d7e0
push eax
test eax, eax
jne 0x4e33e6
mov eax, dword [ebp - 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0x84]
call fcn.0040baf0
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalUnlock
pop eax
test eax, eax
je 0x4e3405
dec eax
test eax, eax
je 0x4e3400
call fcn.0040bc60
mov byte [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
mov ebx, dword [ebp - 0x38]
leave
ret
Function at 0x52a060
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ebx
mov dword [ebp - 4], esi
cmp byte [0x5a1ab0], 0
je 0x52a084
mov eax, 0x5a1b00
test eax, eax
setne bl
jmp 0x52a16a
mov eax, str.USER32
push eax
call sub.kernel32.dll_GetModuleHandleA
mov esi, eax
test eax, eax
je 0x52a11b
mov eax, str.GetSystemMetrics
push eax
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a1ac0], eax
mov eax, str.MonitorFromWindow
push eax
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a1ad0], eax
mov eax, str.MonitorFromRect
push eax
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a1ae0], eax
mov eax, str.MonitorFromPoint
push eax
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a1af0], eax
mov eax, str.EnumDisplayMonitors
push eax
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a1b10], eax
mov eax, str.GetMonitorInfoA
push eax
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a1b00], eax
mov eax, str.EnumDisplayDevicesA
push eax
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a1b20], eax
mov byte [0x5a1ab0], 1
mov bl, 1
jmp 0x52a16a
mov dword [0x5a1ac0], 0
mov dword [0x5a1ad0], 0
mov dword [0x5a1ae0], 0
mov dword [0x5a1af0], 0
mov dword [0x5a1b10], 0
mov dword [0x5a1b00], 0
mov dword [0x5a1b20], 0
mov byte [0x5a1ab0], 1
mov bl, 0
mov al, bl
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
leave
ret

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

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

Function at 0x6e9a80
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xf0c1ef
jmp 0xf0c251
push esi
push esp
pop esi
add esi, 4
push ecx
mov ecx, 4
sub esi, ecx
mov ecx, dword [esp]
add esp, 4
xchg dword [esp], esi
pop esp
mov dword [esp], ebp
jmp 0xf0c30f
jmp 0xf32264
push eax
push edi
mov edi, 0x30f25b19
mov dword [esp + 4], edi
mov edi, dword [esp]
add esp, 4
mov dword [esp], eax
mov dword [esp], ecx
jmp 0xf118ff
jmp 0xf29704
push ebp
push esp
pop ebp
push edx
mov edx, 4
add ebp, edx
pop edx
push ecx
mov ecx, 0x14
sub ebp, ecx
pop ecx
push ebp
push dword [esp + 4]
pop ebp
pop dword [esp]
pop esp
jmp 0xf1344f
jmp 0xf313a6
jmp 0xf297b1
jmp 0xf314a4
push ebp
push ecx
mov dword [esp], ebp
mov ebp, 0x6f58efed
mov dword [esp + 4], ebp
pop ebp
mov dword [esp], eax
mov dword [esp], ebx
jmp 0xf314be
jmp 0xf117da
push ebx
mov dword [esp], esi
mov dword [esp], 0x4db51fd0
mov dword [esp], esp
push esi
mov esi, 4
add dword [esp + 4], esi
pop esi
pop ebp
jmp 0xf3238d
jmp 0xf1332a
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3f980fa8
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x21b412c5
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x1010ce40
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1010d004
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc0000]
push edi
or ebp, 0xffffffff
jmp 0x1010ce6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1010ce71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1010ce60
mov eax, 1
add ebx, ebx
jne 0x1010ce83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1010ce78
jne 0x1010ce94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1010ce78
xor ecx, ecx
sub eax, 3
jb 0x1010cea8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1010cf1a
mov ebp, eax
add ebx, ebx
jne 0x1010ceb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1010cec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1010cee4
inc ecx
add ebx, ebx
jne 0x1010ced0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1010cec5
jne 0x1010cee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1010cec5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1010cf04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1010cef5
jmp 0x1010ce66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1010cf04
add edi, ecx
jmp 0x1010ce66
pop esi
mov edi, esi
mov ecx, 0x2042
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1010cf22
cmp byte [edi], 0xe
jne 0x1010cf22
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 0x1010cf27
lea edi, [esi + 0xe0000]
mov eax, dword [edi]
or eax, eax
je 0x1010cf96
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1003d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x100480]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1010cf54
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x100484]
or eax, eax
je 0x1010cf90
mov dword [ebx], eax
add ebx, 4
jmp 0x1010cf71
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 0x1010cfc7
cmp al, 0xef
ja 0x1010cfba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1010cf9c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1010cfa9
mov ebp, dword [esi + 0x100488]
lea edi, [esi - 0x10000]
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 0x1010cffb
sub esp, 0xffffff80
jmp 0x1002f9ff
Function at 0x401d50
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x401dc0
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov edx, 2
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
cmp word [eax + ecx + 0x5c], 2
je 0x401da0
mov edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401350
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x7f4ade
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xa67542
cpuid
jmp 0xa5bacc
jmp 0xa5d61d
sub esp, 4
mov dword [esp], ebx
push eax
mov eax, 0
mov dword [esp + 4], eax
pop eax
mov eax, dword [esp]
add esp, 4
jmp 0xa5d72f
jmp 0xa7926b
jmp 0xa62e06
push ebx
push 0x76486479
mov dword [esp], esi
mov esi, 0
mov dword [esp + 4], esi
pop esi
mov eax, dword [esp]
add esp, 4
jmp 0xa62e27
jmp 0xa5b9bb
push edx
push esp
pop edx
add edx, 4
sub edx, 4
xchg dword [esp], edx
pop esp
mov dword [esp], eax
pop dword [ebp - 0x14]
jmp 0xa63678
jmp 0xa649e8
jmp 0xa63b77
sub esp, 4
mov dword [esp], esi
mov dword [esp], 0x37c12704
mov dword [esp], edx
mov dword [esp], ecx
mov dword [esp], ebx
jmp 0xa63b92
jmp 0xa7938e
rdtsc
jmp 0xa63c9e
jmp 0xa63547
cpuid
jmp 0xa648e2
jmp 0xa7d09b
push ecx
mov ecx, esp
add ecx, 4
push ebp
mov ebp, 4
sub ecx, ebp
pop ebp
xchg dword [esp], ecx
pop esp
mov dword [esp], ecx
mov dword [esp], edx
pop dword [ebp - 0x10]
jmp 0xa64aeb
jmp 0xa67336
jmp 0xa6662b
sub ecx, ebx
add ecx, 0x6aef5c93
pop ebx
xchg dword [esp], ecx
mov esp, dword [esp]
mov dword [esp], edx
jmp 0xa66645
push ecx
mov ecx, esp
add ecx, 4
push ebx
mov ebx, 4
sub ecx, 0x6aef5c93
jmp 0xa66567
jmp 0xa63baa
push edx
push esi
mov dword [esp], ecx
push edi
mov edi, 0
mov dword [esp + 4], edi
pop edi
pop edx
mov eax, edx
pop edx
jmp 0xa6743d
jmp 0xa647fe
jmp 0xa67629
push ecx
push edi
push 0x47b771b4
pop edi
mov dword [esp + 4], edi
mov edi, dword [esp]
add esp, 4
mov dword [esp], ebp
jmp 0xa67643
jmp 0xa7e61f
jmp 0xa67708
cpuid
jmp 0xa67759
jmp 0xa62d14
push esi
mov esi, esp
add esi, 4
sub esi, 0x14
push 0x51de0594
mov dword [esp], esi
push dword [esp + 4]
mov esi, dword [esp]
add esp, 4
pop dword [esp]
jmp 0xa72ff7
mov esp, dword [esp]
jmp 0xa72fff
jmp 0xa63a66
cpuid
jmp 0xa7934e
jmp 0xa628c6
sub esp, 4
mov dword [esp], eax
push ecx
push 0x48c941b1
jmp 0xa7939f
pop ecx
mov dword [esp + 4], ecx
pop ecx
mov dword [esp], ecx
jmp 0xa794ac
jmp 0xa66506
push eax
mov dword [esp], 0
mov eax, dword [esp]
push edi
push esp
pop edi
add edi, 4
jmp 0xa7d16c
add edi, 4
xchg dword [esp], edi
pop esp
jmp 0xa7d1d8
jmp 0xa67648
jmp 0xa7e6dc
mov esp, dword [esp]
jmp 0xa7e752
push esp
push dword [esp]
pop ebp
push ebp
mov ebp, esp
add ebp, 4
add ebp, 4
xchg dword [esp], ebp
jmp 0xa7e6d4
jmp 0xa72ec1
Function at 0x71f23c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xb77c99
sub esp, 4
mov dword [esp], esi
push esi
push 0x6333afea
pop esi
mov dword [esp + 4], esi
pop esi
mov dword [esp], edi
jmp 0xb51392
jmp 0xb57133
jmp 0xb571dc
mov dword [esp], ebp
jmp 0xb57255
push ebp
push esi
push 0x7bbfb4b4
pop esi
mov dword [esp + 4], esi
mov esi, dword [esp]
add esp, 4
jmp 0xb57138
jmp 0xb78d3f
push dword [ebp + 8]
jmp 0xb57fce
jmp 0xb6bf5d
jmp 0xb654b4
mov dword [esp], edi
mov dword [esp], ebx
jmp 0xb654c8
push 0xb8b154b
mov dword [esp], edi
mov dword [esp], 0xc714aae
jmp 0xb654a9
jmp 0xb6ae41
push ebx
mov dword [esp], 0x56f8cf3b
mov dword [esp], esi
mov dword [esp], eax
mov dword [esp], ebp
mov dword [esp], esi
jmp 0xb6af71
jmp 0xb735c9
jmp 0xb6bfbb
call dword [edi + 0xc3ab0]
jmp 0xb6c088
jmp 0xb75685
jmp 0xb6c1a2
push eax
mov dword [esp], 0x3fac91e1
mov dword [esp], esp
push ecx
mov ecx, 4
add dword [esp + 4], ecx
pop ecx
mov ebp, dword [esp]
add esp, 4
jmp 0xb6c1c6
jmp 0xb7b639
mov ebp, dword [esp]
push edi
sub esp, 4
push esp
pop dword [esp]
add dword [esp], 4
pop edi
add edi, 4
add edi, 4
xchg dword [esp], edi
pop esp
jmp 0xb7025d
jmp 0xb57eb5
jmp fcn.00b736c6
jmp 0xb75773
push edi
mov edi, esp
add edi, 4
sub edi, 4
xchg dword [esp], edi
pop esp
mov dword [esp], ebp
mov dword [esp], 0x6cd37bc3
mov dword [esp], eax
pop dword [ebp - 0x258]
jmp 0xb7579b
jmp 0xb653dd
jmp 0xb76409
xor eax, dword [esp]
xor dword [esp], eax
xor eax, dword [esp]
pop esp
jmp 0xb76427
sub esp, 4
mov dword [esp], ebp
mov edi, dword [esp]
push eax
mov eax, esp
add eax, 4
add eax, 4
jmp 0xb763fa
jmp 0xb70119
jmp 0xb77dbf
and ecx, 0x7bdfc086
shl ecx, 1
dec ecx
sub ecx, 0xe6000103
add ebx, ecx
mov ecx, dword [esp]
add esp, 4
sub ebx, 4
xchg dword [esp], ebx
pop esp
mov dword [esp], esi
mov dword [esp], ebp
jmp 0xb77ddc
push ebx
mov ebx, esp
push ecx
mov ecx, 0x7fbfaec6
shr ecx, 7
xor ecx, 0x77df5388
jp 0xb77dbf
jmp 0xb77cf7
jmp 0xb6c094
call fcn.00731a88
jmp 0xb762ee
jmp 0xb7b685
push eax
push esp
mov eax, dword [esp]
add esp, 4
push edi
mov edi, 4
add eax, edi
mov edi, dword [esp]
add esp, 4
sub eax, 0x258
xchg dword [esp], eax
pop esp
jmp 0xb7b75d
jmp 0xb5126e
Function at 0x4c5f31
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cd390
cmp edx, dword [eax]
je 0x4c5f53
add eax, 8
inc ecx
cmp eax, 0x4cd420
jl 0x4c5f44
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cd390]
jne 0x4c6081
mov eax, dword [0x4d2dc0]
cmp eax, 1
je 0x4c605b
test eax, eax
jne 0x4c5f84
cmp dword [0x4cd2bc], 1
je 0x4c605b
cmp edx, 0xfc
je 0x4c6081
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c5fbb
lea eax, [ebp - 0x1a4]
push 0x4cb6b8
push eax
call fcn.004c6910
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c6da0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c5ffe
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c6da0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cb6b4
push edi
call fcn.004c8c70
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4cb698
push eax
call fcn.004c6910
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c6920
lea eax, [ebp - 0xa0]
push 0x4cb694
push eax
call fcn.004c6920
push dword [esi + 0x4cd394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c6920
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cb66c
push eax
call fcn.004c8be4
add esp, 0x2c
pop edi
jmp 0x4c6081
lea eax, [ebp + 8]
lea esi, [esi + 0x4cd394]
push 0
push eax
push dword [esi]
call fcn.004c6da0
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 0x4571f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0x6c078965
call fcn.0046b8d0
sub esp, 0xc
mov eax, dword [ebp - 8]
add esp, 0x14
pop ebp
ret 4
Function at 0x46c000
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
cmp dword [eax], 0x270
jne 0x46c028
mov ecx, dword [ebp - 0xc]
call fcn.0046c0a0
jmp 0x46c045
mov ecx, dword [ebp - 0xc]
mov eax, 0x4e0
cmp eax, dword [ecx]
ja 0x46c040
mov ecx, dword [ebp - 0xc]
call fcn.0046c140
jmp 0x46c045
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov edx, eax
add edx, 1
mov dword [ecx], edx
mov eax, dword [ecx + eax*4 + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0xb
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x12
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add esp, 0xc
pop ebp
ret

Function at 0x46c0a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x270
cmp dword [ebp - 0x10], 0x4e0
jae 0x46c133
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
sub ecx, 0x270
mov ecx, dword [eax + ecx*4 + 4]
and ecx, 0x80000000
mov edx, dword [ebp - 0x10]
sub edx, 0x270
mov edx, dword [eax + edx*4 + 8]
and edx, 0x7fffffff
or ecx, edx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
shr edx, 1
mov edi, dword [ebp - 0x14]
and edi, 1
xor ecx, ecx
mov esi, 0x9908b0df
cmp edi, 0
cmovne ecx, esi
xor edx, ecx
mov ecx, dword [ebp - 0x10]
sub ecx, 0x270
xor edx, dword [eax + ecx*4 + 0x638]
mov ecx, dword [ebp - 0x10]
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x46c0b8
add esp, 0x10
pop esi
pop edi
pop ebp
ret
Function at 0x46c140
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0xe3
jae 0x46c1c7
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [eax + ecx*4 + 0x9c4]
and ecx, 0x80000000
mov edx, dword [ebp - 0x10]
mov edx, dword [eax + edx*4 + 0x9c8]
and edx, 0x7fffffff
or ecx, edx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
shr edx, 1
mov edi, dword [ebp - 0x14]
and edi, 1
xor ecx, ecx
mov esi, 0x9908b0df
cmp edi, 0
cmovne ecx, esi
xor edx, ecx
mov ecx, dword [ebp - 0x10]
xor edx, dword [eax + ecx*4 + 0xff8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x46c158
jmp 0x46c1cc
cmp dword [ebp - 0x10], 0x26f
jae 0x46c241
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [eax + ecx*4 + 0x9c4]
and ecx, 0x80000000
mov edx, dword [ebp - 0x10]
mov edx, dword [eax + edx*4 + 0x9c8]
and edx, 0x7fffffff
or ecx, edx
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
shr edx, 1
mov edi, dword [ebp - 0x18]
and edi, 1
xor ecx, ecx
mov esi, 0x9908b0df
cmp edi, 0
cmovne ecx, esi
xor edx, ecx
mov ecx, dword [ebp - 0x10]
sub ecx, 0x270
xor edx, dword [eax + ecx*4 + 0x638]
mov ecx, dword [ebp - 0x10]
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x46c1cc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [eax + ecx*4 + 0x9c4]
and ecx, 0x80000000
mov edx, dword [eax + 4]
and edx, 0x7fffffff
or ecx, edx
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
shr edx, 1
mov edi, dword [ebp - 0x1c]
and edi, 1
xor ecx, ecx
mov esi, 0x9908b0df
cmp edi, 0
cmovne ecx, esi
xor edx, ecx
xor edx, dword [eax + 0x634]
mov ecx, dword [ebp - 0x10]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax], 0
add esp, 0x18
pop esi
pop edi
pop ebp
ret
Function at 0x47d8e6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x47d925
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x47d925
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47d925
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x47d925
cmp dword [ecx + 0x74], 0xe
jbe 0x47d925
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret