joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002a840
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub esp, 0x18
cmp dword [esp + 0x24], 0
mov eax, edx
push ebx
push ebp
push esi
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
push edi
mov esi, ecx
movlpd qword [esp + 0x20], xmm0
jb 0x1002a9ad
mov edi, dword [esp + 0x30]
ja 0x1002a871
test edi, edi
je 0x1002a9ad
test eax, eax
je 0x1002a921
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push 1
mov cl, byte [eax + ebp]
movzx eax, word [esi + 8]
or eax, 2
mov byte [esp + 0x1b], cl
mov ebx, eax
mov byte [esp + 0x14], cl
mov ecx, dword [esi]
xor ebx, 1
imul ebx, eax
not ecx
shr ebx, 8
call fcn.10023880
mov ecx, dword [esi + 8]
lea edx, [esp + 0x14]
not eax
not ecx
mov dword [esi], eax
movzx eax, al
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [esp + 0x18], al
call fcn.10023880
xor bl, byte [esp + 0x1f]
not eax
mov dword [esi + 8], eax
add esp, 8
mov eax, dword [esp + 0x1c]
mov byte [eax + ebp], bl
add ebp, 1
mov eax, dword [esp + 0x18]
adc eax, 0
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x34]
jb 0x1002a885
ja 0x1002a9ad
cmp ebp, edi
jb 0x1002a885
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esi + 4]
mov ebp, dword [esi + 8]
movlpd qword [esp + 0x20], xmm0
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
nop dword [eax]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x10]
mov ecx, dword [esi]
not ecx
push 1
mov al, byte [ebx + eax]
mov byte [esp + 0x14], al
call fcn.10023880
not eax
lea edx, [esp + 0x14]
mov dword [esi], eax
not ebp
movzx eax, al
mov ecx, ebp
add eax, dword [esp + 0x1c]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esp + 0x20], eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [esp + 0x18], al
call fcn.10023880
add esp, 8
mov ebp, eax
mov eax, dword [esp + 0x1c]
add ebx, 1
not ebp
adc eax, 0
mov dword [esi + 8], ebp
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x34]
jb 0x1002a940
ja 0x1002a9ad
cmp ebx, edi
jb 0x1002a940
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x1002a9c0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
xorps xmm0, xmm0
mov dword [esp + 0x10], edx
movlpd qword [esp + 0x18], xmm0
push esi
mov esi, ecx
push edi
test ebp, ebp
jb 0x1002ab1d
mov edi, dword [esp + 0x30]
ja 0x1002a9f0
test edi, edi
je 0x1002ab1d
test edx, edx
je 0x1002aa92
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
movzx eax, word [esi + 8]
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
mov eax, dword [esp + 0x2c]
push 1
shr ecx, 8
xor cl, byte [ebx + eax]
mov byte [ebx + edx], cl
lea edx, [esp + 0x18]
mov byte [esp + 0x18], cl
mov ecx, dword [esi]
not ecx
call fcn.10023880
mov ecx, dword [esi + 8]
lea edx, [esp + 0x18]
not eax
not ecx
mov dword [esi], eax
movzx eax, al
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [esp + 0x1c], al
call fcn.10023880
mov edx, dword [esp + 0x20]
not eax
add esp, 8
mov dword [esi + 8], eax
mov eax, dword [esp + 0x30]
add ebx, 1
adc eax, 0
mov dword [esp + 0x30], eax
cmp eax, ebp
jb 0x1002aa04
ja 0x1002ab1d
cmp ebx, edi
jb 0x1002aa04
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esi + 4]
mov ebp, dword [esi + 8]
movlpd qword [esp + 0x20], xmm0
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
nop
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x14]
mov ecx, dword [esi]
not ecx
push 1
mov al, byte [ebx + eax]
mov byte [esp + 0x18], al
call fcn.10023880
not eax
lea edx, [esp + 0x18]
mov dword [esi], eax
not ebp
movzx eax, al
mov ecx, ebp
add eax, dword [esp + 0x1c]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esp + 0x20], eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [esp + 0x1c], al
call fcn.10023880
add esp, 8
mov ebp, eax
mov eax, dword [esp + 0x1c]
add ebx, 1
not ebp
adc eax, 0
mov dword [esi + 8], ebp
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x34]
jb 0x1002aab0
ja 0x1002ab1d
cmp ebx, edi
jb 0x1002aab0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x1002ae70
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
sub esp, 0x1c
cmp dword [esp + 0x24], 0
xorps xmm0, xmm0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], edx
mov esi, ecx
movlpd qword [esp + 0x18], xmm0
jb 0x1002af25
mov ebp, dword [esp + 0x30]
ja 0x1002ae9f
test ebp, ebp
je 0x1002af25
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x28]
cmp eax, 0x10
jne 0x1002af09
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add byte [eax + esi + 8], 1
jne 0x1002aed4
add eax, 1
adc ecx, 0
jne 0x1002aed4
cmp eax, 8
jb 0x1002aec0
mov ecx, dword [esi]
lea eax, [esp + 0x18]
push 0
push eax
push 0x10
lea eax, [esi + 0x18]
push eax
push 0
push 0
push 0
push 0x10
lea eax, [esi + 8]
push eax
push dword [ecx + 4]
call dword [sym.imp.bcrypt.dll_BCryptEncrypt]
test eax, eax
js 0x1002af2f
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0x28], 0
mov al, byte [eax + esi + 0x18]
xor byte [edi + edx], al
inc dword [esi + 0x28]
add edi, 1
adc ebx, 0
cmp ebx, dword [esp + 0x34]
ja 0x1002af25
jb 0x1002aea7
cmp edi, ebp
jb 0x1002aea7
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1c
ret
Function at 0x10045e2a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.1004c580
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x10045e69
sub eax, 1
je 0x10045e64
sub eax, 1
je 0x10045e60
xor eax, eax
leave
ret
push 3
jmp 0x10045e6b
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100472b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x10065070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100473ab
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x100473ab
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x1004730a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x100472e8
jmp 0x100473ab
cmp edx, 0x200
jae 0x10047411
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x100473ab
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x100473aa
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x100473aa
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x100473f3
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x10047390
pop edi
mov eax, dword [0x10066d68]
test eax, eax
jne 0x100473d1
push str.setlocale
call fcn.10050960
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100473cc
or eax, 0xffffffff
mov dword [0x10066d68], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x100473ff
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045f1d
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x100473aa
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10045f1d
mov esp, ebp
pop ebp
ret
call fcn.100467ee
int3
Function at 0x10047990
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x10065070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x100479b7
mov ecx, 5
int 0x29
push 2
call fcn.10046dcc
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x10047ac2
test esi, esi
jne 0x10047ac2
push 2
call fcn.10046dcc
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10045f1d
mov esp, ebp
pop ebp
ret
Function at 0x100502c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.10011e70
mov esi, dword [ebp + 8]
test al, al
je 0x100502de
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.100502f0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x3df37b54
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x3eab3c20
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0xb13771
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00b137f0
jae 0xb1377d
xor ecx, ecx
call fcn.00b137f0
jae 0xb137a7
xor eax, eax
call fcn.00b137f0
jae 0xb137b8
mov al, 0x10
call fcn.00b137f0
adc al, al
jae 0xb13799
jne 0xb137e5
stosb byte es:[edi], al
jmp 0xb1377e
call fcn.00b137fc
dec ecx
loop 0xb137c4
mov eax, ebp
call fcn.00b137fa
jmp 0xb137e6
lodsb al, byte [esi]
shr eax, 1
je 0xb1380c
adc ecx, 2
mov ebp, eax
jmp 0xb137e6
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00b137fa
cmp eax, 0x7d00
jae 0xb137e4
cmp eax, 0x500
jae 0xb137e5
cmp eax, 0x7f
ja 0xb137e6
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb1377e
pop ebp
ret 8
Function at 0x401210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x18
mov eax, edx
push ebx
mov ebx, dword [ebp + 0xc]
shr eax, 4
push esi
mov ecx, ebx
test eax, eax
je 0x401282
add ebx, 8
mov dword [ebp - 4], eax
nop
mov eax, dword [ecx]
xor dword [edi], eax
mov edx, dword [ebx - 4]
xor dword [edi + 4], edx
mov edx, dword [ebx]
xor dword [edi + 8], edx
mov edx, dword [ebx + 4]
xor dword [edi + 0xc], edx
add ecx, 0x10
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push edi
lea esi, [ebp - 0x18]
add ebx, 0x10
call fcn.00401180
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
add esp, 4
dec dword [ebp - 4]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
jne 0x401230
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
lea eax, [ebx + edx]
cmp eax, ecx
jbe 0x4012f5
sub ebx, ecx
add ebx, edx
test ebx, ebx
jle 0x40129f
push ebx
push ecx
lea ecx, [ebp - 0x18]
push ecx
call fcn.0041be20
add esp, 0xc
mov eax, 0x10
sub eax, ebx
lea ecx, [ebp + ebx - 0x18]
je 0x4012b8
push eax
push 0
push ecx
call fcn.0041be50
add esp, 0xc
mov edx, dword [ebp - 0x18]
xor dword [edi], edx
mov ecx, dword [ebp - 0x14]
xor dword [edi + 4], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor dword [edi + 8], edx
xor dword [edi + 0xc], ecx
mov ecx, dword [ebp + 8]
push edi
lea esi, [ebp - 0x18]
call fcn.00401180
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [edi], edx
mov edx, dword [ebp - 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
add esp, 4
mov dword [edi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4036b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
xor al, al
push esi
mov esi, dword [ebp + 0xc]
mov byte [ebp - 0x14], al
mov byte [ebp - 4], al
mov byte [ebp - 0xc], al
push 2
lea eax, [ebp - 8]
push eax
push esi
mov dword [ebp - 0x18], 0x38
mov dword [ebp - 8], 0x3031
mov dword [ebp - 0x28], 0x32313032
mov word [ebp - 0x24], 0
mov dword [ebp - 0x30], 0x36313032
mov word [ebp - 0x2c], 0
mov dword [ebp - 0x10], 0x37
mov dword [ebp - 0x20], 0x38303032
mov word [ebp - 0x1c], 0
call fcn.0041c510
add esp, 0xc
test eax, eax
je 0x40371e
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], 1
push 1
lea edx, [ebp - 0x10]
push edx
push esi
call fcn.0041c510
add esp, 0xc
test eax, eax
jne 0x40379f
push 4
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0041c510
add esp, 0xc
test eax, eax
jne 0x40379f
push 1
lea ecx, [ebp - 0x18]
push ecx
push esi
call fcn.0041c510
add esp, 0xc
test eax, eax
jne 0x403795
push 2
lea edx, [ebp - 8]
push edx
push esi
call fcn.0041c510
add esp, 0xc
test eax, eax
jne 0x403795
push 4
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.0041c510
add esp, 0xc
test eax, eax
jne 0x403795
push 4
lea ecx, [ebp - 0x30]
push ecx
push esi
call fcn.0041c510
add esp, 0xc
test eax, eax
jne 0x403795
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 8
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 7
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4047b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
push esi
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x27e]
push ecx
mov word [ebp - 0x280], ax
call fcn.0041be50
push 0x40
lea ecx, [ebp - 0x7c]
push 0
push ecx
mov dword [ebp - 0x2c], 0x65005c
mov dword [ebp - 0x28], 0x700078
mov dword [ebp - 0x24], 0x6f006c
mov dword [ebp - 0x20], 0x650072
mov dword [ebp - 0x1c], 0x2e0072
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.0041be50
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x10]
push ecx
xor edx, edx
push esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x80], 0x44
mov dword [ebp - 0x10], 0x690077
mov dword [ebp - 0xc], 0x64006e
mov dword [ebp - 8], 0x720069
mov word [ebp - 4], dx
call fcn.0040af00
push 0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x280]
push eax
call fcn.0041c230
mov ecx, dword [esi + 0xba0]
push 0xad0121ab
push 0
push 0
push ecx
add esi, 0x1c
push esi
call fcn.00414e40
add esp, 0x44
pop esi
test eax, eax
je 0x4048b5
push 0
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x80]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x280]
push edx
push 0
call eax
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x405f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push ebx
xor ebx, ebx
push esi
push 0x1fe
lea eax, [ebp - 0x29e]
xor edx, edx
push ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x5c], 0x18
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x2a0], dx
call fcn.0041be50
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 0x401
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.00419d00
add esp, 0x20
test eax, eax
js 0x4060c7
mov eax, dword [esi + 0xba0]
push edi
push 0xcc145ef7
push ebx
push ebx
push eax
lea edi, [esi + 0x1c]
push edi
mov dword [ebp - 0x2c], 0x65005c
mov dword [ebp - 0x28], 0x700078
mov dword [ebp - 0x24], 0x6f006c
mov dword [ebp - 0x20], 0x650072
mov dword [ebp - 0x1c], 0x2e0072
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call fcn.00414e40
add esp, 0x14
cmp eax, ebx
je 0x406026
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
call eax
push 0x40
lea edx, [ebp - 0x9c]
push ebx
push edx
call fcn.0041be50
lea ecx, [ebp - 0x2a0]
push ecx
xor eax, eax
lea edx, [ebp - 0x10]
push edx
push esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xa0], 0x44
mov dword [ebp - 0x10], 0x690077
mov dword [ebp - 0xc], 0x64006e
mov dword [ebp - 8], 0x720069
mov word [ebp - 4], ax
call fcn.0040af00
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.0041c230
mov edx, dword [esi + 0xba0]
push 0xad0121ab
push ebx
push ebx
push edx
push edi
call fcn.00414e40
add esp, 0x38
pop edi
cmp eax, ebx
je 0x4060c7
push ebx
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0xa0]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x2a0]
push ecx
push ebx
call eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406c70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 4]
cmp dword [ecx + 0xcac], 5
jne 0x406c97
push ecx
call fcn.00404100
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x1558], 0
je 0x406cae
push edi
call fcn.004186c0
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x40], 0
mov eax, dword [edi + 0x20]
push ebx
mov ebx, dword [edi + 0x24]
push esi
mov esi, dword [edi + 0x14]
mov dword [ebp + 8], eax
je 0x406ccf
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x10]
mov ebx, eax
mov dword [ebp + 8], edx
mov eax, edx
test eax, eax
je 0x406dba
lea edx, [ebx - 0xc]
cmp edx, 0x11f3
ja 0x406dba
push ebx
push eax
push ecx
call fcn.00416e50
add esp, 0xc
test eax, eax
je 0x406dba
xor eax, eax
push 0x18e
push eax
lea ecx, [ebp - 0x1a6]
push ecx
mov dword [ebp - 0x14], 0xc8
mov word [ebp - 0x1a8], ax
call fcn.0041be50
mov edx, dword [edi + 4]
mov edx, dword [edx + 0xcc8]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
push 0x22
push esi
call edx
test eax, eax
je 0x406dba
mov esi, dword [edi + 4]
push 7
lea eax, [ebp - 0x10]
push eax
add esi, 0x3e30
push esi
mov dword [ebp - 8], 0xa0d0a0d
mov byte [ebp - 4], 0
mov dword [ebp - 0x10], 0x74736f48
mov word [ebp - 0xc], 0x203a
mov byte [ebp - 0xa], 0
call fcn.0041bdd0
lea ecx, [ebp - 0x1a8]
push ecx
lea edx, [esi + 6]
push edx
call fcn.0041c470
push 5
lea eax, [ebp - 8]
push eax
push esi
call fcn.0041c1d0
push esi
call fcn.0041c0a0
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x18], eax
push ecx
add eax, esi
push eax
call fcn.0041bdd0
mov edi, dword [edi + 4]
mov edx, dword [edi + 0x1160]
mov eax, dword [ebp - 0x18]
push edx
push 1
add eax, ebx
push eax
push esi
push edi
call fcn.004163e0
add esp, 0x44
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret