joyce8/EMBER2024-capa huggingface dataset:
Function at 0x78831660
Capabilities:
Get geographical location

Disassembly:
cmp byte [ebx + 0x10], 0
jne 0x7883013c
pop esi
pop ebx
leave
ret 0x10
lea ecx, [eax + esi - 1]
cmp ecx, esi
jb 0x7882d5b2
not byte [ecx]
dec ecx
jmp 0x78830140
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x90
cmp dword [ebp + 0x10], 0
mov eax, dword [0x7891e1e4]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], eax
je 0x78839d2b
cmp dword [0x7891e36c], 2
jne 0x788a9ae8
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push edi
push 0x400
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
mov esi, eax
test esi, esi
je 0x788a9bc6
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
call fcn.78809964
leave
ret 0x14
push 4
mov byte [eax], 1
mov byte [eax + 1], 1
mov byte [eax + 2], 1
mov byte [eax + 3], 0
pop esi
jmp 0x788316c1
cmp dword [esi + 0xc], 0xffffffff
push ebx
lea ebx, [ebp - 0x84]
jne 0x788a9b39
push 0x80
mov eax, ebx
push eax
push 0x1004
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x788a9b29
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x788a9b23
and eax, 0xffff
or eax, 0x80070000
push eax
call fcn.78808bc6
lea eax, [ebp - 0x84]
push eax
call fcn.788fd7ff
pop ecx
mov dword [esi + 0xc], eax
xor eax, eax
push eax
push eax
push eax
push eax
push dword [ebp + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
push dword [esi + 0xc]
call edi
test eax, eax
mov dword [ebp - 0x88], eax
jne 0x788a9be5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x788a9b71
and eax, 0xffff
or eax, 0x80070000
push eax
call fcn.78808bc6
xor eax, eax
push eax
push eax
push dword [ebp - 0x88]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x8c]
push eax
push dword [esi + 0xc]
call edi
push dword [ebp + 0x18]
mov byte [ebx + eax], 0
push dword [ebp - 0x90]
push eax
push ebx
push 0x400
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
mov esi, eax
lea eax, [ebp - 0x84]
cmp ebx, eax
je 0x788a9bc0
push ebx
call fcn.7880992e
pop ebx
jmp 0x788316b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x788a9bda
and eax, 0xffff
or eax, 0x80070000
push eax
call fcn.78808bc6
jmp 0x788316c1
cmp eax, 0x80
jae 0x788a9bf4
lea ebx, [ebp - 0x84]
jmp 0x788a9bfd
inc eax
push eax
call fcn.78809e5e
mov ebx, eax
cmp dword [ebp - 0x88], 0
jge 0x788a9b77
call fcn.788b135d
mov dl, 1
cmp byte [esi], dl
mov ecx, esi
je 0x788a9c1c
inc ecx
cmp byte [ecx], dl
jne 0x788a9c17
inc ecx
cmp byte [ecx], dl
jne 0x788a9c1c
inc ecx
cmp byte [ecx], dl
not byte [ecx]
jne 0x788a9c21
jmp 0x7882d5a8
Function at 0x78844213
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, esi
call fcn.78843d5a
mov dword [ebp - 0x10], eax
jmp 0x7884431a
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
jmp 0x7884431a
mov ecx, esi
call fcn.78843d5a
mov dword [ebp - 0x14], eax
jmp 0x7884431a
mov ecx, esi
call fcn.78843d5a
mov dword [ebp - 0x1c], eax
jmp 0x7884431a
mov ecx, esi
call fcn.78843d5a
mov dword [ebp - 0x20], eax
jmp 0x7884431a
mov ecx, esi
call fcn.78843d5a
mov dword [ebp - 0x24], eax
jmp 0x7884431a
mov ecx, esi
call fcn.78843d5a
mov dword [ebp - 8], eax
jmp 0x7884431a
push 1
mov ecx, esi
call fcn.7882c689
test eax, eax
mov dword [ebp - 4], eax
je 0x7884431a
mov eax, dword [esi + 0x70]
mov ebx, dword [eax + 0xc]
jmp 0x7884431a
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
lea ecx, [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 0x30], eax
call fcn.788444c1
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov esi, dword [ebp + 0xc]
and dword [ebp - 4], 0
mov dword [ebp - 0x28], ecx
mov ecx, esi
mov dword [ebp - 8], 0x2e
mov dword [ebp - 0x10], 0x2c
mov dword [ebp - 0x14], 0x2d
mov dword [ebp - 0x1c], 0x25
mov dword [ebp - 0x20], 0x2030
mov dword [ebp - 0x24], 0x30
mov dword [ebp - 0xc], 0x23
mov dword [ebp - 0x18], 0x3b
mov dword [ebp - 0x2c], eax
mov ebx, 0x78814770
call fcn.78823c0a
test al, al
je 0x788443fa
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx + 8]
cmp eax, dword [0x789205b0]
je 0x788441f4
cmp eax, dword [0x78920498]
je 0x78843d70
cmp eax, dword [0x78920490]
je 0x788437be
cmp eax, dword [0x78920480]
je 0x788437cd
cmp eax, dword [0x78920478]
je 0x788437d8
cmp eax, dword [0x78920470]
je 0x788443e0
cmp eax, dword [0x78920468]
je 0x788437e7
cmp eax, dword [0x78920460]
je 0x788437f6
cmp eax, dword [0x78920458]
je 0x78843805
cmp eax, dword [0x78920450]
jne 0x788443c9
mov ecx, esi
call fcn.78843d5a
mov dword [ebp - 0xc], eax
mov ecx, esi
call fcn.78823c0a
test al, al
jne 0x78844292
cmp dword [ebp - 4], 0
je 0x788443fa
push dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
call fcn.78843750
mov eax, dword [eax + 4]
test byte [eax + 0x3c], 1
je 0x78897fcc
xor esi, esi
cmp eax, dword [0x78920448]
jne 0x788443eb
mov ecx, esi
call fcn.78843d5a
mov dword [ebp - 0x18], eax
jmp 0x7884431a
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x2c], eax
jmp 0x7884431a
cmp byte [esi + 0x78], 0
je 0x78897fd4
jmp 0x7884431a
mov eax, dword [0x7891e278]
mov dword [ebp - 4], eax
jmp 0x78844333
mov eax, dword [esi + 0x70]
push 0
push dword [ebp + 8]
push dword [eax + 4]
push 0xc00ce32e
call fcn.788d47ba
Function at 0x7884e779
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x78928230]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push edi
xor ebx, ebx
xor edi, edi
cmp eax, ebx
jne 0x7884e822
call esi
mov edi, eax
cmp edi, ebx
je 0x788a2b4e
mov dword [0x78928230], 1
cmp edi, ebx
je 0x788a2b70
cmp word [edi], bx
mov eax, edi
je 0x7884e7ce
inc eax
inc eax
cmp word [eax], bx
jne 0x7884e7c0
inc eax
inc eax
cmp word [eax], bx
jne 0x7884e7c0
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, edi
push ebx
sar eax, 1
inc eax
push eax
push edi
push ebx
push ebx
mov dword [ebp - 0xc], eax
call esi
mov ecx, eax
cmp ecx, ebx
mov dword [ebp - 8], ecx
je 0x7884e814
call fcn.7885298d
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x7884e814
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push edi
push ebx
push ebx
call esi
test eax, eax
je 0x788a2b7d
mov ebx, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
cmp eax, 1
jne 0x788a2b8e
jmp 0x7884e7b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x788a2b66
push 2
pop eax
mov dword [0x78928230], eax
jmp 0x7884e822
mov eax, dword [0x78928230]
jmp 0x7884e822
call esi
mov edi, eax
cmp edi, ebx
je 0x788a2b97
jmp 0x7884e7b9
push dword [ebp - 4]
call fcn.78852a1e
pop ecx
mov dword [ebp - 4], ebx
jmp 0x7884e811
cmp eax, 2
je 0x788a2b9e
cmp eax, ebx
je 0x788a2b9e
xor eax, eax
jmp 0x7884e81d
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x788a2b97
cmp byte [esi], bl
je 0x788a2bbb
inc eax
cmp byte [eax], bl
jne 0x788a2bb1
inc eax
cmp byte [eax], bl
jne 0x788a2bb1
sub eax, esi
inc eax
mov edi, eax
mov ecx, edi
call fcn.7885298d
cmp eax, ebx
je 0x788a2be2
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x7884e81b
Function at 0x788532d6
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x789245fc]
and dword [ebp - 0x38], 0
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x2c], eax
push 4
xor eax, eax
mov dword [ebp - 0x40], 0x788533ac
pop ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x28], 0x788533a4
mov dword [ebp - 0x24], ebx
mov edx, 0x80000002
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x30], edx
mov ecx, 0x78853e01
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], ecx
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
push eax
call fcn.78853503
push 0x789280b8
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x789280cc]
cmp eax, esi
mov dword [0x7891e2d4], eax
seta al
cmp dword [0x7891e36c], esi
mov byte [0x7891e1d8], al
mov eax, dword [0x789280bc]
mov dword [0x7891e2cc], eax
je 0x7888fddb
mov eax, dword [0x789280dc]
cmp eax, 0xffffffff
je 0x7888fde6
push eax
push 0
push dword [0x789280e0]
call fcn.788531c6
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x7891819c], eax
mov dword [0x78918194], esi
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret
mov dword [0x789181a0], ebx
jmp 0x7885336f
and dword [0x7891819c], 0
and dword [0x78918194], 0
mov eax, esi
jmp 0x7885339f

