joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401271
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x1c
push esi
push ecx
pop esi
sub ecx, ecx
mov edx, dword [esi + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
add edx, esi
mov dword [eax], ecx
mov eax, 0x14c
push edi
push ecx
pop edi
cmp word [edx + 4], ax
jne 0x4013b8
push ebx
mov ebx, dword [edx + 0x88]
mov dword [ebp - 0x14], ebx
or ebx, ebx
je 0x4013b7
cmp dword [edx + 0x8c], ecx
je 0x4013b7
movzx eax, word [edx + 0x14]
add eax, 0x18
add eax, edx
movzx edx, word [edx + 6]
or edx, edx
je 0x4013b7
cmp dword [eax + 0xc], ebx
je 0x4012e2
inc ecx
add eax, 0x28
cmp ecx, edx
jb 0x4012d0
jmp 0x4013b7
mov edx, dword [eax + 0x14]
add edx, esi
push 0
movzx ecx, word [edx + 0xe]
movzx eax, word [edx + 0xc]
add ecx, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], ecx
pop ebx
je 0x4013b7
xor eax, eax
mov esi, dword [edx + eax*8 + 0x14]
and esi, 0x7fffffff
add esi, edx
push 0
movzx ecx, word [esi + 0xe]
movzx eax, word [esi + 0xc]
add ecx, eax
mov dword [ebp - 0x18], ecx
pop ecx
mov dword [ebp - 0xc], ecx
je 0x4013aa
xor eax, eax
cmp word [esi + eax*8 + 0x10], 0x65
jne 0x40139a
mov ecx, dword [esi + eax*8 + 0x14]
and ecx, 0x7fffffff
add ecx, edx
mov dword [ebp - 8], 0
movzx eax, word [ecx + 0xe]
mov dword [ebp - 4], eax
movzx eax, word [ecx + 0xc]
add dword [ebp - 4], eax
je 0x401393
sub eax, eax
mov edx, 0x409
cmp word [ecx + eax*8 + 0x10], dx
mov edx, dword [ebp - 0x10]
je 0x401376
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
movzx eax, ax
cmp eax, dword [ebp - 4]
jb 0x401356
jmp 0x401393
mov ecx, dword [ecx + eax*8 + 0x14]
mov edi, dword [ebp + 0xc]
mov eax, dword [ecx + edx]
sub eax, dword [ebp - 0x14]
add eax, edx
mov dword [edi], eax
mov eax, dword [ecx + edx + 4]
mov ecx, dword [ebp + 0x10]
sub edi, edi
mov dword [ecx], eax
inc edi
or edi, edi
jne 0x4013b7
mov ecx, dword [ebp - 0xc]
inc ecx
movzx eax, cx
mov dword [ebp - 0xc], ecx
cmp eax, dword [ebp - 0x18]
jb 0x401329
or edi, edi
jne 0x4013b7
inc ebx
movzx eax, bx
cmp eax, dword [ebp - 0x1c]
jb 0x401302
pop ebx
mov eax, edi
pop edi
pop esi
leave
ret 0xc

Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x4013f3
mov al, byte [ebp + 0xc]
mov edx, dword [esi]
add al, bl
movzx ecx, al
mov eax, dword [ebp + 8]
ror edx, cl
xor edx, eax
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x4013d6
jmp 0x4013f6
mov eax, dword [ebp + 8]
test edi, edi
je 0x401400
xor byte [esi], al
inc esi
dec edi
jne 0x4013fa
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x401407
Capabilities:
Terminate process

