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

Disassembly:
push 0x4b4
mov eax, 0x4f87d4
call fcn.004cb6c2
mov esi, ecx
test esi, esi
jne 0x440efe
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jne 0x440f13
or eax, 0xffffffff
jmp 0x441092
push 8
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
push 0xb
push esi
movlpd qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x440f35
push 0xfffffffffffffffe
jmp 0x441091
lea eax, [ebp - 0x1c]
push eax
call fcn.004dc131
mov ebx, eax
pop ecx
test ebx, ebx
je 0x44108f
cmp ebx, 0xfde8
je 0x44108f
cmp ebx, 0xfde9
je 0x44108f
movzx eax, bx
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x44108f
push 0x40
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004cd440
add esp, 0xc
lea eax, [ebp - 0xb0]
push 0x40
push 0
push eax
call fcn.004cd440
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x814
cmp si, ax
lea eax, [ebp - 0x70]
jne 0x440fdc
push str.Norwegian_Nynorsk
push 0x40
push eax
call fcn.004de30a
add esp, 0xc
push 0x40
lea eax, [ebp - 0xb0]
push eax
push 0x1002
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x440ff6
push 0xfffffffffffffffb
jmp 0x441091
push 0x40
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x440fbc
push 0xfffffffffffffffc
jmp 0x441091
push 0xa
push 0x10
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.004dd9b9
push 0x400
lea eax, [ebp - 0x4b0]
push 0
push eax
call fcn.004cd440
add esp, 0x1c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x70]
push eax
push str._s__s._s_n
lea eax, [ebp - 0x4b0]
push 0x3fc
push eax
call fcn.0042624b
and dword [ebp - 4], 0
lea eax, [ebp - 0x4b0]
add esp, 0x14
lea ecx, [ebp - 0x4c0]
push eax
call fcn.00440062
push eax
lea eax, [ebp - 0x4b8]
mov byte [ebp - 4], 1
push eax
call fcn.004ba997
pop ecx
pop ecx
lea ecx, [ebp - 0x4b8]
call fcn.0042efcf
lea ecx, [ebp - 0x4c0]
call fcn.0042efcf
xor eax, eax
jmp 0x441092
push 0xfffffffffffffffd
pop eax
call fcn.004cb60f
ret

Function at 0x442161
Capabilities:
Query environment variable

Disassembly:
push 0x828
mov eax, 0x4f8adb
call fcn.004cb654
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x830]
push eax
mov dword [ebp - 0x834], esi
call fcn.00442749
and dword [ebp - 4], 0
lea eax, [ebp - 0x814]
push 0x802
push 0
push eax
call fcn.004cd440
add esp, 0xc
lea ecx, [ebp - 0x814]
cmp dword [ebp - 0x818], 8
lea eax, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push 0x400
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, esi
test eax, eax
je 0x4421da
lea eax, [ebp - 0x814]
push eax
call fcn.004408e0
jmp 0x4421e6
lea eax, [ebp - 0x830]
push eax
call fcn.0044093d
lea ecx, [ebp - 0x830]
call fcn.00440d86
mov eax, esi
call fcn.004cb5fe
ret 4
Function at 0x445020
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0x184
mov eax, 0x4f913d
call fcn.004cb6c2
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x170], edi
call fcn.00428cd9
push esi
lea ecx, [ebp - 0x164]
call fcn.0044093d
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x150], ebx
jne 0x4450bd
mov esi, 0x100
lea eax, [ebp - 0x114]
push esi
push ebx
push eax
call fcn.004cd440
add esp, 0xc
lea eax, [ebp - 0x114]
push esi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x445087
or ebx, 0xffffffff
jmp 0x4451d0
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x130]
call fcn.00440806
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x160]
call fcn.0044341f
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], bl
call fcn.00440d86
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18c], 2
lea eax, [ebp - 0x148]
movlpd qword [ebp - 0x180], xmm0
push eax
lea ecx, [ebp - 0x164]
movlpd qword [ebp - 0x178], xmm0
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x188], 1
mov dword [ebp - 0x168], ebx
call fcn.00440d2d
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
push ecx
cmovae eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x190]
push ecx
push ebx
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
jmp 0x445158
mov dword [ebp - 4], 2
test eax, eax
jne 0x4451c5
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x4451c5
mov eax, dword [esi + 0x18]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0x4451aa
push eax
lea ecx, [ebp - 0x130]
call fcn.00440806
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.00428d2d
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 2
call fcn.00440d86
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x44516d
cmp dword [ebp - 0x168], esi
je 0x4451c5
push dword [ebp - 0x168]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea ecx, [ebp - 0x148]
call fcn.00401443
lea ecx, [ebp - 0x164]
call fcn.00440d86
mov eax, ebx
call fcn.004cb60f
ret

