joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b5d6
Capabilities:
Move file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x41b5e5
mov eax, dword [esi]
push eax
call fcn.00433fb4
cmp dword [esi + 0x14], 0x10
pop ecx
jb 0x41b5f4
mov esi, dword [esi]
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x41b600
mov eax, dword [eax]
push esi
push eax
call fcn.004390a0
neg eax
pop ecx
pop ecx
sbb al, al
inc al
pop esi
ret 8

Function at 0x422991
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x46b014]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
lea eax, [esp + 0x10]
mov ebp, 0x104
mov esi, ecx
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, 0x46ba90
test eax, eax
jne 0x4229fd
mov eax, dword [0x46ba90]
cmp eax, ebx
je 0x4229fd
test byte [eax + 0x1c], 2
je 0x4229fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x46ba90]
mov edx, 0x463844
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.00407e06
add esp, 0xc
push 0x45fac0
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.004344dd
add esp, 0xc
test eax, eax
jne 0x422a27
push edi
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.004344dd
add esp, 0xc
test eax, eax
je 0x422a58
mov eax, dword [0x46ba90]
cmp eax, ebx
je 0x422a58
test byte [eax + 0x1c], 2
je 0x422a58
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x46ba90]
mov edx, 0x463844
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xb
pop ecx
call fcn.00407e06
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
jne 0x422a9b
mov eax, dword [0x46ba90]
cmp eax, ebx
je 0x422a9b
test byte [eax + 0x1c], 2
je 0x422a9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x46ba90]
mov edx, 0x463844
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0xc
pop ecx
call fcn.00407e06
add esp, 0xc
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042dd4f
add esp, 0x210
ret 4
Function at 0x422f0e
Capabilities:
Query environment variable

Disassembly:
push 0x41c
mov eax, 0x451d1f
call fcn.0042e622
mov esi, ecx
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x428], esi
xor edx, edx
or dword [esi], 0xffffffff
xor eax, eax
mov byte [esi + 4], dl
push 7
pop ecx
mov dword [esi + 8], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
mov word [esi + 8], ax
lea ebx, [esi + 0x20]
mov dword [ebp - 4], edx
mov dword [ebx], edx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], ecx
mov word [ebx], ax
mov dword [esi + 0x38], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ecx
mov word [esi + 0x38], ax
mov edi, 0x410
mov byte [ebp - 4], 2
push edi
push edx
lea eax, [ebp - 0x420]
mov dword [esi + 0x50], edx
push eax
call fcn.00430240
add esp, 0xc
lea eax, [ebp - 0x420]
mov byte [eax], 0
inc eax
sub edi, 1
jne 0x422f86
push 0x104
lea eax, [ebp - 0x420]
push eax
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
lea edx, [ebp - 0x420]
mov ecx, str.C:WindowsTemp
cmove edx, ecx
mov ecx, ebx
push edx
call fcn.00401aa2
mov eax, esi
call fcn.0042e5d1
ret 4
Function at 0x423541
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x46b014]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
and dword [esp + 4], 0
and dword [esp + 8], 0
push ebx
mov dword [esp + 0x10], eax
mov ebx, ecx
push esi
push edi
xor eax, eax
lea edi, [esp + 0x1c]
cmp dword [ebx + 4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
je 0x423585
mov esi, 0x10dd
jmp 0x423677
mov esi, dword [0x46d694]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call dword [0x453350]
call esi
xor edi, edi
inc edi
test eax, eax
jne 0x4235ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
jne 0x423677
mov eax, edi
mov dword [esp + 0x1c], eax
jmp 0x4235be
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4235eb
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push dword [esp + 0x28]
call fcn.00423427
mov esi, eax
test esi, esi
je 0x423622
push esi
call fcn.00423278
test eax, eax
je 0x423618
xor edi, edi
inc edi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42362c
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
push ecx
push eax
push ecx
push dword [esp + 0x28]
call fcn.00423427
mov esi, eax
test esi, esi
je 0x423622
push esi
call fcn.00423278
test eax, eax
jne 0x42362c
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x423661
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x423640
mov ecx, dword [esp + 0x24]
xor edi, edi
mov edx, dword [esp + 0x28]
and dword [esp + 0x24], edi
and dword [esp + 0x28], edi
xor esi, esi
push 3
pop eax
mov dword [ebx + 0x2c], edi
test ecx, ecx
push 1
pop edi
cmove eax, edi
xor edi, edi
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x1c], ecx
xor ecx, ecx
inc ecx
mov dword [ebx + 0x20], edx
mov dword [ebx + 4], ecx
test eax, eax
je 0x42366c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test edi, edi
je 0x423677
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42368b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [esp + 0x20], 0
cmp dword [esp + 0x24], 0
je 0x4236a1
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [esp + 0x24], 0
cmp dword [esp + 0x28], 0
je 0x4236b2
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042dd4f
mov esp, ebp
pop ebp
ret 8
Function at 0x425dcb
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x46b014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00430240
add esp, 0xc
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x804]
push eax
push dword [ebp + 8]
call fcn.00407b47
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042dd4f
leave
ret