Function at 0x78853c94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push 0x10
push 1
push dword [ebp + 8]
xor bl, bl
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x78853cdb
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x78853cdb
movzx edx, word [eax + 0x32]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
movzx edx, word [eax + 0x30]
mov dword [ecx + 4], edx
movzx edx, word [eax + 0x36]
mov dword [ecx + 8], edx
movzx eax, word [eax + 0x34]
mov dword [ecx + 0xc], eax
inc bl
mov al, bl
pop ebx
pop ebp
ret 8

Function at 0x78854588
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push esi
push 0x470
call fcn.7884e712
test eax, eax
je 0x788545e7
mov ecx, eax
call fcn.7885457a
mov esi, eax
test esi, esi
je 0x7888efcf
push edi
mov eax, dword [0x7891e340]
mov dword [esi + 0x14], eax
mov edi, dword [0x7891e340]
push edi
push esi
push 0x7891e340
call dword [0x7891e1dc]
cmp eax, edi
jne 0x788545ab
pop edi
push esi
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x788545e3
mov ecx, esi
call fcn.7884e738
mov eax, esi
pop esi
ret
xor esi, esi
jmp 0x788545a2
add byte [ebp + 5], dh
jmp fcn.7888e996
Function at 0x788545f1
Capabilities:
Allocate thread local storage
Check os version
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x7891e1e4]
push ebx
mov dword [ebp - 4], eax
xor ebx, ebx
mov dword [0x7891e1f0], 0x78809ed9
mov dword [0x7891e1ec], 0x78809ead
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x78918190], eax
je 0x7888effd
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je fcn.788b0842
mov eax, dword [ebp - 0x88]
cmp eax, 1
mov ecx, dword [ebp - 0x94]
push esi
push edi
mov dword [0x7891e36c], eax
mov dword [0x78926090], ecx
je 0x7888f01a
push 0x78854710
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
je 0x788546cf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x788546f4
push edi
call esi
test eax, eax
mov dword [0x7891e1dc], eax
je 0x788546cf
push 0x788546dc
push edi
call esi
test eax, eax
mov dword [0x7891e1e0], eax
je 0x788546cf
call fcn.78854588
test eax, eax
mov dword [0x7891e530], eax
je 0x7888f033
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
test ebx, ebx
setge al
pop ebx
call fcn.78809964
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x7888f03d
cld
invalid
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x7888f043
je 0x7888f018
invalid
cld
invalid
add eax, 0xfff953e9
inc dword [ebx - 0x37b5b]
inc dword [eax]
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x7888f08a
lea eax, [ebp - 0x714]
push eax
call fcn.7888d004
pop ecx
push eax
Function at 0x7885dd3d
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp dword [esi + 0x50], 0
je 0x78866184
mov eax, dword [ebp - 4]
mov esi, dword [esi + 0x50]
cmp eax, dword [esi + 0x10]
mov ecx, esi
sete al
push eax
push dword [ebp - 8]
call fcn.7885dcc8
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], 0
and dword [edi], 0
and dword [ebp - 0xc], 0
mov dword [ebp - 8], esi
jmp 0x7885dd7e
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x10]
and ebx, 0xfffffffe
inc dword [edi]
test ebx, ebx
mov eax, dword [edi]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
je 0x7885dcf2
test dword [ebx + 8], 0x1f
jne 0x7885dcf2
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
push edi
push 0
push ebx
call fcn.7885dd3d
mov dword [ebp - 8], eax
cmp byte [ebp + 0xc], 0
mov eax, dword [edi]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
lea ecx, [eax + eax*4]
lea edi, [edx + ecx*4]
jne 0x788a772e
mov esi, dword [ebp + 8]
cmp dword [edi + 4], esi
jne 0x7885ddf3
mov ecx, dword [edi]
cmp ecx, dword [esi + 0x14]
jne 0x7885ddf3
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [edi + 8]
mov dword [ecx], eax
test ebx, ebx
je 0x7885f50f
push 0
push 0xf
push 0x24
call fcn.78812297
push eax
mov ecx, esi
call fcn.78808fcd
test eax, eax
jne 0x788a7740
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
cmp dword [eax], 1
pop edi
pop esi
pop ebx
je 0x788a7761
mov eax, dword [ebp + 0x10]
inc dword [eax]
mov eax, dword [ebp - 8]
leave
ret 0x14
test eax, eax
je 0x7885f4e4
mov ecx, dword [ebp - 4]
lea eax, [ebp + 0xb]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push esi
push ebx
push dword [ebp - 0xc]
call fcn.7885df5e
mov ebx, eax
test ebx, ebx
je 0x7885f4f1
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov al, byte [ebp + 0xb]
mov dword [edi], ecx
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
mov byte [edi + 0x10], al
jmp 0x7885ddb0
mov eax, dword [ebp + 0x14]
mov dword [eax], 3
mov byte [ebp + 0xb], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x788661a9
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 4]
push eax
call fcn.78839a24
mov ebx, eax
jmp 0x7885de1c
mov eax, dword [ebp + 0x18]
and dword [eax], 0
jmp 0x7885ddd8
push 4
push 0x18
call fcn.78807346
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax], 0x7885f6b4
mov dword [eax + 0x10], ecx
mov dword [esi + 0x50], eax
jmp 0x7885dd0a
xor eax, eax
jmp 0x7885f4ff
cmp byte [edi + 0x10], 0
je 0x7885dd96
mov esi, dword [ebp + 8]
jmp 0x7885ddf3
push dword [ebp + 0xc]
mov ecx, eax
push 1
call fcn.788204b7
mov ecx, dword [ebp - 4]
push eax
push esi
push ebx
call fcn.7890b675
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x7885ddd8
mov eax, dword [ebp - 8]
mov byte [eax + 0x14], 1
jmp 0x7885dde7
Function at 0x7885e5a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [esi + 0x24]
xor ebx, ebx
cmp byte [ebp + 0xc], bl
mov dword [ebp - 4], edi
jne 0x7885ec37
cmp ecx, ebx
je 0x7889e274
push dword [edi + 0x14]
push ecx
call fcn.788127d5
push eax
lea ecx, [esi + 0x44]
call fcn.7880d26c
mov eax, dword [esi + 0x28]
cmp eax, 0x100
jne 0x78871df1
mov eax, dword [edi + 0x24]
and eax, 0xfffffffe
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x50]
cmp eax, ebx
je 0x7889e226
push eax
call fcn.7885e59c
mov ecx, eax
call fcn.78812759
test al, al
je 0x7886ffee
mov edi, dword [esi + 0x50]
cmp dword [edi + 0x28], ebx
mov ecx, dword [edi + 0x24]
push dword [0x7891e278]
mov eax, dword [ecx]
jne 0x7889e247
call dword [eax + 0x24]
test al, al
jne 0x7889e252
mov ecx, dword [ebp - 4]
push esi
push ebx
call fcn.788594a9
pop edi
pop esi
pop ebx
leave
ret 8
cmp ecx, ebx
jne 0x7889e211
jmp 0x7885e5f2
push dword [esi + 0x50]
call fcn.7885e645
mov ecx, eax
call fcn.78812759
test al, al
je 0x78870411
mov edi, dword [esi + 0x50]
cmp dword [edi + 0x28], ebx
mov ecx, dword [edi + 0x24]
push dword [0x7891e278]
mov eax, dword [ecx]
je 0x78870d10
call dword [eax + 0x24]
test al, al
je 0x7889e25e
mov ecx, dword [ebp - 4]
push 1
push dword [edi + 0x28]
call fcn.7885e5a2
jmp 0x7885e634
mov eax, dword [esi + 0x50]
mov edx, dword [eax + 0x2c]
cmp edx, ebx
mov edi, dword [eax + 0x24]
mov ecx, dword [edi + 0xc]
je 0x78870424
add ecx, dword [edx + 0xc]
cmp ecx, ebx
je 0x7889e268
cmp dword [edi + 0xc], ebx
mov dword [ebp + 0xc], ebx
jle 0x7885e634
push 1
push dword [ebp + 0xc]
mov ecx, edi
call fcn.7881c2b3
mov ecx, dword [ebp - 4]
push eax
call fcn.7885e5a2
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [edi + 0xc]
jl 0x78870438
jmp 0x7885e634
call dword [eax + 0x24]
test al, al
jne 0x7889e25e
jmp 0x7885e634
mov ecx, 0xff
cmp eax, ecx
je 0x7889e230
test al, 1
jne 0x7889e238
jmp 0x7885e5ef
mov eax, dword [ecx]
mov edi, dword [0x789224a0]
call dword [eax + 0x2c]
push ebx
push eax
push edi
push 0xc00ce14d
jmp 0x7889e281
push ebx
push ebx
push ebx
push 0xc00ce1ce
jmp 0x7889e281
mov dword [esi + 0x30], ecx
jmp 0x7885e5f2
push ebx
push ebx
push dword [0x7892248c]
push 0xc00ce1bc
jmp 0x7889e281
call dword [eax + 0x24]
test al, al
jne 0x78870027
push ebx
push ebx
push ebx
push 0xc00ce1d0
push ebx
push edi
jmp 0x7889e283
push ebx
push ebx
push ebx
push 0xc00ce1d1
jmp 0x7889e25a
push ebx
push ebx
push ebx
push 0xc00ce1d2
push ebx
push eax
jmp 0x7889e283
push ebx
push ebx
push dword [0x789224a0]
push 0xc00ce162
push ebx
push esi
call fcn.78863075
Function at 0x788617eb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.7883aae3
cmp dword [ebp + 8], 0
mov esi, eax
jne 0x7889030d
push esi
call fcn.7886181a
mov eax, dword [esi]
push 0
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 0x5c]
jmp 0x78861814