Function at 0x4451e3
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x53b070]
xor eax, esp
mov dword [esp + 0x194], eax
cmp byte [0x53ec81], 0
jne 0x44520a
xor eax, eax
jmp 0x44523b
lea eax, [esp]
mov byte [0x53ec81], 0
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x445238
mov eax, dword [esp]
cmp al, 2
jne 0x445232
shr eax, 8
cmp al, 2
je 0x445206
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004ca9ff
mov esp, ebp
pop ebp
ret
Function at 0x445261
Capabilities:
Get disk size

Disassembly:
push 0x74
mov eax, 0x4f9185
call fcn.004cb654
mov esi, edx
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
jne 0x44527d
xor al, al
jmp 0x4453e0
push 1
lea eax, [ebp - 0x68]
push eax
call fcn.00440dcf
push 0x51f4f4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.004408e0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x64]
call fcn.0042cfc8
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00440d86
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4453d6
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
call fcn.004f40f0
mulsd xmm0, qword [0x529a08]
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
mulsd xmm0, qword [0x529a08]
movsd qword [ebp - 0x80], xmm0
movsd qword [esi], xmm0
call fcn.004f40f0
movsd xmm1, qword [0x529a08]
lea eax, [ebp - 0x30]
mulsd xmm0, xmm1
mov edi, str._.3f_MB
push ecx
push ecx
mulsd xmm0, xmm1
movsd qword [esi + 0x28], xmm0
movsd xmm0, qword [ebp - 0x80]
comisd xmm0, xmmword [0x529a50]
jb 0x445343
mulsd xmm0, xmm1
movsd qword [esp], xmm0
push str._.3f_GB
jmp 0x445349
movsd qword [esp], xmm0
push edi
push eax
call fcn.00411119
add esp, 0x10
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push eax
call fcn.00440806
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0xc]
call fcn.0044341f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00440d86
movsd xmm0, qword [esi + 0x28]
lea eax, [ebp - 0x30]
comisd xmm0, xmmword [0x529a50]
push ecx
push ecx
jb 0x4453a1
mulsd xmm0, qword [0x529a08]
movsd qword [esp], xmm0
push str._.3f_GB
jmp 0x4453a7
movsd qword [esp], xmm0
push edi
push eax
call fcn.00411119
add esp, 0x10
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push eax
call fcn.00440806
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x34]
call fcn.0044341f
lea ecx, [ebp - 0x4c]
call fcn.00440d86
mov bl, 1
lea ecx, [ebp - 0x68]
call fcn.00440d86
mov al, bl
call fcn.004cb5fe
ret
Function at 0x44571f
Capabilities:
Get file attributes

Disassembly:
push 0x64
mov eax, 0x4f9205
call fcn.004cb654
mov edi, ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], edi
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0xf
mov byte [edi + 0xc], al
mov dword [ebp - 4], eax
or dword [edi + 4], 0xffffffff
cmp dword [0x53cd6c], 0x75bcd0d
mov dword [edi], eax
mov byte [edi + 8], al
je 0x4457f9
mov ebx, 0x75bcd0e
cmp dword [0x53cd6c], ebx
je 0x4457f9
push str.LVHMutexExLogMark
lea ecx, [ebp - 0x64]
call fcn.004408e0
push 0x20a
mov byte [ebp - 4], 1
call fcn.004cac4e
mov esi, eax
mov dword [esp], 0x104
xor eax, eax
push esi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push esi
lea ecx, [ebp - 0x48]
call fcn.004408e0
push esi
call fcn.004cac49
pop ecx
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.0044310b
pop ecx
lea ecx, [ebp - 0x48]
call fcn.00440d86
lea ecx, [ebp - 0x64]
call fcn.00440d86
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
lea ecx, [ebp - 0x2c]
neg eax
sbb eax, eax
add eax, ebx
mov dword [0x53cd6c], eax
call fcn.00440d86
mov eax, edi
call fcn.004cb5fe
ret

