joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54cca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10a000]
push edi
jmp 0x54ccba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54ccc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54ccb0
mov eax, 1
add ebx, ebx
jne 0x54ccd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54cce4
jne 0x54cd03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54cd03
dec eax
add ebx, ebx
jne 0x54ccf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54ccc8
add ebx, ebx
jne 0x54ccff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54cd55
xor ecx, ecx
sub eax, 3
jb 0x54cd1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54cd8a
sar eax, 1
mov ebp, eax
jmp 0x54cd26
add ebx, ebx
jne 0x54cd26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54ccf4
inc ecx
add ebx, ebx
jne 0x54cd34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54ccf4
add ebx, ebx
jne 0x54cd41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54cd36
jne 0x54cd52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54cd36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54cd74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54cd66
jmp 0x54ccb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54cd74
add edi, ecx
jmp 0x54ccb6
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54cd92
cmp byte [edi], 0x11
jne 0x54cd92
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 0x54cd97
lea edi, [esi + 0x148000]
mov eax, dword [edi]
or eax, eax
je 0x54ce0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e6f94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e70e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54cdc4
mov ecx, edi
jns 0x54cdf3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e70ec]
or eax, eax
je 0x54ce09
mov dword [ebx], eax
add ebx, 4
jmp 0x54cde1
call dword [esi + 0x1e70fc]
mov ebp, dword [esi + 0x1e70f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x54ce43
sub esp, 0xffffff80
jmp 0x416310
Function at 0x403084
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0x14]
call sub.kernel32.dll_WriteFile
test eax, eax
setne al
movsx eax, al
push eax
call fcn.00402f24
mov esi, eax
cmp dword [0x407eb4], 0xffffffff
je 0x4030e5
mov eax, dword [ebp + 0x14]
cmp eax, dword [0x407eb0]
jne 0x4030e5
lea eax, [ebp - 0x1c]
push eax
push dword [0x407eb0]
call sub.kernel32.dll_GetConsoleScreenBufferInfo
movsx eax, word [ebp - 0x18]
mov dword [0x407ebc], eax
movsx eax, word [ebp - 0x16]
mov dword [0x407ec0], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4031fc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
push esi
push edi
mov edi, 3
push 0x408a24
call fcn.00406578
mov esi, dword [eax]
push 0x408a24
call fcn.00406578
mov dword [eax], 0x40
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x38c]
push eax
push 0
call fcn.00405de0
call fcn.00405c5c
lea eax, [ebp - 0x150]
push eax
push 1
call fcn.00405ce8
call fcn.00404688
test eax, eax
jne 0x40333d
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 0x40
push 0
call fcn.00405dc0
call fcn.00404688
test eax, eax
jne 0x4032b3
cmp word [ebp - 0x190], 0x5a4d
jne 0x4032b3
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.00405d04
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 2
push 0
call fcn.00405dc0
jmp 0x4032bd
mov dword [ebp - 0x154], 0
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.00405d04
call fcn.00404688
test eax, eax
jne 0x403321
cmp word [ebp - 0x190], 0x4550
jne 0x403321
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x288]
push eax
push 0xf8
push 0
call fcn.00405dc0
call fcn.00404688
test eax, eax
jne 0x403321
cmp dword [ebp - 0x288], 0x4550
jne 0x403321
cmp word [ebp - 0x22c], 3
jne 0x403321
mov edi, 2
lea eax, [ebp - 0x150]
push eax
call fcn.00405d34
push 0x408a1c
call fcn.00406578
mov dword [eax], 0
push 0x408a24
call fcn.00406578
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403394
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
call sub.kernel32.dll_CreateThread
mov esi, eax
push esi
call sub.kernel32.dll_CloseHandle
test esi, esi
setne al
movsx eax, al
push eax
call fcn.00402f24
mov esi, eax
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x403438
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
cmp dword [0x407f54], 0
je 0x40345a
mov eax, dword [0x407f54]
mov dword [ebp - 4], eax
jmp 0x4034ef
push 0x104
call fcn.0040475c
mov dword [ebp - 4], eax
push 0x104
push dword [ebp - 4]
push 0
call sub.kernel32.dll_GetModuleFileNameA
push dword [ebp - 4]
call fcn.00404224
inc eax
mov ebx, eax
call sub.kernel32.dll_GetCommandLineA
mov esi, eax
mov al, byte [esi]
dec al
cmp al, 0x1f
jbe 0x40349f
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.004033d0
mov esi, eax
inc esi
push esi
call fcn.00404224
inc eax
mov edi, eax
lea eax, [ebp - 4]
push eax
mov eax, ebx
add eax, edi
inc eax
push eax
call fcn.004047bc
call sub.kernel32.dll_AreFileApisANSI
test eax, eax
jne 0x4034d0
push edi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push esi
call sub.user32.dll_CharToOemBuffA
jmp 0x4034dd
push esi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push edi
call fcn.004051bc
mov eax, dword [ebp - 4]
add eax, ebx
add eax, edi
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov dword [0x407f54], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4035cc
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov dword [ebp - 0x24], 0x52414853
mov dword [ebp - 0x20], 0x454d4445
mov dword [ebp - 0x1c], 0x5356354d
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0xb
call fcn.00405130
xor eax, eax
mov bl, 0
cmp dword [0x407ef8], 0
jne 0x40361a
push 0x407c48
push 1
call fcn.00402e30
mov dword [0x407ef8], eax
cmp dword [0x407ef8], 0
jne 0x403633
push 0x8000
call fcn.0040475c
mov esi, eax
mov bl, 1
jmp 0x40366d
lea eax, [ebp - 0x24]
push eax
push 0
push 6
call dword [0x407ef8]
test eax, eax
jne 0x40365d
lea eax, [ebp - 0x24]
push eax
push 0x8000
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov bl, 1
push 0
push 0
push 0
push 6
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test bl, bl
je 0x403696
push esi
push 0x8000
push 0xff
call fcn.00405218
push esi
push 0x24
push 0
call fcn.00405218
mov eax, esi
add eax, 0xc
push eax
call fcn.00404844
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403a44
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
call fcn.004039d0
lea edx, [ebp - 0x400]
movzx ecx, word [ebp + 0x14]
dec ecx
xor esi, esi
jmp 0x403a7c
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov word [edx + 2], ax
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax]
mov word [edx], ax
inc dword [ebp + 0x18]
add edx, 4
inc esi
cmp ecx, esi
jge 0x403a62
mov ax, word [ebp + 0x14]
mov word [ebp - 0x404], ax
mov word [ebp - 0x402], 1
mov word [ebp - 0x408], 0
mov word [ebp - 0x406], 0
mov ax, word [ebp + 0x10]
mov word [ebp - 0x410], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40e], ax
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0x14]
add ecx, eax
dec ecx
mov word [ebp - 0x40c], cx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40a], ax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x408]
push dword [ebp - 0x404]
lea eax, [ebp - 0x400]
push eax
push dword [0x407eb0]
call sub.kernel32.dll_WriteConsoleOutputA
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x403e24
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x403e44
mov al, byte [ebp - 4]
jmp 0x403e47
mov al, byte [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406098
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
or edi, 0xffffffff
or eax, 0xffffffff
mov dword [ebp - 0x24], 0
xor esi, esi
mov edx, dword [0x4082a8]
add edx, 0x24
mov esi, edx
cmp dword [edx], 0xffffffff
je 0x4060d6
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x4060d1
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 8]
jbe 0x4060d1
mov esi, edx
add edx, 0x10
jmp 0x4060ba
mov edx, esi
cmp dword [edx], 0xffffffff
je 0x4061ea
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x4061ea
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x4061e8
mov ecx, dword [edx + 8]
sub dword [ebp + 0x10], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [edx + 0xc]
test edx, edx
je 0x4061e8
mov cl, byte [edx]
sub cl, 0x3c
jne 0x40611e
jmp 0x4061e8
sub cl, 3
jne 0x406138
inc edx
mov dword [ebp - 0xc], edx
movzx ecx, byte [edx]
inc ecx
add edx, ecx
mov byte [ebp - 0x25], 1
jmp 0x4061e3
inc cl
jne 0x40614c
movzx ecx, word [edx + 1]
add edi, ecx
add edx, 3
jmp 0x4061e3
inc cl
jne 0x406160
movzx ecx, word [edx + 1]
add edi, ecx
mov ecx, dword [edx + 3]
add eax, ecx
add edx, 7
jmp 0x406173
movzx ecx, byte [edx]
shr ecx, 6
add edi, ecx
mov cl, byte [edx]
and cl, 0x3f
movzx ecx, cl
add eax, ecx
inc edx
cmp eax, dword [ebp + 0x10]
jne 0x40617d
mov esi, eax
mov dword [ebp - 0x24], edi
cmp eax, dword [ebp + 0x10]
jl 0x4061da
sub eax, dword [ebp + 0x10]
cmp eax, 0xa
jle 0x406190
cmp byte [ebp - 0x25], 0
jne 0x4061d8
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov eax, dword [ebp + 0xc]
mov byte [eax], cl
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp eax, dword [ebp - 0x14]
jle 0x4061c6
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + ecx]
xor dl, 0xaa
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [eax + ecx], dl
jmp 0x4061a1
movzx eax, word [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
add esi, dword [ebp - 0x18]
mov eax, esi
jmp 0x4061ea
jmp 0x4061e8
mov esi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x25], 0
jmp 0x406110
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4066c0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
cld
push ecx
call fcn.0040669c
call fcn.004035cc
mov dword [0x4082a8], eax
lea edx, [eax + 0x18]
mov dword [0x408308], edx
pop edx
call fcn.0040651c
call sub.kernel32.dll_GetEnvironmentStrings
mov dword [0x4082d4], eax
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x4082e8], eax
mov dword [0x408310], eax
call fcn.004031fc
cmp eax, 3
setb byte [0x4082b1]
call fcn.0040421c
lea eax, [esp]
xor edx, edx
mov ecx, dword fs:[edx]
mov dword fs:[edx], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x40694c
mov dword [eax + 8], ebp
jmp dword [esp + 0x10]
Function at 0x43b634
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
add edx, 0x1daf03eb
call fcn.0043b670
sub edx, ecx
or ecx, ecx
xor dword [edi], esi
dec ecx
or ecx, ecx
mov edx, edx
inc edi
dec ecx
inc ecx
cmp edi, eax
jne fcn.0043b634
push 0xb878a098
mov ecx, dword [esp]
add esp, 4
sub edx, ecx
mov edx, 0x68fbbf34
ret
Function at 0x681380
Capabilities:
Encode data using xor

