joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f1bcc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5f1c6e
cmp dword [ebx + 0xac], 0
jne 0x5f1c68
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5f1b0c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5f1c68
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5f1c2e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5f1c68
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004667d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5f1c3d
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5f1f14
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x6127a8]
cmp dword [eax + 0x188], 0
je 0x5f207d
test bl, bl
jne 0x5f1fd0
cmp dword [esi + 0xb4], 0
jne 0x5f1fc5
mov eax, esi
call fcn.005f507c
push eax
push 0x5f1e14
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5f1f96
mov eax, dword [0x6127a8]
cmp byte [eax + 0xeb], 0
je 0x5f1f96
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5f1f77
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5f1f96
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5f1f7f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5f1fc5
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004667d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5f1fa5
inc dword [esi + 0xb4]
jmp 0x5f207d
cmp dword [esi + 0xb4], 0
jle 0x5f207d
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5f207d
cmp dword [esi + 0x58], 0
je 0x5f2032
mov eax, dword [0x6127a8]
cmp byte [eax + 0xeb], 0
je 0x5f2032
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5f2013
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5f2032
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5f201b
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5f2061
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004667d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5f2041
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5e3298]
call fcn.0040c0e0
pop edi
pop esi
pop ebx
ret
Function at 0x5f2e04
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5f2e61
cmp byte [ebx + 0xeb], 0
jne 0x5f2e61
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409e5c
mov eax, dword [esi]
test eax, eax
je 0x5f2e4e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5f2e6e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a0b4
jmp 0x5f2e6e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a0b4
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5f47b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5f4829
mov eax, esi
call fcn.0054b698
test al, al
je 0x5f4829
mov eax, dword [ebx + 0x98]
call fcn.0054b2c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5f4829
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x140]
test al, al
je 0x5f481a
push 0
mov eax, dword [ebx + 0x98]
call fcn.0054b2c4
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00541e9c
jmp 0x5f4829
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005f45c4
pop esi
pop ebx
ret
Function at 0x5f93d4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5f945a
mov eax, dword [ebx + 8]
call fcn.0054b2c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x557894]
call fcn.005453dc
mov dword [ebx + 0x8c], eax
mov esi, dword [ebx + 0x8c]
xor edx, edx
mov eax, esi
call fcn.0055c660
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2c8], 0x5f8ca4
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0054b2c4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0054b2c4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5f94dc
mov eax, dword [ebx + 8]
call fcn.0054b2c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x557894]
call fcn.005453dc
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov dl, 1
mov eax, esi
call fcn.0055c660
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2c8], 0x5f8cf0
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0054b2c4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0054b2c4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5f955a
mov eax, dword [ebx + 8]
call fcn.0054b2c4
mov ecx, eax
mov dl, 1
mov eax, dword [0x55833c]
call fcn.005453dc
mov dword [ebx + 0x94], eax
mov esi, dword [ebx + 0x94]
mov byte [esi + 0x2a0], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0054b2c4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0054b2c4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x408922
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
mov edi, 0x53e21765
mov edx, edx
call fcn.00408957
add edx, 0xe4bc024e
xor dword [ecx], ebx
add edi, 0xf4397659
sub edx, edi
add ecx, 1
cmp ecx, esi
jne fcn.00408922
and edi, edi
sub edx, 0x241310be
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.00401537
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x4019de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, esi
add ebx, 0xc8
mov edi, dword [ebp + 0xc]
mov ecx, esi
mov eax, edi
shl eax, cl
cdq
idiv ebx
mov dword [ebp - 8], eax
and dword [ebp - 4], 0
jmp 0x401a7c
and dword [ebp - 0xc], 0
and dword [ebp - 0x10], 0
jmp 0x401a17
add dword [ebp - 0xc], ebx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
jl 0x401a11
mov ecx, dword [ebp - 8]
cmp eax, ecx
jne 0x401a30
mov eax, dword [ebp + 0xc]
add eax, esi
mov ebx, eax
sub ebx, dword [ebp - 0xc]
or ebx, ebx
je 0x401a8d
and dword [ebp - 0x14], 0
push ebx
push dword [ebp - 0xc]
push esi
call fcn.0040198a
mov dword [ebp - 0x18], eax
push ebx
push dword [ebp - 0xc]
push esi
call fcn.0040198a
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
or edx, esi
add edx, eax
push edx
mov edx, dword [ebp - 0x18]
xor edx, esi
add edx, eax
push edx
call fcn.00401970
add esp, 0x20
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x7e8
jl 0x401a38
inc dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edx, esi
dec edx
and eax, edx
cmp dword [ebp - 4], eax
jle 0x401a07
pop edi
pop esi
pop ebx
leave
ret
Function at 0x485270
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.HTDG1
lea edi, [esi - 0x4b000]
push edi
or ebp, 0xffffffff
jmp 0x485292
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x485299
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x485288
mov eax, 1
add ebx, ebx
jne 0x4852ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4852bc
jne 0x4852db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4852db
dec eax
add ebx, ebx
jne 0x4852c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4852a0
add ebx, ebx
jne 0x4852d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48532d
xor ecx, ecx
sub eax, 3
jb 0x4852f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x485362
sar eax, 1
mov ebp, eax
jmp 0x4852fe
add ebx, ebx
jne 0x4852fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4852cc
inc ecx
add ebx, ebx
jne 0x48530c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4852cc
add ebx, ebx
jne 0x485319
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48530e
jne 0x48532a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48530e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48534c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48533e
jmp 0x48528e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48534c
add edi, ecx
jmp 0x48528e
pop esi
mov edi, esi
mov ecx, 0x1e6d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48536a
cmp byte [edi], 0x16
jne 0x48536a
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 0x48536f
lea edi, [esi + 0x80000]
mov eax, dword [edi]
or eax, eax
je 0x4853de
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x851dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8525c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48539c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x85264]
or eax, eax
je 0x4853d8
mov dword [ebx], eax
add ebx, 4
jmp 0x4853b9
call dword [esi + 0x85260]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x48540f
cmp al, 0xef
ja 0x485402
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4853e4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4853f1
mov ebp, dword [esi + 0x85268]
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 0x485443
sub esp, 0xffffff80
jmp 0x422b1a
Function at 0x404d00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x404d32
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.004054e0
pop ecx
mov esi, eax
test esi, esi
jne 0x404d65
push 1
call fcn.00404530
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x407288], eax
mov dword [0x40728c], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x404dbb
mov ebx, dword [0x407358]
mov esi, ebx
xor ecx, ecx
jmp 0x404dde
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404dc6
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404dd9
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404dc1
lea eax, [ecx + 1]
push eax
call fcn.004054e0
pop ecx
mov edi, eax
mov dword [0x407294], eax
cmp dword [0x407294], 0
jne 0x404e05
push 1
call fcn.00404530
pop ecx
mov esi, ebx
jmp 0x404e3a
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404e0e
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404e35
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x404e25
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404e09
mov byte [edi], 0
cmp ebx, dword [0x407358]
je 0x404e51
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1000100c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x1003bfe8], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x10001050
call ebx
test eax, eax
jns 0x10001046
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x1003bfec], eax
mov dword [0x1003bfe8], 1
mov eax, dword [0x1003bfec]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000106c
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000109c
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x10001092
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x10001087
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x1000108c
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x1000109b
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x10001fe2
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
push esi
mov esi, ecx
test eax, eax
jg 0x10001ff4
call fcn.100016a4
test eax, eax
jle 0x1000200f
push edi
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x10033450]
mov edi, edx
shl edi, 3
xor ecx, edi
xor edx, ecx
inc esi
dec eax
test eax, eax
jg 0x10001ff5
pop edi
mov eax, edx
and eax, 0x7fffffff
pop esi
ret

