joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a61d
Capabilities:
Enumerate network shares

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x101a6f8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb0], ebx
cmp esi, ebx
je 0x100a65c
push esi
call fcn.010127cc
test eax, eax
jne 0x100a65c
xor esi, esi
push esi
push edi
call fcn.010096a9
mov esi, eax
cmp esi, ebx
je 0x100a825
mov edi, 0x906
cmp esi, edi
jne 0x100a6a3
push ebx
push dword [ebp - 0xac]
push ebx
call sub.srvcli.dll_NetShareDelSticky
mov esi, eax
cmp esi, ebx
jne 0x100a699
push dword [ebp - 0xac]
push 0x1233
jmp 0x100a820
cmp esi, edi
je 0x100a6a9
push esi
call fcn.0100295a
push esi
call fcn.0100295a
push ebx
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0xac]
call sub.netutils.dll_NetpwPathType
cmp eax, ebx
je 0x100a6c6
push eax
call fcn.0100295a
cmp dword [ebp - 0xc0], 0x2006
jne 0x100a6da
mov dword [ebp - 0xb8], ebx
jmp 0x100a706
test dword [ebp - 0xc0], 0x4000
jne 0x100a6e9
push edi
jmp 0x100a701
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0xac]
push ebx
call sub.srvcli.dll_NetShareCheck
cmp eax, ebx
je 0x100a706
push eax
call fcn.0100295a
mov dword [ebp - 0xbc], ebx
cmp dword [ebp - 0xb8], ebx
je 0x100a720
push 0x57
call fcn.0100295a
jmp 0x100a80b
push ebx
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xc4]
push eax
push 2
push ebx
call sub.srvcli.dll_NetShareEnum
cmp eax, ebx
je 0x100a74a
push eax
call fcn.0100295a
mov esi, dword [ebp - 0xc4]
xor edi, edi
cmp dword [ebp - 0xb4], ebx
jbe 0x100a7cb
push dword [ebp - 0xac]
push dword [esi + 0x18]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100a7bf
push dword [esi]
lea eax, [ebp - 0xa8]
push 0x51
push eax
mov dword [ebp - 0xbc], 1
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
call fcn.0100f2a3
push ebx
lea eax, [ebp - 0xa8]
push eax
call fcn.010096a9
cmp eax, ebx
je 0x100a7bf
inc dword [ebp - 0xb0]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xa8]
push eax
push 0xe8d
call fcn.01010933
inc edi
add esi, 0x20
cmp edi, dword [ebp - 0xb4]
jb 0x100a75a
push dword [ebp - 0xc4]
call sub.netutils.dll_NetApiBufferFree
mov eax, dword [ebp - 0xb0]
cmp eax, ebx
je 0x100a803
cmp eax, dword [ebp - 0xb4]
jne 0x100a7f0
push dword [ebp - 0xc8]
jmp 0x100a810
push 0xdb0
call fcn.010108f6
push 1
call fcn.01002992
jmp 0x100a815
cmp dword [ebp - 0xbc], ebx
jne 0x100a815
push 0xe87
call fcn.0100295a
push dword [ebp - 0xac]
push 0x122a
call fcn.01010933
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002d45
leave
ret 4
Function at 0x100bcbc
Capabilities:
Get domain controller name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x101fc80]
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
test eax, eax
je 0x100bd18
mov esi, 0x101fc80
push str._RTSDOMAIN
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
cmp eax, dword [esi]
je 0x100bcfa
inc edi
lea esi, [edi*4 + 0x101fc80]
mov eax, dword [esi]
test eax, eax
je 0x100bd18
jmp 0x100bcd8
mov ebx, dword [edi*4 + 0x101fc80]
test ebx, ebx
je 0x100bd18
push 0x3a
push ebx
call dword [sym.imp.msvcrt.dll_wcschr]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x100bd18
inc ebx
inc ebx
push ebx
push 0x20
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x64
push 0
call fcn.01011141
test eax, eax
jne 0x100bd78
cmp dword [ebp - 8], eax
je 0x100bd7a
cmp dword [ebp + 0x10], eax
je 0x100bd44
cmp dword [ebp - 8], 1
jbe 0x100bd7a
add dword [ebp - 4], 4
movzx esi, word [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0x1003854
push esi
push edi
call sub.msvcrt.dll_wcscpy_s
mov eax, dword [ebp - 4]
push 0xffffffffffffffff
push dword [eax]
add esi, 0xfffffffe
push esi
add edi, 4
push edi
call sub.msvcrt.dll_wcsncpy_s
add esp, 0x1c
push dword [ebp - 4]
call sub.netutils.dll_NetApiBufferFree
jmp 0x100bdb9
xor eax, eax
lea ecx, [ebp + 0x10]
push ecx
xor ecx, ecx
cmp dword [ebp + 0x10], eax
setne cl
add ecx, 0x800
push ecx
push eax
push eax
push ebx
push eax
call dword [sym.imp.logoncli.dll_DsGetDcNameW]
test eax, eax
je 0x100bda2
mov eax, 0xf48
jmp 0x100bdbb
mov eax, dword [ebp + 0x10]
push 0xffffffffffffffff
push dword [eax]
movzx eax, word [ebp + 0xc]
push eax
push dword [ebp + 8]
call sub.msvcrt.dll_wcsncpy_s
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x100c704
Capabilities:
Delete user account

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 1
push 0
push 0
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.0100f2b3
test eax, eax
je 0x100c73e
push eax
call fcn.0100295a
lea eax, [ebp - 0x214]
push eax
push 2
push esi
lea eax, [ebp - 0x210]
push eax
call sub.samcli.dll_NetUserGetInfo
test eax, eax
jne 0x100c783
mov eax, dword [ebp - 0x214]
test dword [eax + 0x18], 0x3800
je 0x100c778
push eax
call sub.netutils.dll_NetApiBufferFree
push esi
push 0xeab
call fcn.0101081b
push dword [ebp - 0x214]
call sub.netutils.dll_NetApiBufferFree
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.010154f9
mov esi, eax
test esi, esi
je 0x100c7b2
cmp esi, 0x35
jne 0x100c7ac
lea eax, [ebp - 0x210]
push eax
push 0xe81
call fcn.0101081b
push esi
call fcn.0100295a
call fcn.010108de
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01002d45
leave
ret 4
Function at 0x100cf09
Capabilities:
List user accounts

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x430]
push eax
xor edi, edi
push 0xa
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x434], edi
call fcn.01010f03
mov esi, 0x105
test eax, eax
je 0x100cf5a
xor eax, eax
mov dword [ebp - 0x42c], 1
mov word [ebp - 0x41c], ax
jmp 0x100cf7d
mov eax, dword [ebp - 0x430]
push dword [eax]
lea eax, [ebp - 0x41c]
push esi
push eax
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
push dword [ebp - 0x430]
call sub.netutils.dll_NetApiBufferFree
push edi
push edi
push edi
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.0100f2b3
cmp eax, edi
je 0x100cf97
push eax
call fcn.0100295a
push edi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x424]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x428]
push eax
push 0x300
push edi
lea eax, [ebp - 0x210]
push eax
call sub.samcli.dll_NetUserEnum
cmp eax, 0xea
jne 0x100cfd4
mov dword [ebp - 0x434], 1
jmp 0x100cfde
cmp eax, edi
je 0x100cfde
push eax
call fcn.0100295a
cmp dword [ebp - 0x424], edi
jne 0x100cfeb
call fcn.01010959
push 0x100cce1
push 4
push dword [ebp - 0x424]
push dword [ebp - 0x428]
call dword [sym.imp.msvcrt.dll_qsort]
add esp, 0x10
call fcn.010108a7
cmp word [ebp - 0x210], di
je 0x100d032
lea eax, [ebp - 0x210]
push 0x1003740
push eax
call dword [sym.imp.msvcrt.dll_wcsspn]
pop ecx
pop ecx
lea eax, [ebp + eax*2 - 0x210]
jmp 0x100d038
lea eax, [ebp - 0x41c]
push eax
push 0x111c
call fcn.01010933
call fcn.01010842
mov esi, dword [ebp - 0x428]
mov dword [ebp - 0x420], edi
cmp dword [ebp - 0x424], edi
jbe 0x100d0cf
push ebx
xor ebx, ebx
inc ebx
push 0x24
push dword [esi]
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x100d08f
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100d073
sub eax, edx
sar eax, 1
cmp eax, 1
jne 0x100d08f
dec dword [ebp - 0x420]
dec ebx
jmp 0x100d0b9
push 0
push dword [esi]
push 0x19
call fcn.010108bb
push eax
push 0x1003748
call fcn.01010562
pop ecx
pop ecx
push 3
xor edx, edx
mov eax, ebx
pop ecx
div ecx
test edx, edx
jne 0x100d0b9
call fcn.010108a7
inc edi
inc dword [ebp - 0x420]
inc ebx
add esi, 4
cmp edi, dword [ebp - 0x424]
jb 0x100d060
xor edi, edi
pop ebx
push dword [ebp - 0x428]
call sub.netutils.dll_NetApiBufferFree
mov eax, dword [ebp - 0x420]
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
je 0x100d0f0
call fcn.010108a7
cmp dword [ebp - 0x42c], edi
je 0x100d0ff
push 0xdb0
jmp 0x100d10c
cmp dword [ebp - 0x434], edi
je 0x100d11a
push 0xdb9
call fcn.010108f6
push 1
call fcn.01002992
jmp 0x100d11f
call fcn.010108de
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01002d45
leave
ret
Function at 0x100f2b3
Capabilities:
Get domain controller name
Get domain information
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
mov eax, 0x105
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp word [ebp + 0xc], ax
jae 0x100f2d8
mov eax, 0x84b
jmp 0x100f481
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
mov word [ecx], ax
cmp edi, ebx
je 0x100f2fd
cmp dword [ebp + 0x14], 0x10
jae 0x100f2f8
mov eax, 0x84b
jmp 0x100f480
xor eax, eax
mov word [edi], ax
push esi
xor esi, esi
cmp dword [0x101fc80], ebx
je 0x100f330
mov eax, 0x101fc80
push dword [eax]
push 0x1019530
call fcn.010121b4
test eax, eax
jl 0x100f324
mov dword [ebp - 8], 1
inc esi
lea eax, [esi*4 + 0x101fc80]
cmp dword [eax], ebx
jne 0x100f30d
lea eax, [ebp + 0x10]
push eax
xor esi, esi
inc esi
push esi
push ebx
call sub.dsrole.dll_DsRoleGetPrimaryDomainInformation
cmp eax, ebx
je 0x100f348
push eax
call fcn.0100295a
cmp edi, ebx
je 0x100f35e
mov eax, dword [ebp + 0x10]
push dword [eax + 8]
push dword [ebp + 0x14]
push edi
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
cmp ecx, 4
je 0x100f460
cmp ecx, 5
je 0x100f460
cmp dword [ebp - 8], ebx
jne 0x100f3b5
movzx eax, word [ebp + 0xc]
mov esi, 0x1003764
push esi
push eax
push dword [ebp + 8]
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
cmp edi, ebx
je 0x100f475
lea eax, [ebp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x100f475
push esi
push dword [ebp + 0x14]
push edi
jmp 0x100f46d
cmp dword [0x10223c4], ebx
jne 0x100f3db
cmp dword [eax + 0xc], ebx
jne 0x100f3c7
mov eax, dword [eax + 8]
jmp 0x100f3ca
mov eax, dword [eax + 0xc]
push eax
push 0xe6d
call fcn.01010933
mov dword [0x10223c4], esi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x1000
add eax, 0x20
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.logoncli.dll_DsGetDcNameW]
cmp eax, ebx
je 0x100f403
push eax
call fcn.0100295a
push dword [ebp + 0x10]
call sub.dsrole.dll_DsRoleFreeMemory
mov edi, dword [ebp - 4]
cmp dword [edi], ebx
jne 0x100f41c
mov ecx, dword [ebp + 8]
xor eax, eax
mov word [ecx], ax
jmp 0x100f47d
mov esi, dword [edi]
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x100f423
sub eax, ecx
movzx ecx, word [ebp + 0xc]
sar eax, 1
lea edx, [ecx - 1]
cmp eax, edx
jbe 0x100f449
push edi
call sub.netutils.dll_NetApiBufferFree
mov eax, 0x84b
jmp 0x100f47f
push esi
push ecx
push dword [ebp + 8]
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
push dword [ebp - 4]
call sub.netutils.dll_NetApiBufferFree
jmp 0x100f47d
movzx eax, word [ebp + 0xc]
push 0x1003764
push eax
push dword [ebp + 8]
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
push dword [ebp + 0x10]
call sub.dsrole.dll_DsRoleFreeMemory
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 0x14
Function at 0x100f7f3
Capabilities:
Enumerate services
Query service status

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
mov esi, 0xfa0
push esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call fcn.01001e19
test eax, eax
je 0x100f823
push 8
call fcn.0100295a
mov eax, dword [0x1019018]
cmp eax, ebx
jne 0x100f84f
push 0x80000000
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [0x1019018], eax
cmp eax, ebx
jne 0x100f84f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x100f8e7
push 0xc
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0xc], edi
cmp edi, ebx
je 0x100f842
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100f842
cmp dword [ebp - 0x2c], 1
jne 0x100f88b
push dword [ebp + 8]
mov edi, 0xdc1
call fcn.0100f4df
mov dword [ebp - 0x10], eax
jmp 0x100f8e7
test byte [ebp - 0x28], 1
jne 0x100f898
mov edi, 0x88f
jmp 0x100f8e7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
push 1
push edi
call esi
test eax, eax
jne 0x100f940
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov edi, eax
cmp edi, 0xea
jne 0x100f8e5
push dword [ebp - 4]
call fcn.01001e31
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 4]
push eax
push edi
call fcn.01001e19
test eax, eax
je 0x100f921
push 8
pop edi
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x100f8f4
push dword [ebp - 4]
call fcn.01001e31
cmp dword [ebp - 0xc], ebx
je 0x100f902
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, ebx
je 0x100f9c7
cmp dword [ebp - 0x10], ebx
je 0x100f9c1
push dword [ebp - 0x10]
push edi
call fcn.0101081b
jmp 0x100f9c7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 4]
push 1
push dword [ebp - 0xc]
call esi
test eax, eax
jne 0x100f93e
call ebx
mov edi, eax
jmp 0x100f8e5
xor ebx, ebx
cmp dword [ebp - 8], ebx
jne 0x100f949
xor edi, edi
jmp 0x100f8e7
push dword [ebp + 8]
call fcn.0100f4df
push eax
push 0xdca
call fcn.01010933
xor esi, esi
cmp dword [ebp - 8], ebx
jbe 0x100f986
xor edi, edi
mov eax, dword [ebp - 4]
push dword [edi + eax + 4]
push 0x1003730
call fcn.01010562
pop ecx
pop ecx
call fcn.010108a7
inc esi
add edi, 0x24
cmp esi, dword [ebp - 8]
jb 0x100f965
call fcn.010108a7
push ebx
push 0x14a6
call fcn.01010970
test eax, eax
jne 0x100f9a1
push 2
call fcn.01002992
xor edi, edi
cmp dword [ebp - 8], ebx
jbe 0x100f945
xor esi, esi
mov eax, dword [ebp - 4]
push ebx
push dword [esi + eax]
call fcn.0100b7cb
inc edi
add esi, 0x24
cmp edi, dword [ebp - 8]
jae 0x100f945
jmp 0x100f9aa
push edi
call fcn.0100295a
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1011141
Capabilities:
List domain servers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push ebx
push dword [ebp + 0x1c]
lea eax, [ebp + 0x18]
push dword [ebp + 0x18]
push eax
push esi
push 0xffffffffffffffff
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.browcli.dll_NetServerEnum
mov dword [ebp + 0x1c], eax
cmp eax, ebx
je 0x1011179
cmp eax, 0xea
jne 0x10111cd
cmp dword [ebp + 0xc], 0x64
mov edi, dword [edi]
jne 0x10111a8
cmp dword [esi], ebx
jbe 0x10111cd
lea eax, [edi + 4]
mov dword [ebp + 0xc], eax
push 4
push dword [ebp + 0xc]
push edi
call dword [sym.imp.msvcrt.dll_memmove]
add dword [ebp + 0xc], 8
add esp, 0xc
inc ebx
add edi, 4
cmp ebx, dword [esi]
jae 0x10111cd
jmp 0x101118b
cmp dword [esi], ebx
jbe 0x10111cd
lea eax, [edi + 4]
mov dword [ebp + 0xc], eax
push 0x14
push dword [ebp + 0xc]
push edi
call dword [sym.imp.msvcrt.dll_memmove]
add dword [ebp + 0xc], 0x18
add esp, 0xc
inc ebx
add edi, 0x14
cmp ebx, dword [esi]
jb 0x10111b2
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x10116eb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [0x10216d8], 0xffffffff
push edi
je 0x101174c
lea ecx, [ebp - 0xc]
xor edx, edx
cmp edx, 0x18
jae 0x101174c
mov eax, dword [edx + 0x10216d8]
add eax, esi
cmp dword [eax], 0
je 0x101173a
mov eax, dword [eax]
lea edi, [eax + 2]
mov dword [ebp + 0x10], edi
mov di, word [eax]
inc eax
inc eax
test di, di
jne 0x1011723
sub eax, dword [ebp + 0x10]
sar eax, 1
inc eax
mov dword [ecx], eax
lea ebx, [ebx + eax*2]
jmp 0x101173d
and dword [ecx], 0
add edx, 8
add ecx, 4
cmp dword [edx + 0x10216d8], 0xffffffff
jne 0x1011709
mov edi, dword [ebp + 0x14]
lea eax, [ebx + 0x34]
push edi
push eax
mov dword [ebp + 0x10], eax
call sub.netutils.dll_NetapipBufferAllocate
test eax, eax
jne 0x1011805
mov eax, dword [edi]
lea ecx, [eax + ebx + 0x34]
mov dword [ebp + 0x14], ecx
lea ecx, [ebp - 0xc]
push ecx
push 0x10216d8
push dword [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
call fcn.010141a3
mov ebx, dword [ebp + 0x18]
push ebx
push 0x1f6
push dword [ebp + 8]
call sub.srvcli.dll_NetServerGetInfo
test eax, eax
jne 0x1011805
mov eax, dword [edi]
mov ecx, dword [esi + 4]
mov dword [eax + 8], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 8]
mov dword [eax + 0xc], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x18], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x1c], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x3c]
mov dword [eax + 0x20], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x24], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x44]
mov dword [eax + 0x28], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x4c]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x6c]
mov dword [eax], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x70]
mov dword [eax + 4], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x78]
mov dword [eax + 8], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x84]
mov dword [eax + 0xc], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x1011adf
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [0x1022830]
call dword [sym.imp.KERNEL32.dll_GetFileType]
test al, 2
je 0x1011b39
lea eax, [ebp - 0x10]
push eax
push dword [0x1022830]
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x1011b39
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
xor esi, esi
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1011b14
push esi
sub eax, edx
lea ecx, [ebp - 0xc]
push ecx
sar eax, 1
push eax
push dword [ebp + 8]
push dword [0x1022830]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x1011ba4
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
call ebx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [ebp - 8], eax
cmp eax, esi
je 0x1011ba0
push esi
push esi
push dword [ebp - 4]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
call edi
push eax
call ebx
push esi
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
dec eax
push eax
push dword [ebp - 8]
push dword [0x1022830]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
pop edi
mov eax, esi
pop ebx
pop esi
leave
ret 4

