joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f0a6
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0x28
mov eax, 0x47fbd0
call fcn.00466686
mov eax, dword [ebp + 8]
push eax
lea edi, [ebp - 0x34]
call fcn.0042662c
mov eax, edi
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040f419
pop ecx
test al, al
jne 0x40f0e3
or esi, 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0042523a
mov eax, esi
call fcn.00466709
ret
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40f0ef
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40f100
push 0xffffffffffffff9c
pop esi
jmp 0x40f0d3
test al, 1
je 0x40f0d3
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x40f110
lea ecx, [ebp - 0x2c]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x40f0d3
push 0xfffffffffffffffd
jmp 0x40f0fd

Function at 0x40f123
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0x28
mov eax, 0x47fbd0
call fcn.00466686
mov eax, dword [ebp + 8]
push eax
lea edi, [ebp - 0x34]
call fcn.0042662c
and dword [ebp - 4], 0
mov eax, edi
push eax
call fcn.0040f419
pop ecx
test al, al
jne 0x40f15f
or esi, 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0042523a
mov eax, esi
call fcn.00466709
ret
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40f16b
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40f17c
push 0xffffffffffffff9c
pop esi
jmp 0x40f14f
test al, 2
je 0x40f19d
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x40f18c
lea ecx, [ebp - 0x2c]
push 0xfffffffffffffffd
pop esi
and eax, esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40f14f
xor esi, esi
jmp 0x40f14f

Function at 0x40f475
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x4a0ee0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push eax
lea edi, [esp + 0x10]
call fcn.0042662c
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x40f4a7
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40f4d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
lea ecx, [esp + 0xc]
call fcn.0042523a
mov ecx, dword [esp + 0x2c]
pop edi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0045fbf1
mov esp, ebp
pop ebp
ret
shr al, 4
mov bl, 1
and al, bl
mov byte [esi], al
jmp 0x40f4bb
Function at 0x40f833
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4a0ee0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push eax
lea edi, [ebp - 0x28]
call fcn.0042662c
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x40f85d
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40f882
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.0042523a
mov ecx, dword [ebp - 8]
pop edi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0045fbf1
leave
ret
xor bl, bl
jmp 0x40f86a