Function at 0x445dc3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x445dea
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044638c
jmp 0x445e9f
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x445e0c
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x445e0e
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x445e93
jg 0x445e23
test esi, esi
je 0x445e93
test ecx, ecx
jl 0x445e6c
jg 0x445e2d
test eax, eax
je 0x445e6c
cmp edi, ecx
jg 0x445e41
jl 0x445e37
cmp esi, eax
jae 0x445e41
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.004cc940
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x445e6f
mov edx, dword [ebp + 8]
test edi, edi
jl 0x445e93
jg 0x445e79
test esi, esi
je 0x445e93
cmp dword [ebx + 0x4c], 0
je 0x445e93
push dword [ebx + 0x4c]
push esi
push 1
push edx
call fcn.004dbb9a
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x445ea8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x445ecf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00446453
jmp 0x445f9e
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x445ef1
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x445ef3
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x445f92
jg 0x445f10
test esi, esi
je 0x445f92
test ecx, ecx
jl 0x445f5d
jg 0x445f1a
test eax, eax
je 0x445f5d
cmp ebx, ecx
jg 0x445f2e
jl 0x445f24
cmp esi, eax
jae 0x445f2e
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.004cc940
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x445f64
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x445f92
jg 0x445f6e
test esi, esi
je 0x445f92
cmp dword [edi + 0x4c], 0
je 0x445f92
mov ecx, edi
call fcn.0044679b
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.004d82f6
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4461d5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x4461fb
xor eax, eax
jmp 0x4462bd
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x446224
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x446224
dec dword [edx]
mov eax, ebx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x4462bd
cmp dword [esi + 0x4c], 0
je 0x4462bb
mov ecx, esi
call fcn.0044679b
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x446250
push dword [esi + 0x4c]
push eax
call fcn.00445705
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x4462bb
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x4462bb
cmp eax, 1
jle 0x44628a
cmp eax, 3
jne 0x4462bb
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x446242
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x4462ad
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.004dbb9a
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x4462bb
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
mov eax, ebx
jne 0x4462bd
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9ff
leave
ret 4