Function at 0x10005dfe
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
and dword [ebp - 8], 0
push ebx
push edi
call fcn.100016b9
mov ebx, dword [edx + 4]
and dword [ebp - 4], 0
mov edi, eax
inc edi
test ebx, ebx
jle 0x10005e73
mov eax, dword [edx + 8]
mov dword [ebp - 0xc], eax
push esi
mov eax, dword [ebp - 4]
cmp eax, 2
jge 0x10005e32
xor eax, 1
mov ecx, dword [ebp - 0xc]
imul eax, eax, 0x18
add eax, ecx
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax + 0x14]
test ecx, ecx
je 0x10005e4f
mov edx, dword [eax]
call fcn.10001733
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [0x1003b5cc]
call esi
mov edi, eax
push dword [0x1003b5d4]
call esi
mov dword [esp + 0x1c], eax
inc esp
and al, 0x1c
mov ecx, dword [ebx + 0x1c]
mov eax, dword [edi + 0x3c]
inc edi
cmp al, 0x8b
inc esp
pop es
js 0x10005e0c
push esp
pop es
and byte [ecx], al
cli
mov dword [esp + 8], edx
mov edx, dword [edi + eax + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp + 4], edi
add al, 0x8b
inc esp
pop es
and al, 0x89
inc esp
and al, 0x18
Function at 0x10005e7a
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
and dword [ebp - 8], 0
push ebx
push edi
call fcn.100016b9
mov ebx, dword [edx + 4]
and dword [ebp - 4], 0
mov edi, eax
inc edi
test ebx, ebx
jle 0x10005e73
mov eax, dword [edx + 8]
mov dword [ebp - 0xc], eax
push esi
mov eax, dword [ebp - 4]
cmp eax, 2
jge 0x10005e32
xor eax, 1
mov ecx, dword [ebp - 0xc]
imul eax, eax, 0x18
add eax, ecx
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax + 0x14]
test ecx, ecx
je 0x10005e4f
mov edx, dword [eax]
call fcn.10001733
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [0x1003b5cc]
call esi
mov edi, eax
push dword [0x1003b5d4]
call esi
mov dword [esp + 0x1c], eax
inc esp
and al, 0x1c
mov ecx, dword [ebx + 0x1c]
mov eax, dword [edi + 0x3c]
inc edi
cmp al, 0x8b
inc esp
pop es
js 0x10005e0c
push esp
pop es
and byte [ecx], al
cli
mov dword [esp + 8], edx
mov edx, dword [edi + eax + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp + 4], edi
add al, 0x8b
inc esp
pop es
and al, 0x89
inc esp
and al, 0x18

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