Function at 0x40f8ea
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4a0ee0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
xor eax, eax
cmp edi, esi
je 0x40fa2c
push 0x3e
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x46]
push esi
push eax
call fcn.00467850
push edi
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.00460bdc
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x40f93a
push 0xfffffffffffffffc
jmp 0x40fa29
mov eax, 0x5a4d
cmp word [ebp - 0x48], ax
je 0x40f94c
push 0xfffffffffffffffb
jmp 0x40fa29
push esi
push dword [ebp - 0xc]
push edi
call fcn.00460ec2
add esp, 0xc
test eax, eax
je 0x40f964
push 0xfffffffffffffffa
jmp 0x40fa29
push 0xf4
lea eax, [ebp - 0x13c]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00467850
push 0x104
lea eax, [ebp - 0x244]
push esi
push eax
mov dword [ebp - 0x248], esi
call fcn.00467850
push edi
push ebx
lea eax, [ebp - 0x140]
push 0xf8
push eax
call fcn.00460bdc
add esp, 0x28
cmp eax, 0xffffffff
jne 0x40f9b3
push 0xfffffffffffffff9
jmp 0x40fa29
cmp dword [ebp - 0x140], 0x4550
je 0x40f9c3
push 0xfffffffffffffff8
jmp 0x40fa29
mov eax, 0x10b
cmp word [ebp - 0x128], ax
je 0x40fa2a
mov eax, 0x20b
cmp word [ebp - 0x128], ax
jne 0x40fa27
push 2
pop ebx
push esi
push dword [ebp - 0xc]
push edi
call fcn.00460ec2
add esp, 0xc
test eax, eax
je 0x40f9f7
push 0xfffffffffffffff6
jmp 0x40fa29
push edi
push 1
lea eax, [ebp - 0x248]
push 0x108
push eax
call fcn.00460bdc
add esp, 0x10
cmp eax, 0xffffffff
jne 0x40fa17
push 0xfffffffffffffff5
jmp 0x40fa29
cmp dword [ebp - 0x248], 0x4550
je 0x40fa2a
push 0xfffffffffffffff4
jmp 0x40fa29
push 0xfffffffffffffff7
pop ebx
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0045fbf1
leave
ret
Function at 0x40fa3a
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0x90
mov eax, 0x480d75
call fcn.00466686
mov eax, dword [ebp + 8]
push 7
mov ebx, edx
pop edx
lea esi, [ebp - 0x34]
mov dword [ebp - 0x64], eax
call fcn.0042527a
xor esi, esi
lea edi, [ebp - 0x80]
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.004251d2
cmp dword [eax + 0x18], 0x10
jb 0x40fa76
mov eax, dword [eax + 4]
jmp 0x40fa79
add eax, 4
push 0x48bfe0
push eax
call fcn.0046064e
pop ecx
pop ecx
push esi
mov edi, eax
push 1
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x5c], edi
call fcn.00408bd4
push 0x64
pop ebx
cmp edi, esi
jne 0x40fab0
or ebx, 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0042523a
mov eax, ebx
call fcn.00466709
ret
push 2
push esi
push edi
call fcn.00460ec2
add esp, 0xc
push edi
call fcn.00460dca
pop ecx
push esi
push esi
push edi
mov dword [ebp - 0x58], eax
call fcn.00460ec2
mov ecx, dword [ebp - 0x64]
add esp, 0xc
lea edi, [ebp - 0x9c]
call fcn.004251d2
cmp dword [eax + 0x18], 0x10
jb 0x40faea
mov eax, dword [eax + 4]
jmp 0x40faed
add eax, 4
push 0x48bfe4
push eax
call fcn.0046064e
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x60], eax
call fcn.00408bd4
cmp dword [ebp - 0x60], esi
jne 0x40fb1e
push dword [ebp - 0x5c]
call fcn.004608c0
pop ecx
push 0xfffffffffffffffd
pop ebx
jmp 0x40faa0
mov edi, dword [ebp - 0x5c]
call fcn.0040f8ea
mov edi, eax
cmp edi, 1
je 0x40fb39
cmp edi, 2
je 0x40fb39
mov ebx, edi
jmp 0x40fbe4
push 0
push 0
push dword [ebp - 0x5c]
call fcn.00460ec2
add esp, 0xc
push dword [ebp - 0x58]
call fcn.0044e8ec
pop ecx
push dword [ebp - 0x5c]
mov esi, eax
push 1
push dword [ebp - 0x58]
push esi
call fcn.00460bdc
add esp, 0x10
cmp eax, 0xffffffff
jne 0x40fb6e
push 0xfffffffffffffff3
pop ebx
jmp 0x40fbe4
mov ecx, dword [esi + 0x3c]
lea eax, [ecx + esi]
movzx edx, word [eax + 0x14]
movzx eax, word [eax + 6]
add edx, ecx
lea ecx, [edx + esi + 0x18]
test eax, eax
jbe 0x40fbe4
lea edi, [ecx + 0x14]
mov dword [ebp - 0x58], eax
lea eax, [edi - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00424da9
push 0
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00426993
test eax, eax
jne 0x40fbd0
push dword [ebp - 0x60]
mov eax, dword [edi]
push 1
push dword [edi - 0xc]
add eax, esi
push eax
call fcn.004607c7
add esp, 0x10
mov ebx, eax
inc ebx
neg ebx
sbb ebx, ebx
and ebx, 0xf
add ebx, 0xfffffff1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.0042523a
add edi, 0x28
dec dword [ebp - 0x58]
jne 0x40fb8c
push dword [ebp - 0x5c]
call fcn.004608c0
pop ecx
push dword [ebp - 0x60]
call fcn.0046052e
pop ecx
push dword [ebp - 0x60]
call fcn.004608c0
pop ecx
test esi, esi
je 0x40fc0a
push esi
call fcn.004602fe
pop ecx
test ebx, ebx
je 0x40faa0
push dword [ebp - 0x64]
call fcn.0040f833
pop ecx
jmp 0x40faa0
Function at 0x40ff31
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40ff66
mov eax, dword [ebp - 4]
test eax, eax
jbe 0x40ff66
add dword [esi + 0x30], eax
adc dword [esi + 0x34], 0
and dword [esi + 0x3c], 0
jmp 0x40ff72
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xfffffffffffffffe
mov dword [esi + 0x3c], eax
pop eax
leave
ret 8

Function at 0x41005b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x410093
mov eax, dword [ebp - 4]
cmp dword [ebp + 0xc], eax
jne 0x410093
add dword [esi + 0x28], eax
adc dword [esi + 0x2c], 0
and dword [esi + 0x3c], 0
xor eax, eax
jmp 0x41009f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xfffffffffffffffe
mov dword [esi + 0x3c], eax
pop eax
leave
ret 8
Function at 0x41110d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483126
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x4a0ee0]
xor eax, esp
mov dword [esp + 0x17c], eax
push ebx
push esi
mov eax, dword [0x4a0ee0]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp byte [esi + 0x14], bl
je 0x41116f
push 0x48a97c
push eax
jmp 0x4112e4
mov eax, esi
call fcn.004108c6
test al, al
je 0x4112db
lea eax, [edi - 1]
cmp eax, 3
ja 0x4112db
mov eax, dword [esi + 4]
cmp edi, eax
jg 0x4112db
lea esi, [esp + 0x7c]
call fcn.00424973
lea eax, [esp + 0x1c]
mov dword [esp + 0x198], ebx
call fcn.0042963c
push ebx
call fcn.00460248
pop ecx
push edx
push eax
lea esi, [esp + 0x24]
call fcn.004296c1
push dword [esp + 0x14]
lea eax, [esp + 0xa0]
push eax
call fcn.00424e0d
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x198], 1
call fcn.0041104a
push 0x3f
mov byte [esp + 0x19c], 2
pop ecx
cmp edi, 3
jne 0x4111fd
push 0x49
jmp 0x411216
cmp edi, 4
jne 0x411206
push 0x44
jmp 0x411216
cmp edi, 2
jne 0x41120f
push 0x57
jmp 0x411216
cmp edi, 1
jne 0x411217
push 0x45
pop ecx
inc dword [0x4a6280]
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x41122c
lea eax, [esp + 0x64]
movzx ecx, cx
push ecx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0xd0]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [0x4a6280]
push str.__d___04d__02d__02d___02d:_02d:_02d__T_05d___s___04d___c_
push eax
call fcn.0041016b
add esp, 0x34
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00424e0d
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1a4], 3
call fcn.00409901
lea ecx, [esp + 0x3c]
mov byte [esp + 0x198], 2
call fcn.0042523a
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x14]
call fcn.00424e57
lea ecx, [esp + 0x5c]
call fcn.0042523a
lea ecx, [esp + 0x9c]
call fcn.0042523a
lea ecx, [esp + 0x7c]
call fcn.0042523a
jmp 0x4112e9
push 0x48c1d8
push dword [esp + 0x14]
call fcn.00424e0d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.0045fbf1
mov esp, ebp
pop ebp
ret 8
Function at 0x41176c
Capabilities:
Get file size