Function at 0x4467e9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x44686b
cmp byte [esi + 0x3d], 0
je 0x44686b
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x44683d
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x446841
sub eax, 1
je 0x446845
dec eax
sub eax, 1
je 0x44686b
xor al, al
jmp 0x44686d
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x446862
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004dbb9a
add esp, 0x10
cmp edi, eax
jne 0x44683d
cmp byte [esi + 0x3d], 0
sete al
jmp 0x44686d
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004ca9ff
leave
ret
Function at 0x447f51
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
cmp dword [esi], ebx
je 0x447f69
xor eax, eax
jmp 0x448015
lea ecx, [esi + 0x30]
call fcn.0044d199
test eax, eax
jne 0x448012
push ecx
lea ecx, [esi + 0x14]
mov dword [esi + 0x28], 1
call fcn.0044d11e
pop ecx
test eax, eax
jne 0x448012
push ecx
lea ecx, [esi + 0x18]
call fcn.0044d11e
pop ecx
test eax, eax
jne 0x448012
push ecx
lea ecx, [esi + 0x1c]
call fcn.0044d11e
pop ecx
test eax, eax
jne 0x448012
push dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x20]
call fcn.0044d154
pop ecx
test eax, eax
jne 0x448012
push ebx
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi + 0x24], eax
test eax, eax
jne 0x447fdd
call fcn.0044d0ec
test eax, eax
jne 0x448012
lea eax, [ebp - 4]
mov dword [esi + 4], 1
push eax
push ebx
push dword [ebp + 8]
push edi
push ebx
push ebx
call fcn.004d7d30
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
jne 0x448007
call fcn.0044d0ec
test eax, eax
jne 0x448012
mov dword [esi], 1
jmp 0x447f62
push 0xc
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44a6e6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, edx
xor edi, edi
mov ebx, ecx
or esi, 0x100
mov ecx, esi
mov eax, esi
shr ecx, 7
add esi, esi
shr eax, 8
and ecx, 1
neg ecx
sar ecx, 4
and ecx, 0x7f
movzx edx, word [ebx + eax*2]
mov eax, dword [ebp + 8]
shr edx, 4
xor edx, ecx
add edi, dword [eax + edx*4]
cmp esi, 0x10000
jb 0x44a6f8
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44a72d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x100
mov dword [ebp - 4], ecx
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x44a743
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44a815
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
bts esi, edx
mov ebx, ecx
cmp esi, 1
je 0x44a850
push edi
mov edi, dword [ebp + 0xc]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add eax, dword [edi + ecx*4]
cmp esi, 1
jne 0x44a82d
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44a854
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor esi, esi
inc edi
test ebx, ebx
je 0x44a89b
mov eax, dword [ebp + 8]
mov edx, eax
movzx ecx, word [ecx + edi*2]
and edx, 1
shr eax, 1
add edi, edi
mov dword [ebp + 8], eax
or edi, edx
mov eax, edx
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
sub ebx, 1
jne 0x44a869
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x44c35b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
push 8
pop edi
mov dword [esi + 0x3bcd4], ecx
lea ebx, [esi + 0x20c]
mov dword [esi + 0x3bcd0], ecx
mov edx, ecx
mov dword [esi + 0x1cc], ecx
mov dword [esi + 0x1e8], ecx
mov dword [esi + 0x1bc], ecx
mov dword [esi + 0x1c8], 0x20
mov dword [esi + 0x1f0], 1
mov dword [esi + 0x1e4], 4
mov dword [esi + 0x1f4], ecx
mov dword [ebp - 8], edi
mov ecx, edx
mov dword [ebp - 4], edi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub edi, 1
jne 0x44c3bd
mov dword [ebx], ecx
inc edx
add ebx, 4
push 8
pop edi
cmp edx, 0x100
jb 0x44c3b8
xor ebx, ebx
lea eax, [esi + 0x19c]
mov dword [esi + 0x118], ebx
lea ecx, [ebp - 0x3c]
mov dword [esi + 0x148], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x198], eax
call fcn.0044a2f0
mov edx, ecx
mov ecx, esi
call fcn.0044a421
push 2
pop edi
mov word [esi + 0x306a0], 0x100
mov ebx, edi
mov ecx, ebx
xor edx, edx
sar ecx, 1
inc edx
dec ecx
shl edx, cl
mov dword [ebp - 4], edx
test edx, edx
je 0x44c48e
push edx
lea eax, [esi + 0x306a0]
add eax, edi
push ebx
push eax
call fcn.004cd440
add esp, 0xc
add edi, dword [ebp - 4]
inc ebx
cmp ebx, 0x16
jl 0x44c467
mov edi, dword [ebp - 8]
push 4
mov ecx, edi
xor edx, edx
pop ebx
imul ecx, ecx
mov eax, 0x10000
add edx, edx
jmp 0x44c4ad
shr ecx, 1
inc edx
cmp ecx, eax
jae 0x44c4aa
sub ebx, 1
jne 0x44c49e
mov eax, edi
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add edi, 0x10
mov dword [esi + eax*4 + 0x30ea0], ecx
cmp edi, 0x800
jb 0x44c497
and dword [esi + 0x325ac], ebx
and dword [esi + 0x3bd10], ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44d425
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0xe
pop ecx
mov esi, dword [esi + 0x16]
mov edi, ebx
add esi, dword [eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 1]
call fcn.00443215
push dword [ebx + 0x10]
mov dword [ebx + 1], eax
push dword [ebx + 0xc]
call fcn.00443183
push dword [ebx + 0x18]
mov dword [ebx + 0xc], eax
push dword [ebx + 0x14]
mov dword [ebx + 0x10], edx
call fcn.00443183
push dword [ebx + 0x27]
mov dword [ebx + 0x14], eax
push dword [ebx + 0x23]
mov dword [ebx + 0x18], edx
call fcn.00443183
push dword [ebx + 0x2f]
mov dword [ebx + 0x23], eax
push dword [ebx + 0x2b]
mov dword [ebx + 0x27], edx
call fcn.00443183
mov ecx, dword [ebx + 6]
add esp, 0x20
mov dword [ebx + 0x2b], eax
mov dword [ebx + 0x2f], edx
test ecx, ecx
je 0x44d4a5
call fcn.00443215
mov dword [ebx + 6], eax
mov ecx, dword [ebx + 0x1d]
test ecx, ecx
je 0x44d4b4
call fcn.00443215
mov dword [ebx + 0x1d], eax
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x44d4c3
call fcn.00443215
mov dword [ebx + 0x34], eax
mov edi, dword [ebp + 0x10]
push 0
pop eax
mov dword [esp + 0xc], eax
add dword [edi], 0x38
adc dword [edi + 4], eax
cmp byte [ebx], 0xd
jne 0x44d4db
mov byte [ebx + 5], al
cmp byte [ebx + 0xa], 0xd
jne 0x44d4e4
mov byte [ebx + 0x1c], al
cmp byte [ebx + 0x21], 0xd
jne 0x44d4ef
mov byte [ebx + 0x33], al
jmp 0x44d4f6
mov al, byte [ebx + 0x33]
mov dword [esp + 0xc], eax
movzx eax, byte [ebx + 0x1c]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0xc]
movzx eax, al
cdq
add esi, eax
mov eax, dword [ebx + 1]
adc ecx, edx
cdq
add esi, eax
mov eax, dword [ebp + 8]
adc ecx, edx
add esi, dword [ebx + 0x14]
adc ecx, dword [ebx + 0x18]
add esi, dword [edi]
adc ecx, dword [edi + 4]
add esi, dword [ebx + 0x2b]
adc ecx, dword [ebx + 0x2f]
cmp dword [eax + 0x1e], ecx
jg 0x44d538
jl 0x44d533
cmp dword [eax + 0x1a], esi
jae 0x44d538
push 0xfffffffffffffff7
pop eax
jmp 0x44d53a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc