joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430320
Capabilities:
Resolve dns

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x1c], ecx
je 0x4303c4
cmp word [ecx + 8], 2
push ebx
push ebp
push edi
jne 0x430395
cmp word [ecx + 0xa], 4
jne 0x430395
mov edi, dword [ecx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x430395
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
lea esp, [esp]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebx
push ebp
call fcn.004302b0
test eax, eax
mov dword [esi], eax
je 0x4303b8
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x430370
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x24]
push 0x400
push ecx
push 0x401
push edx
call fcn.004f2e74
add esp, 0x10
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret 0x18
pop edi
pop ebp
pop ebx
mov eax, 8
pop esi
ret 0x18
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x4303d4.11001
jmp dword [eax*4 + 0x4303f8]
mov eax, 0x2af9
pop esi
ret 0x18
mov eax, 0x2afa
pop esi
ret 0x18
mov eax, 0x2afb
pop esi
ret 0x18
Function at 0x430c30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x56a260]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x56c3b8], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x430680
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x430970
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.00430630
je 0x430ca2
movzx eax, word [esp + 0x234]
mov eax, dword [eax*8 + 0x566010]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004f2ac1
add esp, 0x230
ret 4
push 0x104
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x430d9f
push ebx
push ebp
push esi
push edi
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.004f299b
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call fcn.004f5c11
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x430d1d
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x430d64
push esi
call ebp
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call fcn.004f299b
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call fcn.004f5c11
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call edi
mov esi, eax
test esi, esi
je 0x430d9b
push str.getaddrinfo
push esi
call ebx
test eax, eax
je 0x430dcf
xor edi, edi
mov ecx, dword [esp + edi*8 + 0x10]
push ecx
push esi
call ebx
test eax, eax
mov dword [esp + edi*8 + 0x14], eax
je 0x430dcf
add edi, 1
cmp edi, 3
jl 0x430d66
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x566010], edx
mov dword [0x566018], eax
mov dword [fcn.00430630], ecx
pop edi
pop esi
pop ebp
pop ebx
movzx edx, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
mov eax, dword [edx*8 + 0x566010]
xor ecx, esp
mov dword [0x56c3b8], 1
call fcn.004f2ac1
add esp, 0x230
ret 4
push esi
call ebp
jmp 0x430d9b
Function at 0x430e60
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x56a260]
xor eax, esp
mov dword [esp + 0x190], eax
cmp dword [0x56c3b4], 0
jle 0x430e9d
mov eax, 1
add dword [0x56c3b4], eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.004f2ac1
add esp, 0x194
ret
push esi
push 0x190
lea eax, [esp + 8]
push 0
push eax
call fcn.004f5b00
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, eax
test esi, esi
je 0x430efa
call fcn.0042fd50
cmp dword [eax], 1
jl 0x430f46
push esi
push str.CNsSocket::SocketInitialize_____WSAStartup___error_:__d
push 0
call fcn.00430060
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.004f2ac1
add esp, 0x194
ret
mov ax, word [esp + 4]
cmp al, 2
jne 0x430f27
cmp ah, al
jne 0x430f27
mov eax, 1
mov dword [0x56c3b4], eax
pop esi
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.004f2ac1
add esp, 0x194
ret
call fcn.0042fd50
cmp dword [eax], 1
jl 0x430f40
push str.Socket_version_2.2_not_supported.
push 0
call fcn.00430060
add esp, 8
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004f2ac1
add esp, 0x194
ret

Function at 0x4311a0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
push esi
push edi
push eax
mov eax, dword [esp + 0x1c]
mov edi, ecx
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4311d2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 8], eax
xor eax, eax
cmp esi, 0xffffffff
pop edi
setne al
pop esi
ret 0x10

Function at 0x431380
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
push esi
push 0
mov esi, ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x4313af
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
sub eax, 0x2733
neg eax
sbb eax, eax
pop esi
ret 8
Function at 0x4347c0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x434839
mov eax, dword [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push eax
push ecx
call edi
test eax, eax
je 0x43481c
call fcn.0042fd50
cmp dword [eax], 1
jl 0x43480d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esi + 0x28]
push eax
push esi
push edx
push str.CNsBaseThread::EndThread...._d_msec_over..TerminateThread...._this0x_08x__tid_d_n
push 0
call fcn.00430060
add esp, 0x14
mov eax, dword [esi + 4]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push 0x1388
push ecx
call edi
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
pop edi
pop esi
ret