Disassembly:
push 0x4c
mov eax, 0x47fafe
call fcn.0046661d
mov esi, ebx
call fcn.0040ff06
xor edi, edi
lea esi, [ebx + 4]
push esi
lea ecx, [ebp - 0x38]
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x44], edi
call fcn.004269e0
mov dword [ebp - 4], edi
call fcn.00424f31
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0042523a
push esi
lea edi, [ebp - 0x58]
call fcn.0042662c
xor edi, edi
inc edi
mov dword [ebp - 4], edi
call fcn.00424f31
lea ecx, [ebp - 0x58]
call fcn.0042523a
push 0
push 0x80
push 3
push 0
push edi
push closesocket
mov eax, esi
call fcn.00425210
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x38], eax
cmp eax, 0xffffffff
jne 0x4117f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x3c], eax
push 0xfffffffffffffffe
pop eax
jmp 0x411838
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x411827
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x38]
cmp eax, 0xffffffff
je 0x411823
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebx + 0x38], 0xffffffff
push 0xfffffffffffffffd
jmp 0x4117f5
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x44], eax
mov byte [ebx], 1
xor eax, eax
call fcn.004666f5
ret
Function at 0x411f0d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x480c7a
call fcn.0046661d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x411f35
mov eax, 0xfffffed4
jmp 0x412098
lea eax, [ebp - 0x30]
push eax
call fcn.00438f90
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], edi
call fcn.004120fe
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
call fcn.004120fe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], 0x804
call fcn.004120fe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], 0x409
call fcn.004120fe
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceExW]
sar eax, 1
je 0x411fcd
cmp edi, eax
jb 0x411fa7
call fcn.00460122
mov eax, dword [ebp - 0x24]
lea eax, [eax + edi*2]
movzx eax, word [eax]
push eax
push 1
push 0x10
push dword [ebp - 0x14]
call esi
mov ebx, eax
test ebx, ebx
jne 0x412001
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
inc edi
sar eax, 1
cmp edi, eax
jb 0x411fa7
push dword [ebp - 0x14]
call fcn.00411d39
pop ecx
movzx eax, ax
push eax
push 1
push 0x10
push dword [ebp - 0x14]
call esi
mov ebx, eax
test ebx, ebx
jne 0x412001
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xfffffffffffffffe
pop edi
lea esi, [ebp - 0x30]
call fcn.0042ce30
mov eax, edi
jmp 0x412098
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x412013
push 0xfffffffffffffffd
jmp 0x411ff1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x412024
push 0xfffffffffffffffc
jmp 0x411ff1
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jg 0x412036
push 0xfffffffffffffffb
jmp 0x411ff1
mov ecx, 0x48bfe8
lea eax, [esi + 6]
mov dx, word [eax]
or edi, 0xffffffff
cmp dx, word [ecx]
jne 0x412067
test dx, dx
je 0x412063
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x412067
add eax, 4
add ecx, 4
test dx, dx
jne 0x41203e
xor eax, eax
jmp 0x41206b
sbb eax, eax
sbb eax, edi
test eax, eax
jne 0x41208d
mov edx, esi
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.0041193b
mov edi, eax
test edi, edi
jne 0x41208d
mov byte [esi + 0x100], 1
jmp 0x411ff2
lea esi, [ebp - 0x30]
call fcn.0042ce30
lea eax, [edi - 0x64]
call fcn.004666f5
ret 8
Function at 0x414d6f
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [ebx]
push edi
lea edi, [ebx + 4]
call fcn.00415550
mov eax, dword [ebx]
pop edi
pop esi
jmp fcn.00415485