Disassembly:
push cs
enter 0xffffffffffffe708, 0xffffffffffffffd1
invalid
insb byte es:[edi], dx
push ds
sbb esi, dword [eax + 0x76]
popfd
js 0x5e852e
invalid
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c4000]
mov dword [edi + 0x1f84d4], 0x24e417
push edi
or ebp, 0xffffffff
jmp 0x6813aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6813b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6813a0
mov eax, 1
add ebx, ebx
jne 0x6813c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6813d4
jne 0x6813f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6813f3
dec eax
add ebx, ebx
jne 0x6813e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6813b8
add ebx, ebx
jne 0x6813ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x681445
xor ecx, ecx
sub eax, 3
jb 0x68140b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x68147a
sar eax, 1
mov ebp, eax
jmp 0x681416
add ebx, ebx
jne 0x681416
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6813e4
inc ecx
add ebx, ebx
jne 0x681424
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6813e4
add ebx, ebx
jne 0x681431
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x681426
jne 0x681442
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x681426
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x681464
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x681456
jmp 0x6813a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x681464
add edi, ecx
jmp 0x6813a6
pop esi
mov edi, esi
mov ecx, 0xe10e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x681482
cmp byte [edi], 0x7a
jne 0x681482
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 0x681487
lea edi, [esi + 0x27d000]
mov eax, dword [edi]
or eax, eax
je 0x6814f6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x293668]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2937e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6814b4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2937e8]
or eax, eax
je 0x6814f0
mov dword [ebx], eax
add ebx, 4
jmp 0x6814d1
call dword [esi + 0x2937f8]
mov ebp, dword [esi + 0x2937ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x68152a
sub esp, 0xffffff80
jmp 0x5e85a0
Function at 0x10042c6f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10042c7e
pop dword [ebp - 0x20]
mov eax, 0x10042c7e
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xf34a8c1e
add dword [ebp - 0x30], 0x5b07b92d
mov dword [ebp - 0x2c], 0xc8d4bcca
sub dword [ebp - 0x2c], 0x96a17085
mov dword [ebp - 0x28], 0x4195285
add dword [ebp - 0x28], 0x4832f1a9
mov dword [ebp - 0x24], 0xf452fa44
sub dword [ebp - 0x24], 0xf452fa44
lea eax, [ebp - 0x30]
push eax
mov eax, 0x37139562
sub eax, 0x270d9552
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xe7c70ff6
sub dword [ebp - 0x30], 0x7354a6a0
mov dword [ebp - 0x2c], 0x69f710d7
add dword [ebp - 0x2c], 0xd775509e
mov dword [ebp - 0x28], 0x2d3c45f6
add dword [ebp - 0x28], 0x36332676
mov dword [ebp - 0x24], 0x846dc9d5
sub dword [ebp - 0x24], 0x846dc9d5
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x556e1
push 0
call eax
mov ecx, 0x4612
xor edi, edi
add edi, eax
mov esi, 0x1008bc00
add esi, dword [ebp - 0x20]
mov ebx, 0x27ca8299
sub dword [ebp - 0x18], ebx
mov edx, dword [esi]
xor dword [ebp - 0x10], 0xb9154b85
xor edx, ebx
sub dword [ebp - 8], 0xcf751075
mov dword [edi], edx
sub dword [ebp - 4], ebx
add edi, 0xb70cb2f
sub edi, 0xb70cb2b
add esi, 0x3a5baa33
add esi, 0xc5a455d1
loop 0x10042d86
add eax, 0x26ea3792
sub eax, 0x26e92c77
xor ebx, ebx
add ebx, eax
add eax, 0x666ef006
add eax, 0x99910fff
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x78bdf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x335000]
push edi
jmp 0x78be0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x78be11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x78be00
mov eax, 1
add ebx, ebx
jne 0x78be23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x78be34
jne 0x78be53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x78be53
dec eax
add ebx, ebx
jne 0x78be40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x78be18
add ebx, ebx
jne 0x78be4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x78bea5
xor ecx, ecx
sub eax, 3
jb 0x78be6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x78beda
sar eax, 1
mov ebp, eax
jmp 0x78be76
add ebx, ebx
jne 0x78be76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x78be44
inc ecx
add ebx, ebx
jne 0x78be84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x78be44
add ebx, ebx
jne 0x78be91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x78be86
jne 0x78bea2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x78be86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x78bec4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x78beb6
jmp 0x78be06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x78bec4
add edi, ecx
jmp 0x78be06
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x78bee2
cmp byte [edi], 0x11
jne 0x78bee2
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 0x78bee7
lea edi, [esi + 0x384000]
mov eax, dword [edi]
or eax, eax
je 0x78bf5f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x63f17c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x63f2f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x78bf14
mov ecx, edi
jns 0x78bf43
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x63f2fc]
or eax, eax
je 0x78bf59
mov dword [ebx], eax
add ebx, 4
jmp 0x78bf31
call dword [esi + 0x63f30c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x78bf90
cmp al, 0xef
ja 0x78bf83
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x78bf65
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x78bf72
mov ebp, dword [esi + 0x63f300]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x78bfc4
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x41cd90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0xa5ddb8]
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x41cda6
cmp dword [eax + 0x20], edi
je 0x41cda6
xor esi, esi
jmp 0x41cdaa
mov esi, dword [esp + 0xc]
push 0x4dd190
push 0x4dd190
call fcn.00426960
add esp, 8
call fcn.004491a0
mov edx, dword [0x892524]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x64
jge 0x41cde6
mov ecx, dword [0x88c0e8]
inc ecx
cmp ecx, 3
mov dword [0x88c0e8], ecx
jle 0x41cdec
xor esi, esi
jmp 0x41cdec
mov dword [0x88c0e8], edi
mov dword [0x892524], eax
cmp dword [0xa5dda4], edi
je 0x41ce0b
push 0xa5cda0
push str.recursive_error_after:__s
call fcn.00446ad0
add esp, 8
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
push 0xa5cda0
mov dword [0xa5dda4], 1
call fcn.004afb89
add esp, 0xc
cmp esi, 3
je 0x41ce48
cmp esi, 4
je 0x41ce48
push 0xa5cda0
push str.com_errorMessage
call fcn.00421600
add esp, 8
cmp esi, 2
jne 0x41ce6e
push 1
call fcn.0040c130
add esp, 4
call fcn.0040bef0
push 0xffffffffffffffff
push 0xa5cc60
mov dword [0xa5dda4], edi
call fcn.004afb10
cmp esi, 1
je 0x41cf37
cmp esi, 3
je 0x41cf37
cmp esi, 4
jne 0x41ced5
push str.Server_didnt_have_CD_n
call fcn.00439460
mov eax, dword [0xa5cc58]
add esp, 4
cmp eax, edi
je 0x41cebc
cmp dword [eax + 0x20], edi
je 0x41cebc
push 1
call fcn.0040c130
add esp, 4
call fcn.0040bef0
mov dword [0xa5dda4], edi
call fcn.0040b210
jmp 0x41cec9
push str.Server_didnt_have_CD_n
call fcn.0041cb80
add esp, 4
push 0xffffffffffffffff
push 0xa5cc60
call fcn.004afb10
call fcn.0040f5c0
push 0xa5cda0
push str.Server_fatal_crashed:__s_n
call fcn.0042d360
push eax
call fcn.00439460
mov eax, dword [0x88c0e0]
add esp, 0xc
cmp eax, edi
je 0x41cf0a
push eax
call fcn.00423130
add esp, 4
mov dword [0x88c0e0], edi
mov eax, dword [0xa5cd8c]
cmp eax, edi
je 0x41cf22
push eax
call fcn.00423130
add esp, 4
mov dword [0xa5cd8c], edi
push 0xa5cda0
push 0x4bf0c0
call fcn.00446ad0
add esp, 8
pop edi
pop esi
ret
push 0xa5cda0
push str._nERROR:__s_n_n
call fcn.0041cb80
push 0xa5cda0
push str.Server_crashed:__s_n
call fcn.0042d360
push eax
call fcn.00439460
push 1
call fcn.0040c130
add esp, 0x18
call fcn.0040bef0
mov dword [0xa5dda4], edi
push 0xffffffffffffffff
push 0xa5cc60
call fcn.004afb10
nop
nop
nop
nop