Function at 0x434910
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x43494a
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esi + 8]
push ecx
push 0
push esi
push 0x434840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor edx, edx
test eax, eax
setne dl
mov dword [esi + 4], eax
mov dword [esi + 0x24], edx
mov eax, edx
pop esi
ret
mov eax, dword [esi + 0x24]
pop esi
ret
Function at 0x43cca0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x518f58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.0043c7e0
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
push 0x100
push 0x8020
push eax
mov dword [esp + 0x20], 0
call fcn.004f6c1b
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x43cd1e
call fcn.0042fd50
cmp dword [eax], 1
jl 0x43cd17
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esi]
push eax
push str.CTbProfilerEx::Open__s___err___d_n
push 0
call fcn.00430060
add esp, 0x10
xor eax, eax
jmp 0x43cdf8
push esi
lea ecx, [ebp + 4]
call fcn.00401fe0
push 2
push 0
push edi
call fcn.004f6b3f
push 0
push 0
push edi
mov esi, eax
call fcn.004f6b3f
lea ecx, [esi + 2]
push ecx
call fcn.004d37a6
mov ebx, eax
push esi
push ebx
push edi
call fcn.004f69d0
add esp, 0x28
cmp eax, esi
je 0x43cd7f
call fcn.0042fd50
cmp dword [eax], 1
jl 0x43cde5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push edi
push 0x527530
push 0
call fcn.00430060
add esp, 0x14
jmp 0x43cde5
push 0
lea ecx, [esp + 0x2c]
mov byte [ebx + esi], 0
mov byte [ebx + esi + 1], 0
mov dword [esp + 0x2c], 0
call fcn.00402700
cmp eax, 1
jne 0x43cdab
mov edx, dword [esp + 0x28]
mov dword [edx - 4], 0
lea eax, [esp + 0x28]
push eax
push esi
push ebx
mov ecx, ebp
mov dword [esp + 0x2c], 0
call fcn.0043b6f0
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.0043cb30
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43cde5
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
push ebx
call fcn.004d37ab
push edi
call fcn.004f6342
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x450110
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
cmp byte [esi], 0
push ebx
push ebp
push edi
jne 0x4502c2
mov al, byte [esi + 5]
mov ebp, dword [esi + 0x38]
mov ebx, dword [esi + 0x34]
mov byte [esp + 0xf], al
movzx eax, al
movzx ecx, byte [eax + ebp]
lea edi, [eax + ebp]
mov eax, esi
call fcn.00450090
test eax, eax
je 0x450155
push 0x5a2
call fcn.00437300
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
mov cx, word [ebx + 0x20]
movzx edx, byte [esi + 3]
mov ax, 3
sub ax, dx
movzx edx, byte [esp + 0xf]
add ax, ax
add ax, ax
add ax, dx
sub cx, 1
mov word [esi + 0x12], cx
movzx eax, ax
mov byte [esi + 1], 0
mov ecx, dword [ebx + 0x24]
mov word [esi + 0xc], ax
mov dword [esp + 0x10], ecx
add ecx, ebp
mov dword [esi + 0x3c], ecx
movzx ecx, ax
xor edx, edx
lea eax, [ecx + ebp]
mov dword [esi + 0x40], eax
mov dh, byte [edi + 5]
xor eax, eax
mov ah, byte [edi + 3]
mov dl, byte [edi + 6]
sub edx, 1
and edx, 0xffff
add edx, 1
mov dword [esp + 0x18], edx
movzx edx, byte [edi + 4]
or ax, dx
mov word [esi + 0x10], ax
mov edx, dword [ebx + 0x20]
movzx eax, ax
mov dword [esp + 0x14], eax
sub edx, 8
mov eax, 0xaaaaaaab
mul edx
mov eax, dword [esp + 0x14]
shr edx, 2
cmp eax, edx
jbe 0x4501f5
push 0x5ae
call fcn.00437300
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
lea ecx, [ecx + eax*2]
xor eax, eax
mov ah, byte [edi + 1]
mov dword [esp + 0x14], ecx
mov al, byte [edi + 2]
movzx edi, byte [edi + 7]
add edi, dword [esp + 0x18]
movzx eax, ax
test ax, ax
jbe 0x450277
movzx eax, ax
cmp eax, ecx
jl 0x4502a5
mov edx, dword [esp + 0x10]
add edx, 0xfffffffc
cmp eax, edx
jg 0x4502a5
movzx dx, byte [eax + ebp + 1]
mov dh, byte [eax + ebp]
xor ebx, ebx
mov bh, byte [eax + ebp + 2]
movzx edx, dx
test dx, dx
mov bl, byte [eax + ebp + 3]
movzx ebx, bx
mov dword [esp + 0x18], ebx
jbe 0x450262
movzx ecx, bx
movzx ebx, dx
lea ecx, [ecx + eax + 3]
cmp ebx, ecx
jle 0x450291
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
movzx ebx, bx
add eax, ebx
cmp eax, dword [esp + 0x10]
jg 0x450291
add edi, ebx
test dx, dx
movzx eax, dx
ja 0x450214
cmp edi, dword [esp + 0x10]
jle 0x4502b9
push 0x5ee
call fcn.00437300
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x5e0
call fcn.00437300
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x5d9
call fcn.00437300
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
sub edi, ecx
mov word [esi + 0xe], di
mov byte [esi], 1
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x45a1a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x48]
push ebx
mov ebx, dword [eax]
mov cl, byte [ebx + 4]
mov byte [esp + 0x37], cl
mov ecx, dword [esp + 0x48]
mov al, byte [ecx]
mov edx, dword [ebx + 0xc]
push ebp
xor ebp, ebp
cmp al, 0x80
push esi
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
jae 0x45a1df
movzx eax, al
mov dword [esp + 0x18], eax
lea eax, [ebp + 1]
jmp 0x45a1f0
lea edx, [esp + 0x18]
push edx
push ecx
call fcn.0045bc10
add esp, 8
movzx eax, al
mov esi, dword [esp + 0x18]
movzx edi, al
add ebx, 0x14
lea ebx, [ebx]
mov eax, dword [esp + 0x54]
mov cl, byte [eax + edi]
add eax, edi
cmp cl, 0x80
jae 0x45a21c
movzx eax, cl
mov dword [esp + 0x1c], eax
mov ecx, 1
jmp 0x45a231
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.0045bc10
movzx ecx, al
mov eax, dword [esp + 0x24]
add esp, 8
movzx edx, cl
add edi, edx
mov edx, dword [esp + 0x50]
lea ecx, [eax + esi + 2]
cmp ecx, edx
jbe 0x45a25b
cmp eax, 0xc
jb 0x45a24e
lea ecx, [eax - 0xc]
shr ecx, 1
jmp 0x45a255
movzx ecx, byte [eax + 0x5291ec]
add ecx, esi
cmp ecx, edx
ja 0x45a2d6
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esi + eax]
push ecx
call fcn.00459de0
mov edx, dword [ebx]
add esi, eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
push edx
add ecx, ebp
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.0046c9b0
add esp, 0x18
test eax, eax
mov dword [esp + 0x10], eax
jne 0x45a2b7
add dword [esp + 0x14], 1
add ebx, 4
add ebp, 0x28
cmp edi, dword [esp + 0x18]
jae 0x45a2da
mov ecx, dword [esp + 0x58]
movzx edx, word [ecx + 4]
cmp dword [esp + 0x14], edx
jl 0x45a200
jmp 0x45a2da
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x14]
cmp byte [ecx + edx], 0
je 0x45a311
pop edi
pop esi
neg eax
pop ebp
mov dword [esp + 4], eax
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
mov cl, byte [edx + 6]
test cl, 1
je 0x45a2fa
pop edi
pop esi
mov dword [esp + 8], 0xffffffff
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 0x3c
ret
test cl, 2
jne 0x45a311
cmp edi, dword [esp + 0x18]
jae 0x45a311
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x46ccb0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x46cce1
push esi
push edi
jmp 0x46ccc0
movzx esi, byte [edx]
movzx esi, byte [esi + 0x527f38]
lea edi, [eax*8]
xor esi, edi
sub ecx, 1
xor eax, esi
add edx, 1
test ecx, ecx
jg 0x46ccc0
pop edi
pop esi
ret