Disassembly:
push ebx
mov eax, 0x4a9a1
mov ebx, 0x12345678
mov ecx, 0x12345678
mov edx, 0x12345678
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [section..data], eax
jmp loc.0047950e
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
lea ecx, [0x4800a4]
lea edi, [0x480084]
mov eax, 0x28de
mov edx, 0x5970
add edx, 0x2fe298a9
dec edx
shl eax, 0xe
push 0x2be8
push edx
push 0x71c9
call sub.user32.dll_GetMenuCheckMarkDimensions
pop ecx
pop ecx
pop ecx
push 0x40
push 0x3000
push 0x13400
push 0
call sub.kernel32.dll_VirtualAlloc
jmp loc.0054c000
Function at 0x401e87
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0x18]
sub esp, 0x74
mov eax, dword [eax + 0x30]
cmp dword [eax + 0xa4], 6
jae 0x40205e
cmp dword [0x43e228], 0
jne 0x402057
push ebx
push ebp
push edi
call fcn.004026cc
mov ebx, eax
test ebx, ebx
jne 0x401eca
push eax
push eax
push 1
push 0xc0000264
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0x5c
pop edx
push 0x4b
pop eax
push 0x65
pop ecx
push 0x72
mov word [esp + 0x36], ax
pop eax
push 0x6e
mov word [esp + 0x3a], ax
pop eax
push 0x6c
mov word [esp + 0x3c], ax
pop eax
push 0x4f
pop edi
push 0x62
mov word [esp + 0x40], ax
pop eax
push 0x6a
mov word [esp + 0x44], ax
pop eax
push 0x63
mov word [esp + 0x46], ax
mov word [esp + 0x38], cx
mov word [esp + 0x3e], cx
mov word [esp + 0x48], cx
pop ecx
push 0x74
pop ebp
push 0x73
pop eax
push 0x43
mov word [esp + 0x4e], ax
pop eax
push 0x72
mov word [esp + 0x52], ax
mov word [esp + 0x34], dx
mov word [esp + 0x50], dx
pop edx
push 0x69
pop eax
push 0x53
mov word [esp + 0x56], ax
pop eax
push 0x65
mov word [esp + 0x5a], ax
pop eax
push 0x75
mov word [esp + 0x5c], ax
pop eax
push 0x66
mov word [esp + 0x62], ax
pop eax
push 0x4d
mov word [esp + 0x68], ax
pop eax
push 0x65
mov word [esp + 0x4a], cx
mov word [esp + 0x5e], cx
pop ecx
push 0x6d
mov word [esp + 0x6a], ax
pop eax
push 0x6f
mov word [esp + 0x6e], ax
pop eax
push 0x79
mov word [esp + 0x70], ax
pop eax
mov word [esp + 0x3e], di
mov word [esp + 0x48], bp
mov word [esp + 0x50], dx
mov word [esp + 0x54], bp
mov word [esp + 0x5c], di
mov word [esp + 0x60], bp
mov word [esp + 0x62], di
mov word [esp + 0x68], cx
mov word [esp + 0x6e], dx
mov word [esp + 0x70], ax
push 0x45
pop eax
mov word [esp + 0x72], ax
lea edi, [esp + 0x24]
push 0x76
pop eax
mov word [esp + 0x74], ax
push 0x6e
pop eax
mov word [esp + 0x78], ax
xor eax, eax
mov word [esp + 0x7c], ax
push 0x4c
pop eax
mov word [esp + 0x10], ax
mov word [esp + 0x12], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], eax
xor eax, eax
mov word [esp + 0x7a], bp
xor ebp, ebp
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], ebp
stosd dword es:[edi], eax
mov word [esp + 0x76], cx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push 0x2000000
lea eax, [esp + 0x14]
push eax
call ebx
test eax, eax
jns 0x402038
push ebp
push ebp
push 1
push 0xc0000264
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [esp + 0xc]
mov edx, 0x43e228
xor eax, eax
lock cmpxchg dword [edx], ecx
pop edi
pop ebp
pop ebx
test eax, eax
je 0x402057
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x43e228]
jmp 0x402060
xor eax, eax
add esp, 0x74
ret
Function at 0x40b2c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
sar esi, 1
add esi, esi
je 0x40b2f1
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40b2e0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x40d640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4308b3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43d100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x40d73a
test dl, 0x10
jne 0x40d73a
mov al, 1
jmp 0x40d73c
xor al, al
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov ebx, dword [ecx + 4]
mov edx, ebx
mov esi, dword [esi + 0x18]
sar edx, 3
cmp esi, edx
jae 0x40d760
lea eax, [esi*8]
mov dword [ecx + 4], eax
jmp 0x40d793
jbe 0x40d793
mov eax, dword [ecx + 8]
sar eax, 3
cmp esi, eax
jbe 0x40d778
lea eax, [ebp + 0x17]
push eax
push esi
call fcn.004048e0
jmp 0x40d793
sub esi, edx
je 0x40d790
shl esi, 3
push esi
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [edi + 0x40]
add ebx, esi
mov dword [ecx + 4], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x413080
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430edd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x43d100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 4
push 0x3000
mov dword [ebp - 0x3c], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi]
and eax, 0xfffffffc
push eax
push 0
push 0
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], eax
call fcn.004191d0
mov edi, eax
mov ebx, edx
mov ecx, edi
mov dword [ebp - 0x34], edi
or ecx, ebx
mov dword [ebp - 0x30], ebx
je 0x413136
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.004194e0
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x413118
cmp dword [ebp + 8], eax
je 0x413136
push 0x4000
push eax
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00419360
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov eax, edi
mov dword [ebp - 4], 0
or eax, ebx
je 0x41319c
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 4]
push 0
push 0
je 0x413165
push ebx
push edi
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
push dword [esi]
call fcn.00416520
jmp 0x413175
push edi
push dword [eax + 8]
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp + 8], eax
test eax, eax
je 0x41319c
push dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4131c9
mov eax, dword [esi + 4]
push dword [ebp + 8]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
or ecx, 0xffffffff
mov dword [ebp + 8], ecx
mov eax, edi
mov dword [ebp - 4], 5
or eax, ebx
je 0x413222
push 0x4000
push dword [ebp - 0x10]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00419360
mov edx, dword [ebp + 8]
jmp 0x413224
cmp dword [esi + 0x18], 0
je 0x4131ff
cmp dword [esi + 0x10], 0
je 0x4131ff
push dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 8
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push dword [esi]
call fcn.004183c0
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
jmp 0x4131a2
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x18]
xor ecx, ecx
jmp 0x4131a2
mov edx, ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x413240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430edd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x43d100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 4
push 0x3000
mov dword [ebp - 0x3c], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi]
and eax, 0xfffffff8
push eax
push 0
push 0
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], eax
call fcn.004191d0
mov edi, eax
mov ebx, edx
mov ecx, edi
mov dword [ebp - 0x34], edi
or ecx, ebx
mov dword [ebp - 0x30], ebx
je 0x4132f6
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.004194e0
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x4132d8
cmp dword [ebp + 8], eax
je 0x4132f6
push 0x4000
push eax
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00419360
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov eax, edi
mov dword [ebp - 4], 0
or eax, ebx
je 0x41335c
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 4]
push 0
push 0
je 0x413325
push ebx
push edi
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
push dword [esi]
call fcn.00416520
jmp 0x413335
push edi
push dword [eax + 8]
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp + 8], eax
test eax, eax
je 0x41335c
push dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x413389
mov eax, dword [esi + 4]
push dword [ebp + 8]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
or ecx, 0xffffffff
mov dword [ebp + 8], ecx
mov eax, edi
mov dword [ebp - 4], 5
or eax, ebx
je 0x4133e2
push 0x4000
push dword [ebp - 0x10]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00419360
mov edx, dword [ebp + 8]
jmp 0x4133e4
cmp dword [esi + 0x18], 0
je 0x4133bf
cmp dword [esi + 0x10], 0
je 0x4133bf
push dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 8
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push dword [esi]
call fcn.004183c0
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
jmp 0x413362
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x18]
xor ecx, ecx
jmp 0x413362
mov edx, ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4166c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43131d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x43d100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43e4a8
mov dword [ebp - 0x24], 0x43e4a8
mov byte [ebp - 0x20], 0
call fcn.0041fc58
add esp, 4
test eax, eax
jne 0x416801
cmp dword [0x43e4d4], 0x7fffffff
je 0x416808
mov byte [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0x43e488
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x43e488
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004128f0
mov eax, dword [eax + 4]
test eax, eax
je 0x4167e4
cmp eax, dword [0x43e48c]
je 0x4167e4
lea eax, [ebp + 8]
mov ecx, 0x43e488
push eax
call fcn.0041a390
push 8
mov esi, eax
call fcn.0042050f
add esp, 4
test eax, eax
je 0x4167a3
mov dword [eax], esi
mov dword [eax + 4], 5
jmp 0x4167a5
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x412b60
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x416820
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x416819
push ecx
push eax
call fcn.0041da3f
add esp, 8
test eax, eax
jne 0x416819
push 0x43e4a8
call fcn.0041fc69
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 5
call fcn.0041dc9e
push 6
mov dword [0x43e4d4], 0x7ffffffe
call fcn.0041dc9e
push 1
call fcn.0041dc9e
push 6
mov dword [ebp - 0x14], 0
call fcn.0041dc9e
int3
Function at 0x416830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431371
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x43d100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43e4a8
mov dword [ebp - 4], 0
mov dword [ebp - 0x2b0], 0x43e4a8
mov byte [ebp - 0x2ac], 0
call fcn.0041fc58
add esp, 4
test eax, eax
jne 0x416a2f
cmp dword [0x43e4d4], 0x7fffffff
je 0x416a36
mov byte [ebp - 0x2ac], 1
mov dword [ebp - 0x2a8], 0x43e488
mov edx, dword [ebp + 8]
movzx eax, dl
xor eax, 0x811c9dc5
mov byte [ebp - 4], 1
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x43e488
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.004128f0
mov eax, dword [eax + 4]
test eax, eax
je 0x4169e9
cmp eax, dword [0x43e48c]
je 0x4169e9
cmp dword [ebp + 0x2a8], 0
je 0x416935
lea eax, [ebp + 0x284]
mov ecx, 0x43e488
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041a390
mov ecx, eax
call fcn.004143d0
lea eax, [ebp + 8]
mov ecx, 0x43e488
push eax
call fcn.0041a390
mov dword [ebp - 0x530], 2
lea esi, [ebp + 0xc]
mov ecx, 0x9e
mov dword [ebp - 0x298], eax
lea edi, [ebp - 0x528]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xa0
lea esi, [ebp - 0x530]
lea edi, [ebp - 0x290]
rep movsd dword es:[edi], dword [esi]
push 0x288
call fcn.0042050f
add esp, 4
test eax, eax
je 0x416998
mov ecx, 0xa2
lea esi, [ebp - 0x298]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x41699a
xor eax, eax
mov dword [ebp - 0x2a4], eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 2
push ecx
push 0
push eax
push 0x412ca0
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x416a4e
mov ecx, dword [ebp - 0x29c]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x416a47
push ecx
push eax
call fcn.0041da3f
add esp, 8
test eax, eax
jne 0x416a47
push 0x43e4a8
call fcn.0041fc69
mov ecx, dword [ebp + 0x2a8]
add esp, 4
test ecx, ecx
je 0x416a14
mov edx, dword [ecx]
lea eax, [ebp + 0x284]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042074a
mov esp, ebp
pop ebp
ret
push 5
call fcn.0041dc9e
push 6
mov dword [0x43e4d4], 0x7ffffffe
call fcn.0041dc9e
push 1
call fcn.0041dc9e
push 6
mov dword [ebp - 0x29c], 0
call fcn.0041dc9e
int3
Function at 0x418050
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4315d4
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x43d100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], 0
call fcn.00415e70
add esp, 4
mov dword [ebp - 0x2c], esi
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040d870
push 0x1c
mov byte [ebp - 4], 1
call fcn.0042050f
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x4180c9
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov dword [esi], ecx
lea ecx, [esi + 4]
push eax
call fcn.0040d870
jmp 0x4180cb
xor esi, esi
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 3
push eax
push 0
push esi
push 0x412ba0
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4181a4
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4181bc
push ecx
push eax
call fcn.0041da3f
add esp, 8
test eax, eax
jne 0x4181bc
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
cmp ecx, 7
jbe 0x418154
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41814a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181b2
push ecx
push edx
call fcn.0042053f
add esp, 8
mov ecx, dword [ebp + 0x20]
cmp ecx, 7
jbe 0x41818a
mov edx, dword [ebp + 0xc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418180
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181b7
push ecx
push edx
call fcn.0042053f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042074a
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x34], 0
call fcn.0041dc9e
call fcn.00421840
call fcn.00421840
push 1
call fcn.0041dc9e
int3
Function at 0x4181d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431626
mov eax, dword fs:[0]
push eax
sub esp, 0xc44
mov eax, dword [0x43d100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43e4a8
mov dword [ebp - 0x640], 0x43e4a8
mov byte [ebp - 0x63c], 0
call fcn.0041fc58
add esp, 4
test eax, eax
jne 0x418380
cmp dword [0x43e4d4], 0x7fffffff
je 0x418387
mov byte [ebp - 0x63c], 1
mov dword [ebp - 0x638], 0x43e488
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x43e488
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x630]
push eax
call fcn.004128f0
mov eax, dword [eax + 4]
test eax, eax
je 0x418358
cmp eax, dword [0x43e48c]
je 0x418358
lea eax, [ebp + 8]
mov ecx, 0x43e488
push eax
call fcn.0041a390
mov dword [ebp - 0xc50], 0
lea esi, [ebp + 0xc]
mov ecx, 0x182
mov dword [ebp - 0x628], eax
lea edi, [ebp - 0xc48]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x184
lea esi, [ebp - 0xc50]
lea edi, [ebp - 0x620]
rep movsd dword es:[edi], dword [esi]
push 0x618
call fcn.0042050f
add esp, 4
test eax, eax
je 0x41830b
mov ecx, 0x186
lea esi, [ebp - 0x628]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x41830d
xor eax, eax
mov dword [ebp - 0x634], eax
lea ecx, [ebp - 0x62c]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x412c60
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x630], eax
test eax, eax
je 0x41839f
mov ecx, dword [ebp - 0x62c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x418398
push ecx
push eax
call fcn.0041da3f
add esp, 8
test eax, eax
jne 0x418398
push 0x43e4a8
call fcn.0041fc69
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042074a
mov esp, ebp
pop ebp
ret
push 5
call fcn.0041dc9e
push 6
mov dword [0x43e4d4], 0x7ffffffe
call fcn.0041dc9e
push 1
call fcn.0041dc9e
push 6
mov dword [ebp - 0x62c], 0
call fcn.0041dc9e
int3