Function at 0x7886181a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x78861876
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
mov dword [ebp + 8], eax
push dword [0x78918190]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
push edi
add eax, 0x38
push eax
call fcn.78801470
push dword [0x78918190]
call esi
push 0
add eax, 0x3c
push eax
call fcn.78801470
lea eax, [ebp + 8]
push eax
push 1
push 0
push 0xe0000001
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov dword [ebp + 8], 0x80004005
jmp 0x78861832

Function at 0x78863054
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [ebp + 8]
add eax, 0x38
push eax
call fcn.78801470
pop ebp
ret 4

Function at 0x7886614e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
push edi
mov ebx, ecx
call fcn.78848492
test edi, edi
mov ecx, edi
jbe 0x7886617d
mov eax, dword [ebx + 0xc]
mov edx, dword [esi + 0xc]
dec ecx
mov edx, dword [edx + ecx*4]
lea eax, [eax + ecx*4]
xor dword [eax], edx
test ecx, ecx
ja 0x7886616a
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x788788ca
Capabilities:
Get thread local storage value

Disassembly:
push 0x22c
push 0x78801600
call fcn.78801330
mov eax, dword [0x7891e1e4]
mov dword [ebp - 0x1c], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
call fcn.78849fb4
mov dword [esi], 0x788015c0
lea ecx, [esi + 0xc]
xor ebx, ebx
mov dword [ecx], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
lea edi, [esi + 0x24]
mov dword [edi], ebx
cmp dword [ebp - 0x230], ebx
je 0x78890fc4
cmp dword [ebp + 0xc], ebx
jl 0x78890ff7
test dword [ebp + 0xc], 0xffffff00
jne 0x78890ff7
push dword [ebp - 0x230]
call fcn.7880d26c
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
push 0x800
lea ecx, [ebp - 0x22c]
call fcn.788788de
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [ebp - 0x22c]
mov dword [eax + 0x4c], ecx
mov dword [ebp - 4], ebx
push dword [esi + 0x10]
push dword [ebp - 0x230]
call fcn.78879e10
mov ebx, eax
mov dword [ebp - 0x23c], ebx
lea eax, [ebx + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.78814ee7
lea eax, [ebx + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.78814ee7
push ebx
call fcn.78878a96
push eax
mov ecx, edi
call fcn.7880d26c
mov eax, dword [edi]
mov dword [ebp - 0x234], eax
add eax, 0x18
push eax
lea ecx, [esi + 0x14]
call fcn.78814ee7
mov edi, dword [edi]
mov dword [ebp - 0x238], edi
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x20], eax
call fcn.7880f9ca
and dword [eax + 0x4c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.7881c3ef
mov eax, esi
mov ecx, dword [ebp - 0x1c]
call fcn.78809964
call fcn.78801370
ret 8
mov edi, edi
push ebp
mov ebp, esp
push 0x28
call fcn.78807713
mov ecx, eax
pop ebp
jmp 0x7880149b
call fcn.788b11e3
push 0
push dword [ebp - 0x14]
call fcn.78860de2
ret
push 0x78891018
call fcn.78849ff0
push ebx
push ebx
push ebx
push eax
push 0xc00ce197
push 0x80004005
push ebx
call fcn.788617eb
nop
nop
nop
imul eax, dword [eax], 0x76006e
popal
add byte [eax + eax + 0x69], ch
add byte [eax + eax + 0x20], ah
add byte [edi], ch
jo 0x7889102c
je 0x7889102e
imul eax, dword [eax], 0x6e006f
and byte [eax], al
jbe 0x78891038
popal
add byte [eax + eax + 0x75], ch
add byte [ebp], ah
add byte [eax], al
dec eax
je 0x7889105a
dec eax
je 0x78891056
dec eax
je 0x78891052
xor eax, eax
jmp 0x78878b92
push 0x20
jmp fcn.78891068
push 0x10
jmp fcn.78891068
push 4
jmp fcn.78891068

Function at 0x78879b00
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 0x4c]
push 0x28
mov ecx, eax
call fcn.78818e25
mov ecx, eax
pop ebp
jmp fcn.7880dfd8