joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010607c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x101cd7b4]
xor eax, ebp
mov dword [ebp + 0xa0], eax
mov eax, dword [ebp + 0xac]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
xor ebx, ebx
mov edi, 0x20019
push edi
push ebx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x78], 0x104
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
call esi
test eax, eax
jne 0x101061ef
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push str._sConnection
push 0x103
push eax
call fcn.101045a4
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call esi
test eax, eax
jne 0x101061e6
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.MediaSubType
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x101061dd
push 0x104
xor edi, edi
lea eax, [ebp - 0x64]
push ebx
inc edi
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], 0x103
call fcn.101596b0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.PnpInstanceID
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x101061dd
cmp dword [ebp - 0x70], edi
jne 0x101061cd
mov esi, 0x1019ec18
push esi
call fcn.1015e340
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.1016045c
add esp, 0x10
test eax, eax
jne 0x101061a7
mov dword [ebp - 0x6c], ebx
jmp 0x101061dd
cmp dword [ebp - 0x70], edi
jne 0x101061cd
push esi
call fcn.1015e340
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.1016045c
add esp, 0x10
test eax, eax
je 0x101061cd
mov dword [ebp - 0x6c], 2
jmp 0x101061dd
xor eax, eax
cmp dword [ebp - 0x70], 2
setne al
lea eax, [eax + eax + 1]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ebp - 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10159cce
add ebp, 0xa4
leave
ret
Function at 0x10106c38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x10106cbd
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.1015a240
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x10106c80
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x10106ca2
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x10106d8d
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.10106a12
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
cmp edx, 3
pop ecx
pop ecx
jb 0x10106d08
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x10106d1c
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x10106c41
mov ecx, dword [edi + 0x16c0]
mov eax, dword [edi + 0x3c]
cmp ecx, eax
jae 0x10106d8d
mov esi, dword [edi + 0x6c]
add esi, edx
cmp ecx, esi
jae 0x10106d5c
sub eax, esi
mov ebx, eax
mov eax, 0x102
cmp ebx, eax
jbe 0x10106d41
mov ebx, eax
mov eax, dword [edi + 0x38]
push ebx
add eax, esi
push 0
push eax
call fcn.101596b0
add esp, 0xc
add ebx, esi
mov dword [edi + 0x16c0], ebx
jmp 0x10106d8d
lea edx, [esi + 0x102]
cmp ecx, edx
jae 0x10106d8d
sub esi, ecx
add esi, 0x102
sub eax, ecx
cmp esi, eax
jbe 0x10106d76
mov esi, eax
mov eax, dword [edi + 0x38]
push esi
add eax, ecx
push 0
push eax
call fcn.101596b0
add esp, 0xc
add dword [edi + 0x16c0], esi
pop esi
pop ebx
leave
ret
Function at 0x1010dcd6
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
push 0x38
mov eax, 0x1019300d
call fcn.1015e434
and dword [ebp - 0x34], 0
cmp byte [0x101cf1f4], 0
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
mov edi, 0x101cf26c
je 0x1010dd69
cmp byte [0x101cf1f5], 0
jne 0x1010dd29
call ebx
mov ecx, dword [0x101cf1f8]
cmp eax, ecx
jbe 0x1010dd29
sub eax, ecx
cmp eax, dword [0x101cce28]
jb 0x1010dd29
mov byte [0x101cf1f4], 0
cmp byte [0x101cf1f4], 0
je 0x1010dd69
cmp byte [0x101cf1f5], 0
jne 0x1010dd69
push edi
push dword [0x101cf270]
lea ecx, [ebp - 0x38]
call fcn.100d8640
lea eax, [ebp - 0x38]
push eax
push esi
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.1002ed60
mov ecx, eax
call fcn.100018e0
test al, al
je 0x1010ddf9
push esi
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.10030610
cmp dword [esi + 0x18], 0x10
jb 0x1010dd80
mov esi, dword [esi + 4]
jmp 0x1010dd83
add esi, 4
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2afc
jne 0x1010dda9
mov byte [0x101cf1f4], 1
call ebx
mov dword [0x101cf1f8], eax
jmp 0x1010ddb9
cmp dword [0x101cf1f8], 0
je 0x1010ddb9
mov byte [0x101cf1f5], 1
test esi, esi
je 0x1010ddf9
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x1010ddf9
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0x1010ddf9
push eax
lea ecx, [ebp - 0x2c]
call fcn.10006620
mov ecx, dword [ebp - 0x30]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.10005ff0
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003eb0
jmp 0x1010de06
mov ecx, dword [ebp - 0x30]
push 0x101997b5
call fcn.10006620
mov eax, dword [ebp - 0x30]
call fcn.1015e4b7
ret
Function at 0x1010de0f
Capabilities:
Get hostname