Function at 0x426827
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x4521e2
call fcn.0042e622
mov ebx, edx
mov edi, ecx
push 0x70
call fcn.0042df70
mov esi, eax
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
mov eax, 0x1f4
push 0x30
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea eax, [esi + 0x20]
push 0
push eax
mov dword [esi], 0x70
mov dword [esi + 4], 0x460b14
mov dword [esi + 8], 0x90080000
mov dword [esi + 0x14], 0x258
mov dword [esi + 0x18], 0x136
mov dword [esi + 0x1c], method.__IOleInPlaceSiteEx.virtual_40
call fcn.00430240
add esi, 0x50
mov dword [ebp - 0x1c], esi
push 0x30
and dword [esi], 0
and dword [esi + 4], 0
call fcn.0040205b
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x20]
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
or dword [ebp - 4], 0xffffffff
push 8
mov dword [edi], esi
call fcn.0042df70
mov dword [ebp - 0x1c], eax
mov dword [eax], esi
mov dword [eax + 4], ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
push ecx
xor ebx, ebx
push ebx
push eax
push 0x428520
push ebx
push ebx
call fcn.0043417c
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x426959
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x42694e
push ecx
push eax
call fcn.0042d3dd
pop ecx
pop ecx
test eax, eax
jne 0x426963
xorps xmm0, xmm0
mov edi, 0x46d71c
push edi
movlpd qword [ebp - 0x18], xmm0
call fcn.0042d235
pop ecx
test eax, eax
je 0x426937
jmp 0x426963
push 0x46d6dc
call fcn.0042c7e2
pop ecx
pop ecx
cmp byte [0x46d6a8], 0
push edi
je 0x42692b
call fcn.0042d25a
pop ecx
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x426969
mov eax, dword [esi + 0x44]
call fcn.0042e5d1
ret 0x1c
push 6
mov dword [ebp - 0x14], ebx
call fcn.0042cb35
push eax
call fcn.0042cb08
call fcn.00439064
int3
Function at 0x428c08
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x428da1
mov edx, 0x10000000
cmp eax, 0x7c
je 0x428da1
cmp eax, 0x29
jne 0x428c41
cmp dword [esi + 0x10], 0
jne 0x428da1
test dword [esi + 0x50], edx
je 0x428da7
cmp eax, 0x2e
jne 0x428c5c
push 5
lea ecx, [esi + 0x24]
call fcn.00428e84
mov ecx, esi
call fcn.00428bdf
jmp 0x428d8b
cmp eax, 0x5c
jne 0x428cb1
mov ecx, esi
call fcn.00428bdf
test byte [esi + 0x50], 0x80
je 0x428ca5
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x428c8d
push 4
lea ecx, [esi + 0x24]
call fcn.00428e84
mov ecx, esi
call fcn.00428bdf
jmp 0x428d92
cmp eax, 0x42
jne 0x428ca5
push 4
lea ecx, [esi + 0x24]
call fcn.00428e84
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x428c81
mov ecx, esi
call fcn.00429815
jmp 0x428d8b
cmp eax, 0x5b
jne 0x428d14
mov ecx, esi
call fcn.00428bdf
lea ecx, [esi + 0x24]
call fcn.0042a6cc
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x428cde
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00428bdf
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x428cfc
cmp eax, 0x5d
jne 0x428cfc
push eax
lea ecx, [esi + 0x24]
call fcn.0042a725
mov ecx, esi
call fcn.00428bdf
mov ecx, esi
call fcn.0042a432
cmp dword [esi + 0x4c], 0x5d
je 0x428c50
push 4
jmp 0x428da9
cmp eax, 0x28
jne 0x428d31
mov ecx, esi
call fcn.00428bdf
mov ecx, esi
call fcn.004298fd
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x428da7
jmp 0x428d80
cmp eax, 0x5e
jne 0x428d3d
push 2
jmp 0x428c79
cmp eax, 0x24
jne 0x428d49
push 3
jmp 0x428c79
cmp eax, 0x2a
je 0x428d9d
cmp eax, 0x2b
je 0x428d9d
cmp eax, 0x3f
je 0x428d9d
cmp eax, 0x7b
je 0x428d9d
cmp eax, 0x7d
jne 0x428d67
test dword [esi + 0x50], edx
je 0x428d99
cmp eax, 0x5d
jne 0x428d71
test dword [esi + 0x50], edx
je 0x428d0d
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00429a63
mov bl, 1
mov ecx, esi
call fcn.00428bdf
test bl, bl
je 0x428d92
mov ecx, esi
call fcn.0042997e
mov cl, 1
jmp 0x428c0f
push 6
jmp 0x428da9
push 0xa
jmp 0x428da9
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00427f61
int3

