joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014534
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [0x101ea894], 0xb
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x101ea894]
add edx, 0xffffd9ce
mov dword [0x101ea898], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101ea894], 0x15bd
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100145af
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov dword [0x101ea894], 0x10c9
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x100145de
jmp 0x1001467a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
je 0x1001458e
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
jl 0x100145af
jmp 0x1001458e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1001467a
mov dword [0x101ea898], 0x80e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1001467a
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff6
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2], 0x64
jne 0x1001467a
mov dword [0x101ea898], 0x8e7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1001467a
mov dword [0x101ea894], 0xe97
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1001467a
mov eax, 1
mov dword [0x101ea898], 0x113b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
je 0x10014586
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x10014586
Function at 0x100146fe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101ea898], 0x15d4
mov dword [0x101ea894], 0x407
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x1001774a]
mov dl, byte [eax + 0x1001771b]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x10014729
lea eax, [ebp - 0x20]
mov dword [0x101ea898], 0x161a
mov dword [ebp - 0x30], eax
call fcn.10014e8f
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.10013cea
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x1001481e
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10014183
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x50], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x1c], ecx
mov dword [0x101ea894], 0xeda
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x1001481e
mov eax, dword [ebp - 0x3c]
add eax, 0x13d9
mov dword [0x101ea898], 0xffffe86e
mov dword [0x101ea894], 0x443
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x1001491e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x101ea898]
add edi, 0xfffffc50
mov dword [0x101ea894], edi
mov dword [0x101ea8a0], 0
mov byte [0x101ea8a4], 0
mov dword [0x101ea898], 0x1e29
mov dword [0x101ea89c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1001497f
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101ea898]
mov esi, eax
add esi, 0xffffe676
mov dword [0x101ea894], esi
mov esi, dword [0x101ea89c]
add esi, 1
mov dword [0x101ea89c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x1001497f
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffff1df
mov dword [0x101ea894], ecx
mov dword [0x101ea89c], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [0x101ea8a8], 0
mov edx, dword [0x101ea8a0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x28], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x101ea8a8], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x101ea8a0], edx
mov dword [0x101ea894], 0x13cc
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
mov cl, byte [ecx + edi]
mov byte [0x101ea8a4], cl
mov dword [0x101ea894], 0x1ae6
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x101ea8a4]
mov edx, dword [0x101ea8a0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x101ea898]
add edx, 0xffffe7b0
mov dword [0x101ea894], edx
mov edx, dword [0x101ea89c]
add edx, 1
mov dword [0x101ea89c], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
jl 0x100149dd
jmp 0x10014977
Function at 0x10014f58
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [0x101ea894], 0x234d
call fcn.10001087
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x100150dd
lea eax, [esp + 0x40]
mov dword [0x101ea894], 0x1e2a
mov dword [esp + 0x28], eax
call fcn.10014534
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x100150d5
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.10014b97
lea ecx, [esp + 0x40]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], edx
mov edx, dword [0x101ea894]
add edx, 0xdd
mov dword [0x101ea898], edx
mov dword [esp + 0x48], 0x11a000
mov edx, dword [0x101ea880]
mov dword [esp + 0x70], edx
mov edx, dword [0x101ea884]
add ecx, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
lea eax, [0x10014b39]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ecx], edx
mov esi, dword [0x101ea888]
mov dword [esp + 0x84], esi
mov esi, dword [0x101ea88c]
mov dword [esp + 0x80], esi
mov esi, dword [0x101ea890]
mov dword [esp + 0x68], esi
mov dword [0x101ea894], 0xffffe6c3
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10015076
mov eax, dword [esp + 0x10]
add eax, 0x3c
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [esp + 0x10]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1001508a
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10015043
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 8]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100146fe
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x101ea894], 0x239d
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x40a130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x497e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
lea ecx, [esp + 0x10]
call fcn.0047de30
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0
call fcn.0046eb20
push 0xb
push 0x4ae3b8
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call fcn.0046ebc0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.0047e270
push ecx
lea eax, [esp + 4]
mov ecx, esp
mov dword [esp + 8], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0xc]
call fcn.0046ee50
lea ecx, [esp + 8]
mov word [esp + 0xc], 1
push ecx
lea ecx, [esp + 0x14]
call fcn.0047e080
lea edx, [esp + 0x10]
mov ecx, 0x4b6410
push edx
push 0x3e8
call fcn.00477d80
lea ecx, [esp]
mov byte [esp + 0x28], 1
call fcn.0046ec60
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0047de50
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x40a210
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
test ecx, ecx
je 0x40a243
push esi
mov esi, dword [esp + 8]
xor edx, edx
mov dl, byte [esi]
xor eax, edx
mov edx, 8
test al, 1
je 0x40a239
shr eax, 1
xor eax, 0xedb88320
jmp 0x40a23b
shr eax, 1
dec edx
jne 0x40a22c
inc esi
dec ecx
jne 0x40a221
pop esi
ret 0xc