Disassembly:
push ebp
sub esp, 0x80
lea ebp, [esp - 4]
mov eax, dword [0x101cd7b4]
xor eax, ebp
mov dword [ebp + 0x80], eax
push 0x40
mov eax, 0x101907f0
call fcn.1015e3cb
mov esi, dword [ebp + 0x8c]
push 0x7b
lea eax, [ebp]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.WS2_32.dll_gethostname]
mov ecx, esi
call fcn.1010dc13
xor edi, edi
lea eax, [ebp]
inc edi
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], edi
call fcn.10006620
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.10005470
push ebx
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.10003eb0
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esi + 0x48]
call fcn.10005470
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10006620
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 2
call fcn.1010dcd6
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x1010deba
mov eax, dword [eax + 4]
jmp 0x1010debd
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push ebx
push edi
lea ecx, [ebp - 0x30]
mov dword [esi + 0x3c], eax
call fcn.10003eb0
push ebx
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.10003eb0
push 8
lea eax, [esi + 0x40]
push ebx
push eax
mov word [esi + 0x3a], bx
mov word [esi + 0x38], 2
call fcn.101596b0
add esp, 0xc
push dword [esi + 0x3c]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
cmp eax, ebx
je 0x1010df0d
push eax
lea ecx, [esi + 0x1c]
call fcn.1002f5d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x80]
xor ecx, ebp
call fcn.10159cce
add ebp, 0x84
leave
ret
Function at 0x1010e443
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x101cd7b4]
xor eax, ebp
mov dword [ebp + 0x394], eax
push ebx
push esi
mov esi, dword [ebp + 0x3a0]
push edi
mov edi, dword [ebp + 0x3a4]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.proxy
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0x78], eax
jne 0x1010e48c
xor al, al
jmp 0x1010e552
cmp dword [esi + 0x18], 0x10
jb 0x1010e497
mov esi, dword [esi + 4]
jmp 0x1010e49a
add esi, 4
push ebx
push accept
push ebx
push ebx
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, ebx
mov dword [ebp - 0x7c], eax
jne 0x1010e4bc
push dword [ebp - 0x78]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1010e485
cmp dword [edi + 0x18], 0x10
mov byte [ebp - 0x6d], 1
jb 0x1010e4cb
mov edi, dword [edi + 4]
jmp 0x1010e4ce
add edi, 4
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1010e4ee
mov byte [ebp - 0x6d], bl
cmp byte [ebp - 0x6d], bl
mov dword [ebp - 0x74], ebx
je 0x1010e53f
mov esi, 0x400
push esi
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.101596b0
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x74], ebx
je 0x1010e53f
push ebx
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1010e53a
mov byte [ebp - 0x6d], bl
cmp byte [ebp - 0x6d], bl
jne 0x1010e4fb
push dword [ebp - 0x78]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x6d]
mov ecx, dword [ebp + 0x394]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10159cce
add ebp, 0x398
leave
ret 8
Function at 0x10110522
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x10190d55
call fcn.1015e434
and dword [ebp - 0x44], 0
mov esi, 0x104
push esi
mov edi, ecx
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], esi
call fcn.10158e03
push esi
push 0
push eax
mov dword [ebp - 0x34], eax
call fcn.101596b0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x1011058d
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x40]
push eax
push 0
push str.AutoConfigURL
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x101105c9
push dword [ebp - 0x34]
lea ecx, [ebp - 0x64]
call fcn.10006620
and dword [ebp - 4], 0
push eax
mov ecx, edi
mov dword [ebp - 0x44], 1
call fcn.1011026d
test eax, eax
mov byte [ebp - 0x2d], 1
je 0x101105cd
mov byte [ebp - 0x2d], 0
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x44], 1
je 0x101105e3
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.10003eb0
cmp byte [ebp - 0x2d], 0
je 0x101105f6
mov dword [edi], 5
mov al, 1
jmp 0x101106fa
and dword [ebp - 0x48], 0
push esi
mov dword [ebp - 0x40], 4
call fcn.10158e03
push esi
push 0
push eax
mov dword [ebp - 0x34], eax
call fcn.101596b0
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x101106e3
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
push str.ProxyEnable
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 4
call ebx
cmp dword [ebp - 0x48], 1
jne 0x101106e3
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x40]
push eax
push 0
push str.ProxyServer
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], esi
call ebx
push dword [ebp - 0x34]
call fcn.1015e340
test eax, eax
pop ecx
jbe 0x101106e3
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.10006620
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.1010f611
mov ebx, eax
lea esi, [edi + 0x24]
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov dword [edi + 4], ebx
call fcn.1010f566
movzx eax, word [esi]
push eax
lea eax, [edi + 8]
push eax
mov ecx, edi
call fcn.1010e6e7
test al, al
jne 0x101106d5
and dword [edi], 0
and dword [edi + 4], 0
jmp 0x101106d7
mov dword [edi], ebx
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003eb0
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi], 0
jg 0x101105ef
and dword [edi], 0
xor al, al
call fcn.1015e4b7
ret
Function at 0x1011073f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
or dword [esi], 0xffffffff
xor ebx, ebx
cmp dword [esi + 0x88], ebx
push edi
lea edi, [esi + 0x8c]
mov dword [edi], ebx
jne 0x10110790
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 8]
call fcn.10001700
inc dword [esi + 0x94]
push edi
push ebx
push esi
push 0x10110700
push ebx
push ebx
call fcn.1015a189
add esp, 0x18
lea ecx, [ebp - 8]
mov dword [esi + 0x88], eax
call fcn.10001720
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10112454
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0xc], ecx
xor ebx, ebx
lea ecx, [ebp - 4]
push ecx
push ebx
lea eax, [esi + 8]
push eax
push 0x1012a316
push ebx
push ebx
mov byte [esi + 0x18], bl
mov dword [eax], esi
call fcn.1015a189
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x1011248c
mov dword [esi + 4], ebx
cmp dword [esi + 4], ebx
jne 0x10112499
mov byte [esi + 0x18], 1
xor al, al
jmp 0x1011249b
mov al, 1
pop esi
pop ebx
leave
ret 4
Function at 0x10114fba
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
jmp 0x10114ffa
push 0
push 1
lea eax, [ebp + 0xb]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x10114ff8
push eax
mov ecx, esi
call fcn.10114d38
test al, al
je 0x10115000
test ebx, ebx
jne 0x10115000
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10114ffa
add ebx, eax
mov al, byte [edi]
test al, al
jne 0x10114fc9
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x101160fd
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x18
mov eax, 0x1019163b
call fcn.1015e3fe
mov dword [ebp - 0x14], ecx
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push accept
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x101161fc
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x101161e6
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x20], edi
je 0x101161e6
push ebx
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov byte [ebp + 0xb], bl
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101161f3
mov esi, dword [ebp - 0x14]
cmp dword [esi], ebx
mov dword [ebp - 4], ebx
je 0x101161dc
push edi
lea ecx, [ebp - 0x14]
call fcn.1010e2fd
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.1011546b
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.101152f9
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.101158d6
mov ecx, esi
call fcn.10115fb0
mov ecx, dword [ebp + 0xc]
push edi
mov byte [ebp + 0xb], 1
call fcn.1002a740
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x101161dc
call fcn.1010e418
jmp 0x101161dc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov bl, byte [ebp + 0xb]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x101161fe
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x101161e6
xor al, al
call fcn.1015e4a3
ret 8
Function at 0x10118e1c
Capabilities:
Encode data using base64