Function at 0x46cd50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x46cd6b
mov esi, 0x80
cmp esi, dword [edi]
jne 0x46cd76
xor eax, eax
pop esi
add esp, 8
ret
push ebp
call fcn.0044a6f0
lea ecx, [esi*8]
push ecx
call fcn.0043f9b0
mov ebp, eax
add esp, 4
mov dword [esp + 8], ebp
call fcn.0044a700
test ebp, ebp
jne 0x46cda3
pop ebp
xor eax, eax
pop esi
add esp, 8
ret
mov edx, dword [edi + 0xc]
push ebx
push edx
call fcn.0043f700
push ebp
mov dword [edi + 0xc], ebp
call fcn.0043f6c0
mov ebx, eax
shr ebx, 3
lea eax, [ebx*8]
push eax
push 0
push ebp
mov dword [esp + 0x2c], ebx
mov dword [edi], ebx
call fcn.004f5b00
mov ecx, dword [edi + 8]
add esp, 0x14
test ecx, ecx
mov dword [edi + 8], 0
je 0x46ce87
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x46ce19
movzx ebx, byte [esi]
movzx ebx, byte [ebx + 0x527f38]
lea ebp, [eax*8]
xor ebx, ebp
sub edx, 1
xor eax, ebx
add esi, 1
test edx, edx
jg 0x46cdf2
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
xor edx, edx
div ebx
lea eax, [ebp + edx*8]
test eax, eax
je 0x46ce62
mov esi, dword [eax]
test esi, esi
je 0x46ce36
mov edx, dword [eax + 4]
jmp 0x46ce38
xor edx, edx
add esi, 1
test edx, edx
mov dword [eax], esi
mov dword [eax + 4], ecx
je 0x46ce62
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x46ce5a
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x46ce7b
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x46ce7b
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x46ce71
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x46cde6
pop ebx
pop ebp
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x46eb70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x46eb7b
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not esi
jb 0x46ec77
push ebp
mov ebp, edi
shr ebp, 3
jmp 0x46eba0
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x52c278]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x52c278]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x52c278]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x52c278]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x52c278]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x52c278]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x52c278]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x52c278]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x46eba0
pop ebp
test edi, edi
je 0x46ec9c
jmp 0x46ec80
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x52c278]
add ecx, 1
sub edi, 1
jne 0x46ec80
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x46ecb0
Capabilities:
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
movzx ecx, byte [esp + 8]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x52c278]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
add eax, 1
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x52c278]
mov dword [edx + 8], ecx
ret