Function at 0x440514
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x458534
push 0x45852c
push str.FlsAlloc
push 0x1e
call fcn.00440341
mov esi, eax
add esp, 0x10
test esi, esi
je 0x440548
push dword [ebp + 8]
mov ecx, esi
call dword [0x453350]
call esi
jmp 0x44054e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x440592
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x458544
push 0x45853c
push str.FlsGetValue
push 0x20
call fcn.00440341
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4405c9
push dword [ebp + 8]
mov ecx, esi
call dword [0x453350]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x446f24
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x46b014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x446f6f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004470c3
test al, al
jne 0x446f69
sub edx, 2
cmp edx, edi
jne 0x446f4f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x446f91
lea eax, [edi + 2]
cmp edx, eax
je 0x446f91
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00446e70
add esp, 0x10
jmp 0x44708b
push esi
lea ecx, [ebp - 0x255]
call fcn.004470c3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x446fd4
push dword [ebp - 0x25c]
jmp 0x446f81
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x447011
cmp word [ebp - 0x226], 0
je 0x447032
cmp word [ebp - 0x226], ax
jne 0x447011
cmp word [ebp - 0x224], 0
je 0x447032
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00446e70
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x44707e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x446feb
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x447066
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x44708b
push 0x446ca0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0044e0d0
add esp, 0x10
jmp 0x44705b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042dd4f
leave
ret