Function at 0x415485
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x415a68
Capabilities:
Create thread

Disassembly:
push 0x24
mov eax, 0x4838ba
call fcn.0046661d
mov esi, ecx
and dword [ebp - 0x14], 0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x415a97
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea eax, [eax + esi + 4]
add eax, 4
push eax
call edi
lea eax, [esi + 8]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x1c], 1
mov byte [ebp - 4], 2
cmp byte [esi + 0x20], 0
je 0x415adc
mov dword [ebp - 0x28], str...........BlowSnow_sourceHIEThread.cpp
mov dword [ebp - 0x24], 0x12a
mov dword [ebp - 0x2c], vtable.HIEUtil::ThreadStartedException.0
push 0x494d18
lea eax, [ebp - 0x2c]
push eax
call fcn.004661eb
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea eax, [eax + esi + 4]
add eax, 4
push eax
call edi
lea edi, [esi + 0x24]
mov eax, dword [edi]
test eax, eax
jne 0x415afa
call fcn.00415d0f
lea ebx, [esi + 0x28]
push ebx
push 0
push esi
push 0x41597f
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 0
call fcn.004613c7
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [edi]
add esp, 0x18
test eax, eax
jne 0x415b27
call fcn.00415d0f
cmp dword [eax + 0xc], 0
jne 0x415b67
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea esi, [eax + esi + 4]
call fcn.0041579a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], str...........BlowSnow_sourceHIEThread.cpp
mov dword [ebp - 0x28], 0x13e
mov dword [ebp - 0x30], vtable.HIEUtil::ThreadSyscallException.0
push 0x494c00
lea eax, [ebp - 0x30]
jmp 0x415ad6
push dword [ebx]
mov ebx, edi
push dword [ebp + 8]
mov byte [esi + 0x20], 1
call fcn.00415833
push dword [ebp - 0x20]
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea esi, [eax + esi + 4]
call fcn.0041579a
mov eax, dword [ebp + 8]
call fcn.004666f5
ret 8
Function at 0x418ac4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
mov eax, dword [esi + 0x1c]
push ebx
push ebp
push edi
mov dword [esp + 0xc], eax
test eax, eax
jg 0x418adf
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x418b19
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov edi, eax
lea ebx, [esi + 4]
jmp 0x418b0e
call ebp
cmp eax, edi
jae 0x418af8
mov edi, eax
jmp 0x418b06
mov ecx, eax
sub ecx, edi
cmp ecx, dword [esp + 0xc]
jb 0x418b06
cmp eax, edi
ja 0x418b1f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x418aee
inc dword [esi]
mov eax, dword [esi]
jmp 0x418b22
push 0xffffffffffffff9c
pop eax
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0x418efe
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x6c
mov eax, 0x47f84b
call fcn.00466686
lea ecx, [esi + 0xc]
mov dword [ebp - 0x38], esi
call fcn.00411312
xor eax, eax
mov dword [ebp - 4], eax
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
mov byte [esi + 8], al
mov eax, dword [0x4a3b00]
mov ebx, 0x75bcd0d
cmp eax, ebx
je 0x418fa6
mov eax, dword [0x4a3b00]
cmp eax, 0x75bcd0e
je 0x418fa6
push str.LVHMutexExLogMark
lea eax, [ebp - 0x58]
push eax
call fcn.00424e0d
lea edi, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.00418ec3
lea ecx, [ebp - 0x58]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 2
call fcn.004273c5
add esp, 0xc
mov ecx, edi
call fcn.0042523a
lea ecx, [ebp - 0x58]
call fcn.0042523a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x418f87
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
add ecx, ebx
mov dword [0x4a3b00], ecx
lea ecx, [ebp - 0x34]
call fcn.0042523a
mov eax, esi
call fcn.00466709
ret
Function at 0x419505
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47e5ba
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4a0ee0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4a0ee0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x419568
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0045fbf1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x419590
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x419590
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x419548
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x41959c
or eax, 0xffffffff
jmp 0x419548
cmp dword [esi + 0x3c], edi
jne 0x4195b0
push eax
push ebx
call fcn.00418e89
pop ecx
pop ecx
test al, al
je 0x419597
jmp 0x41958c
push edi
push 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x18], bl
call fcn.00419c14
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], edi
call fcn.0040a8c6
mov ecx, eax
call fcn.0041a002
mov edi, dword [esp + 0x58]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.0040a8c6
mov ecx, eax
call fcn.0041a002
lea edx, [esp + 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x4196c0
cmp eax, 1
jg 0x4196e8
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.0040a8c6
mov ecx, eax
call fcn.0041a002
mov edi, dword [esp + 0x18]
sub edi, eax
je 0x419655
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call fcn.0040a8c6
mov ecx, eax
call fcn.0041a002
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004607c7
add esp, 0x10
cmp edi, eax
jne 0x4196ff
lea eax, [esp + 0x10]
mov byte [esi + 0x41], 1
cmp dword [esp + 0x1c], eax
jne 0x419716
test edi, edi
ja 0x419683
cmp dword [esp + 0x58], 0x20
jae 0x4196ff
push 0
push 8
lea ecx, [esp + 0x4c]
call fcn.004127f6
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.0040a8c6
mov ecx, eax
call fcn.0041a002
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.0040a8c6
mov ecx, eax
call fcn.0041a002
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x21]
push edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x419603
jmp 0x4196ff
cmp eax, 3
jne 0x4196ff
push dword [esi + 0x4c]
push dword [esp + 0x14]
call fcn.00418e89
pop ecx
pop ecx
test al, al
jne 0x419716
or esi, 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00408bd4
mov eax, esi
jmp 0x419548
mov esi, dword [ebp + 8]
jmp 0x419702