Function at 0x46ed00
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov al, byte [esp + 0x10]
shr edx, 8
xor al, dl
mov edx, dword [esi]
movzx ebx, al
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x52c278]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x52c278]
mov dword [esi + 8], ecx
pop esi
pop ebx
ret
Function at 0x46f170
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ebx
imul esi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x46f1b2
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46f1a6
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x46f1c3
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
call fcn.004f5c90
add dword [edi + 0x1c], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
ret
Function at 0x471680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
jne 0x47169a
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
je 0x47168f
cmp dword [edi + 0x7c], ebx
je 0x4716ad
push edi
call fcn.0046fd40
add esp, 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.0046fb50
add esp, 0x10
test eax, eax
je 0x4716d4
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
push 0x88
call fcn.004f608e
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x471715
push 0x4000
call fcn.004f608e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x471721
push esi
call fcn.004f5a69
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x68], edx
mov ecx, dword [edi]
mov dword [esi + 0x64], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x6c], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x47176d
lea eax, [esi + 4]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0046ef70
add esp, 4
test eax, eax
jne 0x47176d
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x5c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x58], edx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x60], eax
mov cl, byte [edi + 0x30]
and cl, 1
mov byte [esi + 0x70], cl
mov edx, dword [edi + 0x30]
shr edx, 3
test dl, 1
je 0x47179e
mov al, byte [edi + 0x39]
mov byte [esi + 0x84], al
jmp 0x4717a7
mov cl, byte [edi + 0x3f]
mov byte [esi + 0x84], cl
mov dl, byte [esi + 0x70]
neg dl
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esi + 0x74]
mov dword [ebx], 0x12345678
mov dword [esi + 0x78], 0x23456789
mov dword [esi + 0x7c], 0x34567890
sbb edx, edx
and edx, 0xc
test ebp, ebp
mov dword [esi + 0x80], edx
je 0x4717ee
movzx eax, byte [ebp]
test al, al
je 0x4717ee
push eax
push ebx
call fcn.0046ecb0
add esp, 8
add ebp, 1
jne 0x4717d7
mov eax, dword [edi + 0x78]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx + 0x1e]
pop ebp
mov dword [esi + 0x3c], edx
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x471aa0
Capabilities:
Get common file path

Disassembly:
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x471b6d
cmp dword [edi + 4], 0xffffffff
jne 0x471b6d
push esi
lea esi, [edi + 0x244]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x471ad0
sub eax, edx
sar eax, 1
movzx eax, word [edi + eax*2 + 0x242]
cmp ax, 0x5c
je 0x471b01
cmp ax, 0x2f
je 0x471b01
push 0x54e4a8
push esi
call fcn.0046ff30
add esp, 8
mov esi, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
cmp ebx, 1
jne 0x471b2c
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x471b2c
pop ebx
pop esi
mov eax, 0x2000000
pop edi
ret 0xc
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
push esi
call fcn.0046f020
add esp, 0x10
test eax, eax
jne 0x471b4e
mov eax, dword [esp + 0x18]
pop ebx
pop esi
pop edi
ret 0xc
push eax
call fcn.00471490
add esp, 4
mov dword [edi], eax
neg eax
sbb eax, eax
pop ebx
and eax, 0xfffffe00
pop esi
add eax, 0x200
pop edi
ret 0xc
mov eax, 0x1000000
pop edi
ret 0xc