Function at 0x41cf80
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0xa5dda4]
test eax, eax
jne 0x41cfdd
push str.Server_quit_n
call fcn.00439460
add esp, 4
call fcn.0040f5c0
mov eax, dword [0x88c0e0]
test eax, eax
je 0x41cfb7
push eax
call fcn.00423130
add esp, 4
mov dword [0x88c0e0], 0
mov eax, dword [0xa5cd8c]
test eax, eax
je 0x41cfd3
push eax
call fcn.00423130
add esp, 4
mov dword [0xa5cd8c], 0
push 1
call fcn.00426490
add esp, 4
jmp 0x446b70
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
call fcn.004458c0
call fcn.0044a330
push 0
call fcn.004b086e
nop
nop
nop
nop
nop
nop
nop
Function at 0x428fb0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x70
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push esi
push eax
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
call fcn.00428890
add esp, 0xc
xor esi, esi
lea ecx, [esp + 0x2c]
mov al, byte [ecx]
mov byte [esp + esi + 4], al
mov eax, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esp + esi + 5], dl
mov edx, eax
shr edx, 0x10
shr eax, 0x18
mov byte [esp + esi + 6], dl
mov byte [esp + esi + 7], al
add esi, 4
add ecx, 4
cmp esi, 8
jb 0x429001
mov ecx, dword [esp + 0x2c]
shr ecx, 3
and ecx, 0x3f
cmp ecx, 0x38
mov eax, 0x38
jb 0x429046
mov eax, 0x78
sub eax, ecx
push eax
lea eax, [esp + 0x20]
push 0x4c3e34
push eax
call fcn.00428890
push 8
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00428890
add esp, 0x18
xor esi, esi
lea ecx, [esp + 0x1c]
mov al, byte [ecx]
mov byte [esp + esi + 0xc], al
mov eax, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esp + esi + 0xd], dl
mov edx, eax
shr edx, 0x10
shr eax, 0x18
mov byte [esp + esi + 0xe], dl
mov byte [esp + esi + 0xf], al
add esi, 4
add ecx, 4
cmp esi, 0x10
jb 0x429072
push 0x58
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00420650
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
xor eax, esi
add esp, 0xc
xor eax, edx
xor eax, ecx
pop esi
add esp, 0x70
ret