Disassembly:
add al, 0x8b
inc esp
pop es
and al, 0x89
inc esp
and al, 0x18
mov dword [esp + 0xc], ecx
mov eax, dword [ecx + 0x104]
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x10005ec4
lea eax, [esi + 1]
cmp ecx, dword [esp + 0x10]
je 0x10005efc
mov esi, eax
mov eax, dword [esp + 8]
mov edi, dword [eax + esi*4]
add edi, dword [esp + 4]
mov ecx, edi
call fcn.1000738b
test eax, eax
mov ecx, 0
je 0x10005ebb
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x1c]
xor ecx, ecx
nop
imul ecx, edx
movsx ebx, byte [edi]
movzx ebx, bx
add ecx, ebx
inc edi
dec eax
jne 0x10005eeb
jmp 0x10005ebb
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x18]
add eax, ecx
mov edx, dword [esp + 0x14]
add edx, ecx
movzx eax, word [eax + esi*2]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x12c]
mov dword [esp + 8], eax
and al, 8
mov eax, dword [ecx + 0x3c]
mov eax, dword [ecx + eax + 0x78]
mov edx, dword [ecx + eax + 0x20]
add edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [ecx + eax + 0x1c]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + eax + 0x24]
mov dword [esp + 0x18], eax
xor eax, eax
jmp 0x10005f54
Function at 0x10005f61
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea eax, [ebx + 1]
cmp ecx, dword [esp + 8]
je 0x10005f8c
mov ebx, eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax + ebx*4]
add edi, dword [esp + 4]
mov ecx, edi
call fcn.1000738b
test eax, eax
mov ecx, 0
je 0x10005f4b
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x1c]
xor ecx, ecx
nop
imul ecx, edx
movsx esi, byte [edi]
movzx esi, si
add ecx, esi
inc edi
dec eax
jne 0x10005f7b
jmp 0x10005f4b
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x18]
add eax, ecx
mov edx, dword [esp + 0x14]
add edx, ecx
movzx eax, word [eax + ebx*2]
mov bh, 4
pop eax
mov eax, dword [edx + eax*4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xdc]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x3c]
mov eax, dword [ecx + eax + 0x78]
mov edx, dword [ecx + eax + 0x20]
add edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [ecx + eax + 0x1c]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + eax + 0x24]
mov dword [esp + 0x18], eax
sbb byte [ecx], dh
shr bl, 0xa
lea eax, [ebx + 1]
cmp ecx, dword [esp + 8]
je 0x1000601c
mov ebx, eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax + ebx*4]
add edi, dword [esp + 4]
mov ecx, edi
call fcn.1000738b
test eax, eax
mov ecx, 0
je 0x10005fdb
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x1c]
xor ecx, ecx
nop
imul ecx, edx
movsx esi, byte [edi]
movzx esi, si
add ecx, esi
inc edi
dec eax
jne 0x1000600b
jmp 0x10005fdb
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x18]
add edx, eax

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

Disassembly:
mov ecx, dword [esp + 0x14]
add ecx, eax
movzx eax, word [edx + ebx*2]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x3c]
mov eax, dword [ecx + eax + 0x78]
mov edx, dword [ecx + eax + 0x20]
add edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [ecx + eax + 0x1c]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + eax + 0x24]
mov dword [esp + 0x18], eax
xor eax, eax
jmp 0x10006074
lea eax, [ebx + 1]
cmp ecx, dword [esp + 8]
je 0x100060ac
mov ebx, eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax + ebx*4]
add edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.1000738b
test eax, eax
mov ecx, 0
je 0x1000606b
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x1c]
xor ecx, ecx
nop
imul ecx, edx
movsx esi, byte [edi]
movzx esi, si
add ecx, esi
inc edi
dec eax
jne 0x1000609b
jmp 0x1000606b
mov ecx, dword [esp + 4]
add dword [esp + 0x48], ecx
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
add esi, eax
mov edx, dword [esp + 0x14]
add edx, eax
movzx eax, word [esi + ebx*2]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x3c]