Function at 0x44799a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4479ab
pop esi
ret
push ebx
push edi
push esi
call fcn.00447963
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0043faf1
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4479d3
push ebx
push esi
push edi
call fcn.0042fcc0
add esp, 0xc
push 0
call fcn.0043fab7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x447d97
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004479e8
Function at 0x44b1bd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x46d240]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44b1fd
cmp byte [ebx], 0xa
jne 0x44b1fd
or byte [eax + edi + 0x28], 4
jmp 0x44b202
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x44b300
mov al, byte [edx]
cmp al, 0x1a
je 0x44b2e2
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x44b231
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x44b256
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x44b260
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x44b213
jmp 0x44b300
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44b2dd
cmp dword [ebp - 0xc], 0
je 0x44b2dd
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x46d240]
test byte [eax + edi + 0x28], 0x48
je 0x44b2b7
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x44b2a2
mov byte [esi], dl
jmp 0x44b2b3
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x46d240]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x44b300
cmp byte [ebp - 1], 0xa
jne 0x44b2c6
cmp esi, ebx
jne 0x44b2c6
mov byte [esi], 0xa
jmp 0x44b2ff
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043fe45
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44b300
mov byte [esi], 0xd
jmp 0x44b2ff
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x46d240]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x44b2fc
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44b300
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44b309
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x46d240]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44b34c
cmp word [esi], dx
jne 0x44b34c
or byte [edi + eax + 0x28], 4
jmp 0x44b351
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x44b4a4
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x44b484
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x44b393
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x44b3c9
cmp eax, edx
jae 0x44b3d5
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x44b36b
jmp 0x44b4a4
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44b480
cmp dword [ebp - 0x14], 0
je 0x44b480
mov eax, dword [ebx*4 + 0x46d240]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x44b458
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x44b421
mov word [esi], cx
jmp 0x44b454
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x46d240]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x46d240]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x46d240]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x44b4a4
pop ebx
cmp word [ebp - 4], bx
jne 0x44b469
cmp esi, dword [ebp + 0xc]
jne 0x44b469
mov word [esi], bx
jmp 0x44b4a1
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0043fe45
add esp, 0x10
cmp word [ebp - 4], bx
je 0x44b4a4
push 0xd
jmp 0x44b49d
mov ecx, dword [ebx*4 + 0x46d240]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x44b49b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44b4a4
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44eb80
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044eafc
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x44ecf8
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x44ecf8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x44eca7
jg 0x44ebd9
test eax, eax
je 0x44ec9d
push 1
push 0x1000
call fcn.0043fa5a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x44ebff
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x44ec94
push 0x8000
push ebx
call fcn.0043d39a
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x44ec2b
jg 0x44ec26
cmp ecx, 0x1000
jb 0x44ec2b
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00442120
add esp, 0x10
cmp eax, 0xffffffff
je 0x44ec70
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x44ec26
jl 0x44ec57
test ecx, ecx
jne 0x44ec18
push dword [ebp - 0xc]
push ebx
call fcn.0043d39a
push esi
call fcn.0043fab7
add esp, 0xc
xor edi, edi
jmp 0x44ed09
cmp byte [edi + 0x24], 0
je 0x44ec87
cmp dword [edi + 0x20], 5
jne 0x44ec87
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x44ec92
mov edi, dword [edi + 0x18]
jmp 0x44ec94
xor edi, edi
push esi
call fcn.0043fab7
pop ecx
jmp 0x44ed09
test ecx, ecx
jg 0x44ec69
jl 0x44eca7
test eax, eax
jae 0x44ec69
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043fe45
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x44ecca
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x44ec69
jmp 0x44ed01
push ebx
call fcn.00439a5e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x44ec69
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x44ed09
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x44ed06
mov edi, dword [edi + 0x18]
jmp 0x44ed09
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0043fe45
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x437830
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x42b015
lea edi, [esi - 0x2a015]
push edi
or ebp, 0xffffffff
jmp 0x437852
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x437859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x437848
mov eax, 1
add ebx, ebx
jne 0x43786b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x437860
jne 0x43787c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x437860
xor ecx, ecx
sub eax, 3
jb 0x437890
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x437902
mov ebp, eax
add ebx, ebx
jne 0x43789b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4378a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4378cc
inc ecx
add ebx, ebx
jne 0x4378b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4378ad
jne 0x4378c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4378ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4378ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4378dd
jmp 0x43784e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4378ec
add edi, ecx
jmp 0x43784e
pop esi
mov edi, esi
mov ecx, 0xdad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43790a
cmp byte [edi], 6
jne 0x43790a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43790f
lea edi, [esi + 0x35000]
mov eax, dword [edi]
or eax, eax
je 0x43797e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x37000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x37050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43793c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x37054]
or eax, eax
je 0x437978
mov dword [ebx], eax
add ebx, 4
jmp 0x437959
call dword [esi + 0x37064]
mov ebp, dword [esi + 0x37058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4379b2
sub esp, 0xffffff80
jmp 0x41ed20