Disassembly:
push 0x38
mov eax, 0x10191da9
call fcn.1015e3cb
mov edi, dword [ebp + 0x24]
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.1002ea60
jmp 0x10118f1c
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
xor esi, esi
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 8]
call fcn.1002eaa0
push eax
lea ecx, [ebp - 0x1c]
call fcn.1002e480
test al, al
jne 0x10118e8d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
call fcn.1002e440
lea ecx, [ebp - 0x24]
call fcn.1002e690
mov al, byte [eax]
mov byte [ebp + esi - 0x10], al
inc esi
cmp esi, 3
jb 0x10118e4c
movzx eax, byte [ebp - 0x10]
movzx ecx, al
shr ecx, 2
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x14], cl
mov cl, byte [ebp - 0xf]
movzx edx, cl
and eax, 3
shl eax, 4
shr edx, 4
or edx, eax
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x13], al
movzx eax, byte [ebp - 0xe]
movzx edx, al
and ecx, 0xf
shl ecx, 2
shr edx, 6
or edx, ecx
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 0x3f
cmp esi, 3
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x11], al
jae 0x10118ef3
cmp esi, 2
mov byte [ebp - 0x11], 0x3d
jae 0x10118ef3
mov byte [ebp - 0x12], 0x3d
xor esi, esi
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.1002eaa0
movzx ecx, byte [ebp + esi - 0x14]
push ecx
push dword [eax + 4]
mov ecx, edi
push dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.101150cb
inc esi
cmp esi, 4
jb 0x10118ef5
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 8]
call fcn.1002eaa0
push eax
lea ecx, [ebp - 0x1c]
call fcn.1002e480
test al, al
je 0x10118e41
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.10003eb0
call fcn.1015e4a3
ret 0x20
Function at 0x1011b0a1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x94
mov eax, 0x101923c2
call fcn.1015e434
mov eax, dword [ebp + 8]
push 0xf
pop edi
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x14], edi
call fcn.10002d40
push ebx
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x6c], edi
call fcn.10002d40
mov ecx, dword [ebp - 0x54]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.10005470
push ebx
push 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.10003eb0
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x7530
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], eax
call edi
mov dword [ebp - 0x58], eax
jmp 0x1011b1e5
cmp dword [ebp - 0x4c], ebx
jbe 0x1011b1f5
mov ecx, dword [esi + 0x2ec]
mov eax, dword [ecx]
push 0xa
call dword [eax + 0xc]
test al, al
je 0x1011b1c4
push dword [esi + 0x240]
mov ecx, dword [esi + 0x2ec]
lea eax, [ebp - 0x2c]
push eax
call fcn.1011511e
call edi
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x58], eax
je 0x1011b1b3
mov ecx, dword [ebp - 0x54]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a7c0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1011b17b
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x50]
push ecx
push 0x101a42a8
push eax
call fcn.1015ac1b
add esp, 0xc
cmp eax, 1
jne 0x1011b1b3
mov eax, dword [ebp - 0x50]
add eax, 0xffffff9b
cmp ax, 0x382
ja 0x1011b1b3
cmp dword [ebp - 0x18], 3
jbe 0x1011b1b3
push 3
lea ecx, [ebp - 0x2c]
call fcn.10025720
cmp byte [eax], 0x2d
jne 0x1011b1f5
mov ecx, dword [esi + 0x2ec]
call fcn.10114faa
test al, al
jne 0x1011b1f5
jmp 0x1011b1e5
cmp dword [ebp - 0x4c], 0xa
jb 0x1011b1e2
sub dword [ebp - 0x4c], 0xa
call edi
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x68]
ja 0x1011b1e2
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1011b1e5
mov dword [ebp - 0x4c], ebx
mov eax, dword [esi + 0x240]
mov al, byte [eax]
test al, al
jne 0x1011b123
push 0x10199d80
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
call fcn.10006620
push eax
push dword [ebp - 0x54]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.1002a9c0
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.10003eb0
mov ecx, dword [esi + 0x244]
cmp ecx, ebx
je 0x1011b262
cmp dword [ebp - 0x34], ebx
je 0x1011b262
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], ebx
jae 0x1011b252
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x64]
push edx
lea edx, [esi + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x34]
movzx eax, word [ebp - 0x50]
push ebx
mov dword [esi + 0x2f4], eax
movzx esi, word [ebp - 0x50]
push 1
lea ecx, [ebp - 0x48]
call fcn.10003eb0
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003eb0
mov ax, si
call fcn.1015e4b7
ret 8