Function at 0x1012ea3
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x414], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x410], ecx
test bl, 4
je 0x1012ee3
test bl, 0xa
je 0x1012ee3
push 0x57
pop eax
jmp 0x1012f97
push esi
push edi
lea ecx, [ebp - 0x40c]
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x404]
push 0x200
push ecx
push dword [ebp + 0xc]
mov esi, ebx
mov edi, ebx
push eax
and esi, 8
and edi, 2
call fcn.0101406f
mov dword [ebp - 0x408], eax
test eax, eax
je 0x1012f1d
test bl, 4
jne 0x1012f5a
push dword [ebp - 0x40c]
lea eax, [ebp - 0x404]
push eax
push 0x1001
mov ebx, 0x1024880
push ebx
call sub.msvcrt.dll_wcsncpy_s
mov ecx, dword [ebp - 0x40c]
add esp, 0x10
xor eax, eax
push eax
push ebx
push dword [ebp - 0x410]
mov word [ecx*2 + 0x1024880], ax
call fcn.01001cdf
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x1012f6c
mov ecx, dword [ebp - 0x40c]
mov dword [eax], ecx
test si, si
je 0x1012f86
cmp dword [ebp - 0x408], 0
je 0x1012f86
push dword [ebp - 0x408]
call dword [sym.imp.msvcrt.dll_exit]
test di, di
pop edi
pop esi
je 0x1012f91
push 0xffffffffffffffff
jmp 0x1012f80
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.01002d45
leave
ret 0x18
Function at 0x4a0470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x54000]
push edi
or ebp, 0xffffffff
jmp 0x4a0492
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a0499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a0488
mov eax, 1
add ebx, ebx
jne 0x4a04ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a04a0
jne 0x4a04bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a04a0
xor ecx, ecx
sub eax, 3
jb 0x4a04d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a0542
mov ebp, eax
add ebx, ebx
jne 0x4a04db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4a04e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4a050c
inc ecx
add ebx, ebx
jne 0x4a04f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a04ed
jne 0x4a0509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a04ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a052c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a051d
jmp 0x4a048e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a052c
add edi, ecx
jmp 0x4a048e
pop esi
mov edi, esi
mov ecx, 0x915
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a054a
cmp byte [edi], 0x11
jne 0x4a054a
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 0x4a054f
lea edi, [esi + 0x9e000]
mov eax, dword [edi]
or eax, eax
je 0x4a05c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa61e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa6290]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a057c
mov ecx, edi
jns 0x4a05ab
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 + 0xa6298]
or eax, eax
je 0x4a05c1
mov dword [ebx], eax
add ebx, 4
jmp 0x4a0599
call dword [esi + 0xa6294]
mov ebp, dword [esi + 0xa629c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4a05fb
sub esp, 0xffffff80
jmp 0x403209