Function at 0x40a250
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
mov ecx, eax
mov edx, eax
shr ecx, 0x18
mov byte [esp + 0x20], cl
mov ecx, eax
shr edx, 0x10
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x24]
mov byte [esp + 0x21], dl
mov edx, eax
shr ecx, 8
shr edx, 0x18
mov byte [esp + 0x22], cl
mov byte [esp + 0x27], dl
mov ecx, eax
mov edx, eax
shr ecx, 0x10
shr edx, 8
push esi
mov byte [esp + 0x28], al
push edi
mov byte [esp + 0xc], 3
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2d], dl
xor eax, eax
mov esi, 4
mov edi, dword [esp + 0xc]
mov cl, byte [esp + eax + 0x2c]
mov dl, byte [esp + eax + 0x28]
and edi, 0xff
xor dl, cl
mov bl, byte [esp + edi + 0x28]
mov byte [esp + eax + 0x10], dl
xor cl, bl
mov byte [esp + eax + 0x14], bl
mov bl, byte [esp + 0xc]
mov byte [esp + eax + 0x18], cl
add cl, dl
add cl, 5
dec bl
mov byte [esp + eax + 0x1c], cl
inc eax
dec esi
mov byte [esp + 0xc], bl
jne 0x40a2a8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d]
mov edx, dword [esp + 0x1e]
and eax, 0xff
shl eax, 8
and ecx, 0xff
and edx, 0xff
add eax, ecx
mov ecx, dword [esp + 0x1f]
shl eax, 8
add eax, edx
and ecx, 0xff
shl eax, 8
pop edi
pop esi
add eax, ecx
pop ebx
add esp, 0x18
ret 8
Function at 0x40b750
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x497fa7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov byte [esi + 8], al
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov cl, byte [esp + 7]
mov dword [esp + 0x14], eax
mov byte [esi + 0x18], cl
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dl, byte [esp + 7]
mov dword [esi + 0x2c], eax
mov byte [esi + 0x28], dl
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov cl, byte [esp + 7]
mov dword [esi + 0x3c], eax
mov byte [esi + 0x38], cl
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dl, byte [esp + 7]
mov dword [esi + 0x4c], eax
mov byte [esi + 0x48], dl
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x5c]
mov byte [esp + 0x14], 4
call fcn.0046eb20
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x4a015c
mov byte [esi + 4], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4105a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x498531
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
xor esi, esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], esi
call fcn.00473990
sub esp, 0x24
lea ecx, [esp + 0x78]
mov eax, esp
mov dword [esp + 0x3c], esp
push esi
push ecx
push eax
mov ecx, 0x4b6410
mov byte [esp + 0x7c], 1
mov dword [esp + 0x40], esi
call fcn.0047bfc0
lea ecx, [esp + 0x44]
call fcn.00473b40
mov dl, byte [esp + 0x54]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x28], esp
mov byte [ebp], dl
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x410617
xor eax, eax
jmp 0x410620
mov eax, dword [esp + 0x6c]
sub eax, ecx
sar eax, 3
test eax, eax
jge 0x410626
xor eax, eax
shl eax, 3
push eax
call fcn.0048db76
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
add esp, 4
mov esi, eax
cmp edi, ecx
mov ebx, ecx
mov dword [esp + 0x28], esi
je 0x410679
mov dword [esp + 0x2c], esi
test esi, esi
mov byte [esp + 0x5c], 2
je 0x410666
push edi
mov ecx, esi
call fcn.0046eb30
mov cx, word [edi + 4]
mov word [esi + 4], cx
add edi, 8
add esi, 8
cmp edi, ebx
mov byte [esp + 0x5c], 1
mov dword [esp + 0x28], esi
jne 0x410649
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00413960
mov edi, dword [esp + 0x64]
push eax
push edi
lea edx, [esp + 0x28]
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0040df90
mov ecx, esi
call fcn.004109d0
test ax, ax
je 0x41075c
push edi
mov ecx, esi
call fcn.00411d90
mov esi, eax
movsx eax, si
add eax, 4
cmp eax, 5
ja case.0x4106cc.0
jmp dword [eax*4 + 0x410798]
cmp word [esp + 0x10], 0x96
jg case.0x4106cc.2
sub esp, 0x24
lea ecx, [esp + 0x78]
mov eax, esp
mov dword [esp + 0x40], esp
push 0
push ecx
push eax
mov ecx, 0x4b6410
call fcn.0047bfc0
lea ecx, [esp + 0x44]
call fcn.00473b40
lea ecx, [esp + 0x20]
call fcn.00473f70
test ax, ax
je case.0x4106cc.2
jmp case.0x4106cc.0
cmp word [esp + 0x10], 0
jg case.0x4106cc.2
mov ecx, dword [esp + 0x14]
call fcn.0040d270
cmp ax, 1
jne 0x41074e
sub esp, 0x24
lea eax, [esp + 0x78]
mov edx, esp
mov dword [esp + 0x40], esp
push 0
push eax
push edx
mov ecx, 0x4b6410
call fcn.0047bfc0
lea ecx, [esp + 0x44]
call fcn.00473b40
inc dword [esp + 0x10]
jmp case.0x4106cc.0
or esi, 0xffffffff
jmp case.0x4106cc.1
xor esi, esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 0
call fcn.00473a90
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0047de50
mov ecx, dword [esp + 0x44]
mov ax, si
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret 0x14
Function at 0x413330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x498721
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], esi
call fcn.0047de30
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x80], edi
call fcn.00473990
push ecx
mov byte [esp + 0x84], 1
mov ecx, esp
mov dword [esp + 0x1c], esp
push 3
push 0x4ae3fc
call fcn.0046ebc0
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.0040eb00
cmp ax, di
je 0x4134e6
mov dword [esp + 0x10], edi
mov ecx, 0x4b6410
call fcn.004743f0
push 0x19
push 0x19
push 0x1f4
push 3
push 0x4b6410
call fcn.00479460
add esp, 0x14
lea ecx, [esp + 0x20]
lea edx, [esp + 0x54]
push 0
push ecx
push edx
mov ecx, 0x4b6410
call fcn.0047bfc0
lea ecx, [esp + 0x54]
call fcn.00473a90
sub esp, 0x24
mov ecx, 0x4b6410
mov eax, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00474540
lea ecx, [esp + 0x54]
call fcn.00473b40
mov cl, byte [esp + 0x20]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x28], esp
mov byte [ebp], cl
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x41341b
xor eax, eax
jmp 0x413424
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 3
test eax, eax
jge 0x41342a
xor eax, eax
lea edx, [eax*8]
push edx
call fcn.0048db76
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
add esp, 4
mov esi, eax
cmp edi, ecx
mov ebx, ecx
mov dword [esp + 0x28], esi
je 0x413487
mov dword [esp + 0x2c], esi
test esi, esi
mov byte [esp + 0x90], 2
je 0x413471
push edi
mov ecx, esi
call fcn.0046eb30
mov ax, word [edi + 4]
mov word [esi + 4], ax
add edi, 8
add esi, 8
cmp edi, ebx
mov byte [esp + 0x90], 1
mov dword [esp + 0x28], esi
jne 0x413451
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00413960
push eax
push 0x4b63c8
sub esp, 0x24
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0040df90
mov ecx, esi
call fcn.004109d0
test ax, ax
jne 0x4134d0
mov eax, dword [esp + 0x10]
inc eax
cmp ax, 2
mov dword [esp + 0x10], eax
jl 0x4133a1
push 0x4b63c8
mov ecx, esi
call fcn.00411d90
cmp ax, 1
mov word [esi + 0x58], ax
je 0x413521
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 0
call fcn.00473a90
lea ecx, [esp + 0x20]
mov dword [esp + 0x80], 0xffffffff
call fcn.0047de50
xor ax, ax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
lea ecx, [esp + 0x30]
mov byte [esi + 4], 2
mov byte [esp + 0x80], 0
call fcn.00473a90
lea ecx, [esp + 0x20]
mov dword [esp + 0x80], 0xffffffff
call fcn.0047de50
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret
Function at 0x413760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x14]
push edi
mov dword [esp + 0x34], edi
call fcn.0046eb50
mov eax, dword [esi + 0xc]
lea ecx, [esi + 8]
cmp eax, edi
mov byte [esp + 0x30], 1
mov byte [esp + 0x13], 0x7f
je 0x4137fb
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 2
cmp edx, 0x20
jbe 0x4137fb
push 0x20
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x18]
call fcn.0046ee50
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0046eb30
mov ecx, dword [0x4b63ec]
call fcn.00416cf0
cmp ax, di
je 0x4137fb
push edi
lea ecx, [esp + 0x18]
call fcn.0046ee40
mov byte [esp + 0x13], al
mov word [esi + 0x58], 0xffff
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x413810
xor edx, edx
jmp 0x413825
mov ecx, dword [esi + 0x50]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
movsx eax, word [esp + 0x18]
cmp eax, edx
jae 0x413909
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x4c]
lea ecx, [eax + edx*4]
mov al, byte [0x4b63d8]
test al, al
mov ebx, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x20], edx
mov edi, dword [ecx + 8]
jbe 0x413900
cmp al, 8
jbe 0x413860
cmp al, 0xd
jne 0x413900
lea ecx, [esp + 0x38]
call fcn.0046efe0
mov ebp, eax
cmp bp, 2
jle 0x413900
push 0
lea ecx, [esp + 0x3c]
call fcn.0046ee40
cmp al, byte [esp + 0x13]
jne 0x413900
dec ebp
lea ecx, [esp + 0x38]
push ebp
call fcn.0046ee40
cmp al, bl
jne 0x413900
and edi, 0xff
lea eax, [edi - 1]
cmp eax, 3
ja case.default.0x4138a3
jmp dword [eax*4 + 0x413944]
mov eax, dword [esp + 0x18]
mov word [esi + 0x58], 0xfffe
inc eax
mov dword [esp + 0x18], eax
jmp 0x413805
mov eax, dword [esp + 0x18]
mov word [esi + 0x58], 0xfffd
inc eax
mov dword [esp + 0x18], eax
jmp 0x413805
mov eax, dword [esp + 0x18]
mov word [esi + 0x58], 0xfffc
inc eax
mov dword [esp + 0x18], eax
jmp 0x413805
mov eax, dword [esp + 0x18]
mov word [esi + 0x58], 1
inc eax
mov dword [esp + 0x18], eax
jmp 0x413805
mov word [esi + 0x58], 0xffff
inc dword [esp + 0x18]
jmp 0x413805
mov si, word [esi + 0x58]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.0046ec60
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.0046ec60
mov ecx, dword [esp + 0x28]
mov ax, si
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x417d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498cd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov al, byte [esp + 0x20]
sub esp, 0x10
mov ecx, esp
xor ebx, ebx
mov dword [esp + 0x1c], esp
mov dword [esp + 0x28], ebx
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x4a0148]
lea eax, [esp + 0x30]
push edx
push ebx
push eax
call fcn.0040a8e0
mov ecx, esi
call fcn.004179b0
cmp ax, bx
jle 0x417e30
mov edi, dword [esp + 0x30]
mov ecx, edi
call fcn.0046efe0
cmp ax, 5
jle 0x417e30
xor eax, eax
lea esi, [eax + 1]
push ebx
push esi
mov ecx, edi
call fcn.0046ef60
mov eax, esi
cmp ax, 4
jl 0x417dca
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x417e18
mov al, byte [ecx - 1]
cmp al, bl
je 0x417e0e
cmp al, 0xff
je 0x417e0e
dec al
mov byte [ecx - 1], al
mov ax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14
dec ecx
push ecx
call fcn.0048d500
add esp, 4
mov ax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x417e54
mov al, byte [ecx - 1]
cmp al, bl
je 0x417e4a
cmp al, 0xff
je 0x417e4a
dec al
mov byte [ecx - 1], al
jmp 0x417e54
dec ecx
push ecx
call fcn.0048d500
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x14
Function at 0x43af90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49af50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
push 3
push 0x4aea74
lea ecx, [esp + 0x20]
call fcn.0046ebc0
push 6
push 0x4ae934
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call fcn.0046ebc0
push 6
push 0x4ae92c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.0046ebc0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.0046eb20
push 0x4b63c8
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 3
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
cmp ax, 1
je 0x43b074
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0046ec60
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0046ec60
xor ax, ax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
xor ebx, ebx
mov cl, bl
add cl, 0x18
shl cl, 2
push ecx
push 4
lea ecx, [esp + 0x18]
call fcn.0046ef60
push 0x4b63c8
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
inc ebx
cmp bx, 3
jl 0x43b076
push 0x4b63c8
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
mov esi, eax
cmp si, 1
jne 0x43b128
push 0
mov ecx, 0x4b63c8
mov byte [edi + 0xc], 1
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x10]
call fcn.0046ee50
lea ecx, [esp + 0xc]
call fcn.0046efe0
cmp ax, 3
jle 0x43b128
push 3
lea ecx, [esp + 0x10]
call fcn.0046ee40
cmp al, 0x91
jne 0x43b128
mov ecx, edi
call fcn.004380b0
mov esi, eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0046ec60
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0046ec60
mov ecx, dword [esp + 0x20]
mov ax, si
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret