joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dff1
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax]
mov eax, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x45e011
sub eax, edi
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0x45e035
movsx edi, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, edi
cmp ecx, eax
jne 0x45e025
mov eax, dword [esi + 0x20]
mov ebx, eax
and ebx, edx
cmp dword [esi + 0x24], ebx
ja 0x45e04a
shr eax, 1
or ecx, 0xffffffff
sub ecx, eax
add ebx, ecx
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + ebx*8]
mov edi, dword [esi + 4]
lea eax, [edx + ebx*8]
lea edx, [esi + 4]
mov dword [esp + 0x14], edx
cmp edi, ecx
je 0x45e0a6
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov edi, eax
mov dword [esp + 0x10], eax
cmp edi, ecx
je 0x45e0a6
nop
mov esi, dword [edi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x10], esi
test eax, eax
je 0x45e0f3
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
push eax
push ecx
call fcn.0054921b
add esp, 8
test eax, eax
je 0x45e0ed
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x10]
mov edi, esi
cmp esi, dword [edx + ebx*8]
jne 0x45e071
mov esi, ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp edi, eax
je 0x45e0c9
push eax
push ecx
push edi
mov eax, 1
mov esi, edx
call fcn.0045da91
mov ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
mov esi, dword [eax + ebx*8]
lea eax, [eax + ebx*8]
mov dword [esp + 0x14], ecx
cmp esi, dword [edx]
jne 0x45e13f
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x14]
mov dword [edx + ebx*8 + 4], eax
jmp 0x45e169
mov eax, dword [edi]
test eax, eax
jne 0x45e0fd
push 0x80004005
call fcn.00435ca1
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.0054921b
add esp, 8
test eax, eax
je 0x45e11c
mov eax, dword [esi]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0x45e0a2
mov ecx, dword [ebp + 0x10]
mov edi, dword [esp + 0x14]
push ecx
lea ebx, [esp + 0x18]
call fcn.0045d4d1
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, edi
jne 0x45e147
mov dword [eax], ecx
jmp 0x45e169
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
cmp ecx, dword [esp + 0x14]
je 0x45e169
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ebx*8 + 4]
mov edx, dword [ecx + 4]
lea ebx, [eax + ebx*8 + 4]
mov dword [ebx], edx
mov edi, dword [esp + 0xc]
call fcn.0045e4c1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45e191
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov edx, ecx
mov ecx, dword [eax]
mov al, byte [ecx]
push ebx
push esi
push edi
mov dword [esp + 0x10], edx
mov esi, 0x811c9dc5
test al, al
je 0x45e1cf
lea ebx, [eax - 0x41]
inc ecx
cmp bl, 0x19
ja 0x45e1be
add al, 0x20
imul esi, esi, 0x1000193
movsx eax, al
xor esi, eax
mov al, byte [ecx]
test al, al
jne 0x45e1b3
mov eax, dword [edx + 0x20]
mov ebx, eax
and ebx, esi
cmp dword [edx + 0x24], ebx
ja 0x45e1e4
shr eax, 1
or ecx, 0xffffffff
sub ecx, eax
add ebx, ecx
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ebx*8]
mov esi, dword [edx + 4]
lea eax, [eax + ebx*8]
lea edi, [edx + 4]
cmp esi, ecx
je 0x45e229
mov eax, dword [eax + 4]
mov esi, dword [eax]
cmp esi, ecx
je 0x45e229
mov esi, dword [esi + 4]
mov eax, dword [esi + 8]
test eax, eax
je 0x45e272
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.00548e32
add esp, 8
test eax, eax
je 0x45e269
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
cmp esi, dword [eax + ebx*8]
jne 0x45e200
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp esi, eax
je 0x45e245
push eax
push ecx
push esi
mov ecx, edi
mov edx, edi
call fcn.0045e661
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
mov edx, dword [eax + ebx*8]
lea eax, [eax + ebx*8]
mov dword [esp + 0x14], ecx
cmp edx, dword [edi]
jne 0x45e2b4
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x14]
mov dword [edx + ebx*8 + 4], eax
jmp 0x45e2de
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0x45e27c
push 0x80004005
call fcn.00435ca1
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.00548e32
add esp, 8
test eax, eax
je 0x45e295
mov esi, dword [esi]
mov edx, dword [esp + 0x10]
jmp 0x45e229
mov edx, dword [ebp + 0x10]
push edx
lea ebx, [esp + 0x18]
call fcn.0045d521
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edx, esi
jne 0x45e2bc
mov dword [eax], ecx
jmp 0x45e2de
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
cmp ecx, dword [esp + 0x14]
je 0x45e2de
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ebx*8 + 4]
mov edx, dword [ecx + 4]
lea ebx, [eax + ebx*8 + 4]
mov dword [ebx], edx
mov edi, dword [esp + 0x10]
call fcn.0045e591
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45f661
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x20]
push edi
mov edi, ebx
or edi, ecx
cdq
jne 0x45f6d1
mov ebx, eax
mov ecx, edx
movzx edx, byte [ebp + 0xc]
xor eax, eax
cmp dword [ebp + 8], eax
mov dword [esi], 0
setne al
and edx, 7
mov edi, 2
add eax, eax
add eax, eax
add eax, eax
or eax, edx
movzx edx, byte [ebp + 0x10]
shl eax, 4
and edx, 0xf
or eax, edx
mov edx, dword [ebp + 0x14]
mov dword [esi], eax
xor eax, eax
test edx, edx
setne al
shl eax, 0xf
or dword [esi], eax
test ecx, ecx
ja 0x45f713
jb 0x45f6c4
cmp ebx, 0x7e
jae 0x45f6e9
movzx ecx, bl
and ecx, 0x7f
shl ecx, 8
or dword [esi], ecx
jmp 0x45f73f
cmp ecx, edx
ja 0x45f67a
jb 0x45f6db
cmp ebx, eax
jae 0x45f67a
push 0x57
call dword [0x10130180]
xor eax, eax
pop edi
pop ebx
pop ebp
ret
test ecx, ecx
ja 0x45f713
jb 0x45f6f7
cmp ebx, 0xffff
ja 0x45f713
or dword [esi], 0x7e00
push ebx
call dword [0x10130304]
movzx edx, ax
shl edx, 0x10
or dword [esi], edx
mov edi, 4
jmp 0x45f73c
mov edi, dword [0x101302dc]
or dword [esi], 0x7f00
push ecx
call edi
push ebx
mov dword [ebp + 0x20], eax
call edi
xor ecx, ecx
or ecx, dword [ebp + 0x20]
mov edx, eax
xor eax, eax
or edx, eax
mov dword [esi + 2], ecx
mov dword [esi + 6], edx
lea edi, [eax + 0xa]
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x45f768
mov eax, dword [edx]
mov dword [edi + esi], eax
xor eax, eax
cmp dword [ebp + 0x1c], eax
jle 0x45f765
mov edi, edi
mov ecx, eax
and ecx, 3
mov bl, byte [ecx + edx]
mov ecx, dword [ebp + 0x18]
xor byte [eax + ecx], bl
inc eax
cmp eax, dword [ebp + 0x1c]
jl 0x45f751
add edi, 4
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
mov dword [eax + 0xc], edx
mov dword [eax + 8], ecx
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x45fd41
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [eax]
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45fd53
sub ecx, esi
add ecx, eax
mov edx, eax
mov esi, 0x811c9dc5
cmp eax, ecx
je 0x45fd81
jmp 0x45fd71
movsx ebx, byte [edx]
imul esi, esi, 0x1000193
inc edx
xor esi, ebx
cmp edx, ecx
jne 0x45fd71
mov edx, dword [edi + 0x20]
mov ecx, edx
and ecx, esi
cmp dword [edi + 0x24], ecx
ja 0x45fd96
shr edx, 1
or esi, 0xffffffff
sub esi, edx
add ecx, esi
mov edx, dword [edi + 0x10]
mov edi, dword [edi + 4]
lea ecx, [edx + ecx*8]
mov edx, dword [ecx]
mov esi, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], esi
jmp 0x45fdb1
cmp edx, edi
jne 0x45fdb9
mov ecx, edi
jmp 0x45fdbe
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx]
cmp esi, ecx
je 0x45fe63
mov ecx, dword [esi + 8]
mov edx, eax
lea ebx, [ebx]
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x45fdf1
test bl, bl
je 0x45fded
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x45fdf1
add ecx, 2
add edx, 2
test bl, bl
jne 0x45fdd1
xor ecx, ecx
jmp 0x45fdf6
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x45fe04
mov esi, dword [esi]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
jmp 0x45fdb1
mov edx, dword [esi + 8]
mov dword [ebp - 4], esi
mov ecx, eax
jmp 0x45fe11
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x45fe31
test bl, bl
je 0x45fe2d
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x45fe31
add ecx, 2
add edx, 2
test bl, bl
jne 0x45fe11
xor ecx, ecx
jmp 0x45fe36
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x45fe50
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], edi
pop edi
lea ecx, [ebp - 0xc]
mov edx, dword [ecx]
pop esi
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
pop edi
lea ecx, [ebp - 4]
mov edx, dword [ecx]
pop esi
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ebp - 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45fe81
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [eax]
push edi
mov edi, ecx
mov eax, esi
mov dword [esp + 0x14], edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45fea1
sub eax, edx
add eax, esi
mov ecx, esi
mov edx, 0x811c9dc5
cmp esi, eax
je 0x45fec7
movsx ebx, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, ebx
cmp ecx, eax
jne 0x45feb7
mov eax, dword [edi + 0x20]
mov ecx, eax
and ecx, edx
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x24], ecx
ja 0x45fee4
shr eax, 1
or edx, 0xffffffff
sub edx, eax
add ecx, edx
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 4]
lea edx, [edi + 4]
mov edi, dword [edi + 0x10]
lea ecx, [edi + ecx*8]
mov edi, dword [ecx]
mov dword [esp + 0xc], edx
cmp edi, eax
jne 0x45fefe
mov ebx, eax
jmp 0x45ff03
mov eax, dword [ecx + 4]
mov ebx, dword [eax]
cmp ebx, edi
je 0x45ff42
mov ebx, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov eax, esi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45ff31
test dl, dl
je 0x45ff2d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45ff31
add eax, 2
add ecx, 2
test dl, dl
jne 0x45ff11
xor eax, eax
jmp 0x45ff36
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45ff81
cmp ebx, edi
jne 0x45ff07
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp ebx, eax
je 0x45ff5c
push eax
push ecx
push ebx
mov ecx, edx
call fcn.004600f1
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0xc]
mov esi, dword [edx]
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0x10]
mov eax, dword [esp + 0x10]
lea eax, [edx + eax*8]
mov edx, dword [eax]
cmp edx, esi
jne 0x45ffd6
mov dword [eax], ecx
mov edx, dword [edi + 0x10]
mov eax, dword [esp + 0x10]
mov dword [edx + eax*8 + 4], ecx
jmp 0x45fffa
mov eax, dword [ebx + 8]
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45ffa6
test dl, dl
je 0x45ffa2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45ffa6
add eax, 2
add ecx, 2
test dl, dl
jne 0x45ff86
xor eax, eax
jmp 0x45ffab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45ffb3
mov ebx, dword [ebx]
jmp 0x45ff3e
mov ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0xc]
push ecx
lea edi, [esp + 0x18]
call fcn.0045e3b1
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edx, ebx
je 0x45fff8
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov dword [eax + 4], edx
cmp edx, ecx
je 0x45fffa
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x10]
mov edx, dword [eax + ecx*8 + 4]
lea eax, [eax + ecx*8 + 4]
mov ecx, dword [edx + 4]
mov dword [eax], ecx
call fcn.00460021
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], edx
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x461d71
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0xc]
push edi
test eax, eax
je 0x461da3
lea ecx, [ebp - 4]
push ecx
push eax
call dword [0x1013007c]
test eax, eax
je 0x461da3
xor eax, eax
cmp dword [ebp - 4], 0x103
sete al
test eax, eax
jne 0x461e61
mov eax, dword [esi + 0xc]
test eax, eax
je 0x461dd3
push eax
call dword [0x10130170]
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
push 0x18
call fcn.00547415
add esp, 4
test eax, eax
je 0x461dfd
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov edi, eax
jmp 0x461dff
xor edi, edi
mov eax, dword [edi]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 4]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 8]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x10]
lea eax, [esi + 8]
push eax
push 0
push edi
push 0x1002ee10
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x14]
push 0
push 0
mov dword [esi + 0x24], edx
call fcn.0054907c
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
jne 0x461e76
push 0x65f
call dword [0x10130180]
push edi
xor esi, esi
call fcn.005473aa
add esp, 4
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x139f
call dword [0x10130180]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4620c1
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012ef28
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
mov eax, dword [0x101a5070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044c6e1
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
lea ebx, [edi + 0x30]
mov dword [ebp - 4], 0
call fcn.0045cca1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46212d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0x34]
je 0x462154
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x462b31
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d762
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x101a5070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0xa]
mov dword [esi + 8], eax
lea eax, [esi + 0x30]
push edx
xor edi, edi
push eax
mov dword [esi], 1
mov dword [esi + 4], edi
mov dword [esi + 0xc], ecx
call fcn.0044aaa1
lea ecx, [ebp + 0xa]
lea eax, [esi + 0x5c]
push ecx
push eax
mov dword [ebp - 4], edi
call fcn.0044aaa1
mov byte [ebp - 4], 1
mov edx, dword [0x101a4bf8]
mov eax, dword [edx + 0xc]
mov ecx, 0x101a4bf8
call eax
add eax, 0x10
mov dword [esi + 0x88], eax
mov byte [ebp - 4], 2
mov edx, dword [0x101a4bf8]
mov eax, dword [edx + 0xc]
mov ecx, 0x101a4bf8
call eax
add eax, 0x10
mov dword [esi + 0x8c], eax
mov byte [ebp - 4], 3
mov eax, dword [esi]
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xffff0001
add ecx, 0xffff
mov word [esi + 0x90], cx
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
cmp eax, edi
je 0x462c2c
push 0x20
call fcn.0054730f
add esp, 4
cmp eax, edi
je 0x462c53
push 0x10019460
push 0x100194a0
push 7
lea edi, [eax + 4]
push 4
push edi
mov dword [eax], 7
call fcn.00548aa7
jmp 0x462c53
push 4
call fcn.00547415
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x462c53
mov edx, dword [0x101a4bf8]
mov eax, dword [edx + 0xc]
mov ecx, 0x101a4bf8
call eax
add eax, 0x10
mov dword [ebx], eax
mov edi, ebx
mov eax, esi
mov dword [esi + 0x94], edi
call fcn.00455211
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 8
Function at 0x467fd1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
jbe 0x46811a
push esi
push edi
push 0
push 0
push ebx
push 0x100357c0
push 0
push 0
call fcn.0054907c
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0x4680fd
mov eax, dword [ebx + 0x78]
lea esi, [ebx + 0x74]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0x468087
mov edx, dword [esi]
cmp edx, ecx
ja 0x468087
mov edi, ecx
mov ecx, dword [esi + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0x468077
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x4680f3
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x468077
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x468066
xor ecx, ecx
jmp 0x468068
add ecx, edx
cmp ecx, eax
jae 0x46806e
mov ecx, eax
push ecx
call fcn.004652b1
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x4680d3
mov edx, dword [esi]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
jmp 0x4680d3
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x4680ca
mov edx, dword [esi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x4680f3
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x4680ca
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x4680b9
xor ecx, ecx
jmp 0x4680bb
add ecx, edx
cmp ecx, eax
jae 0x4680c1
mov ecx, eax
push ecx
call fcn.004652b1
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x4680d3
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [esi + 4], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 0x10]
jb 0x467ff5
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x1018240c
call fcn.0054733c
call dword [0x10130184]
push eax
mov dword [ebx + 0x54], 8
call dword [0x10130180]
pop edi
mov dword [ebp - 0xc], 0
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46aac1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xc4]
call edx
test eax, eax
je 0x46abce
lea ebx, [esi + 0x144]
call fcn.00438d31
mov eax, dword [esi + 0x44]
cmp eax, 3
jne 0x46abb6
push edi
xor edi, edi
mov dword [esi + 0x44], edi
mov dword [ebx], edi
mov edx, dword [esi]
mov eax, dword [edx + 0xc8]
mov ecx, esi
call eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
xor edx, edx
mov word [ebp - 0x20], cx
push eax
mov word [ebp - 0x3c], dx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push esi
lea edx, [ebp - 0x3c]
mov dword [esi + 8], 1
mov dword [esi + 0xc], 5
mov dword [esi + 0x10], edi
mov dword [ebp - 4], edi
call fcn.0046ada1
test eax, eax
je 0x46ac1c
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.0046fec1
test eax, eax
je 0x46ac0d
mov ebx, dword [0x10130180]
push edi
call ebx
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov edx, dword [edx + 0x8c]
push eax
mov ecx, esi
call edx
cmp eax, 2
je 0x46abf5
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x20]
call fcn.0046af41
test eax, eax
je 0x46abe6
lea ecx, [esi + 0x38]
push ecx
push edi
push esi
push 0x10037a80
push edi
push edi
call fcn.0054907c
add esp, 0x18
mov dword [esi + 0x34], eax
cmp eax, edi
je 0x46abd8
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x10dd
mov dword [esi + 0x3c], 1
call dword [0x10130180]
mov dword [ebx], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [esi + 0x3c], 8
push 0x65f
jmp 0x46ac30
call dword [0x10130308]
mov dword [esi + 0x3c], 0xb
jmp 0x46ac2f
call dword [0x10130184]
cmp eax, edi
jne 0x46ac04
mov eax, 0x4c7
mov dword [esi + 0x3c], 5
jmp 0x46ac2f
call dword [0x10130308]
mov dword [esi + 0x3c], 4
jmp 0x46ac29
call dword [0x10130308]
mov dword [esi + 0x3c], 3
mov ebx, dword [0x10130180]
push eax
call ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], 5
mov dword [esi + 0x10], edi
call dword [0x10130184]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
push edi
call ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46c381
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
jbe 0x46c4ca
push esi
push edi
push 0
push 0
push ebx
push 0x10039f90
push 0
push 0
call fcn.0054907c
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0x46c4ad
mov eax, dword [ebx + 0x68]
lea esi, [ebx + 0x64]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0x46c437
mov edx, dword [esi]
cmp edx, ecx
ja 0x46c437
mov edi, ecx
mov ecx, dword [esi + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0x46c427
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x46c4a3
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x46c427
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x46c416
xor ecx, ecx
jmp 0x46c418
add ecx, edx
cmp ecx, eax
jae 0x46c41e
mov ecx, eax
push ecx
call fcn.004652b1
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x46c483
mov edx, dword [esi]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
jmp 0x46c483
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x46c47a
mov edx, dword [esi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x46c4a3
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x46c47a
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x46c469
xor ecx, ecx
jmp 0x46c46b
add ecx, edx
cmp ecx, eax
jae 0x46c471
mov ecx, eax
push ecx
call fcn.004652b1
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x46c483
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [esi + 4], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 0x10]
jb 0x46c3a5
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x1018240c
call fcn.0054733c
call dword [0x10130184]
push eax
mov dword [ebx + 0x60], 8
call dword [0x10130180]
pop edi
mov dword [ebp - 0xc], 0
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 4