joyce8/EMBER2024-capa huggingface dataset:
Function at 0x38c5ae9e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x38c5aef7
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x38c5ae9e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x38c5aead
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x39060b50
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x38c5aefe
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.38c41d74
cmp eax, dword [ebp + 0xc]
pop eax
je 0x38c5af9d
add edi, 4
add eax, 2
dec ecx
jne 0x38c5aee3
call 0x38c5af4a
loope 0x38c5af40
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x38c5af9a
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x38c5afab
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x38c5af5e
cmp eax, ecx
ja 0x38c5af5e
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x38c5afe8
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x38c5afde
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.38c42253
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x38c5aead
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x38c5aef7
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x38c5ae9e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x38c5aead
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x39060b50
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x38c5aefe
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.38c41d74
cmp eax, dword [ebp + 0xc]
pop eax
je 0x38c5af9d
add edi, 4
add eax, 2
dec ecx
jne 0x38c5aee3
call 0x38c5af4a
loope 0x38c5af40
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x38c5af9a
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x38c5afab
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x38c5af5e
cmp eax, ecx
ja 0x38c5af5e
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x38c5afe8
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x38c5afde
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.38c42253
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x403a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c1313
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.004574e0
mov dword [esi], 0x4c8580
mov eax, dword [0x520868]
mov ecx, 0x520868
mov dword [esp + 0x10], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x40], eax
xor ecx, ecx
xor eax, eax
mov dword [esi + 0x30], ecx
mov ecx, esi
mov byte [esp + 0x10], 1
mov dword [esi + 0x2c], eax
call fcn.00457140
mov ecx, dword [esp + 8]
mov byte [esi + 0x3c], 0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x404e50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c138e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [0x4c7394]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x3c]
mov dword [esp + 0x18], edi
call fcn.004036a0
mov dword [esi + 0x34], 0x4c8138
mov dword [esi + 0x38], 0x4c813c
mov dword [esi], 0x4c8630
mov dword [esi + 0x34], 0x4c862c
mov dword [esi + 0x38], 0x4c8628
mov dword [esi + 0x58], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], ebx
mov dword [esi + 0x54], 0x4c84fc
lea ecx, [esi + 0x78]
mov byte [esp + 0x18], 2
call fcn.0047f130
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4094e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c1599
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x4c8924
mov eax, dword [0x520868]
mov ecx, 0x520868
mov dword [esp + 0x1c], 0
lea ebx, [esi + 0x30]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov edx, dword [0x520868]
mov ecx, 0x520868
mov byte [esp + 0x1c], 1
lea ebp, [esi + 0x34]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [0x520868]
mov ecx, 0x520868
mov byte [esp + 0x1c], 2
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x38], eax
xor eax, eax
mov ecx, 0xb
lea edi, [esi + 4]
push eax
rep stosd dword es:[edi], eax
push 0x4c8835
mov ecx, ebx
mov byte [esp + 0x24], 3
call fcn.00404360
push 0
push 0x4c8835
mov ecx, ebp
call fcn.00404360
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40d100
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c18a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
lea edi, [esi + 4]
mov dword [esi], 0x4c8994
mov dword [esp + 0xc], esi
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
push 0x2c
mov byte [esp + 0x20], 1
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
call fcn.004a0b52
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x1c], 2
je 0x40d16c
mov ecx, eax
call fcn.0040cc00
jmp 0x40d16e
xor eax, eax
push eax
mov ecx, edi
mov byte [esp + 0x20], 1
call fcn.00409ce0
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40d250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c18bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x520868]
push esi
mov esi, ecx
mov ecx, 0x520868
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40d680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c1931
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x4c8998
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x422600
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c2268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov ecx, 0x4ffdbb
mov dword [esp + 0x10], 0
mov dword [esi], 0x4cd1d0
mov dword [esi + 4], 0
mov dword [esi + 8], 0x4ec460
call fcn.0040d550
mov eax, dword [0x4ffb58]
mov ecx, 0x4ffdbb
mov dword [eax + 0x14], 0x320
mov dword [eax + 0x18], 0x258
call fcn.0040d550
mov eax, dword [0x4ffb58]
mov ecx, 0x4ffdbb
mov dword [eax + 0x1c], 0x2cb0000
call fcn.0040d550
mov ecx, dword [0x4ffb58]
mov dword [ecx + 0x20], 0x200
mov ecx, 0x4ffdbb
call fcn.0040d550
mov ecx, dword [0x4ffb58]
push 0x14
push 0x4cd1b8
add ecx, 0x10
call fcn.00404360
mov dword [esi + 0xc], 0x4cd1a8
mov dword [esi + 0x10], str.Game___Version_1.00
mov dword [esi + 0x18], str.System_Version_3.20
mov dword [esi + 0x14], 0x4cd15c
mov dword [esi + 0x1c], 0x4cd140
mov dword [esi + 0x20], str.env.ini
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], 0x4cd130
mov dword [esi + 0x2c], 0x4cd128
mov dword [esi + 0x30], 4
mov dword [esi + 0x34], 0x4ec4a8
mov dword [esi + 0x38], 0
xor ecx, ecx
mov eax, 0x4ec4b0
lea ecx, [ecx]
mov edx, dword [eax]
cmp dword [esi + 0x38], edx
jae 0x42270a
mov dword [esi + 0x38], edx
mov edx, dword [esi + 0x30]
inc ecx
add eax, 0x10
cmp ecx, edx
jb 0x422700
mov ecx, dword [esp + 8]
mov dword [esi + 0x44], 3
mov dword [esi + 0x48], 0x4ec4e8
mov dword [esi + 0x54], 6
mov dword [esi + 0x58], 0x4ec524
mov dword [esi + 0x6c], 5
mov dword [esi + 0x70], 0x4ec560
mov dword [esi + 4], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x429c40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x68]
mov edx, dword [esi]
mov edi, dword [eax + 8]
mov ecx, esi
call dword [edx + 0x68]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
lea ecx, [esi + eax]
cmp esi, ecx
mov dword [esp + 0x10], edx
jge 0x429d0b
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
lea ebp, [eax + ebx]
mov eax, edx
imul eax, esi
add eax, edi
sub ecx, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x28]
xor ebx, ebx
xor edi, edi
xor esi, esi
cmp ecx, ebp
jge 0x429ce4
mov edx, ebp
mov ebp, dword [esp + 0x28]
lea ecx, [eax + ecx*4 + 2]
sub edx, ebp
lea ebx, [ebx]
mov ebp, dword [ecx - 2]
and ebp, 0xff
add esi, ebp
movzx ebp, byte [ecx - 1]
add edi, ebp
movzx ebp, byte [ecx]
add ebx, ebp
add ecx, 4
dec edx
jne 0x429cc0
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
add dword [esp + 0x14], esi
mov ecx, dword [esp + 0x10]
add ecx, edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
add edi, ebx
add eax, edx
dec ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], ecx
jne 0x429ca0
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
imul ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
xor edx, edx
div ecx
xor edx, edx
pop edi
mov esi, eax
mov eax, dword [esp + 4]
div ecx
and esi, 0xff
shl esi, 8
xor edx, edx
and eax, 0xff
add esi, eax
mov eax, dword [esp + 8]
div ecx
shl esi, 8
and eax, 0xff
add eax, esi
pop esi
add esp, 0x10
ret 0x14
Function at 0x42a890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x94
mov eax, dword [esp + 0x98]
push esi
push eax
lea ecx, [esp + 8]
call fcn.00409630
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], str.CLogo
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], str.CTitle
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], str.CSndMode
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], str.CCGMode
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], str.CScMode
mov dword [esp + 0x30], 5
mov dword [esp + 0x34], str.CReadScript
mov dword [esp + 0x38], 6
mov dword [esp + 0x3c], str.CUpdate
mov dword [esp + 0x40], 7
mov dword [esp + 0x44], str.CDrawMessage
mov dword [esp + 0x48], 8
mov dword [esp + 0x4c], str.CMenuSelect
mov dword [esp + 0x50], 9
mov dword [esp + 0x54], str.CWait
mov dword [esp + 0x58], 0xa
mov dword [esp + 0x5c], str.CEffect
mov dword [esp + 0x60], 0xb
mov dword [esp + 0x64], str.CBackLog
mov dword [esp + 0x68], 0xc
mov dword [esp + 0x6c], str.CGameMap
mov dword [esp + 0x70], 0xd
mov dword [esp + 0x74], str.CChangeDate
mov dword [esp + 0x78], 0xe
mov dword [esp + 0x7c], str.CEnding
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x84], str.CSaveScene
mov dword [esp + 0x88], 0x10
mov dword [esp + 0x8c], str.CLoadScene
mov dword [esp + 0x90], 0x11
mov dword [esp + 0x94], str.CLoadAfter
jmp 0x42a9e0
mov ecx, dword [esp + esi*8 + 0xc]
mov edx, dword [esp + 4]
push ecx
push edx
call fcn.004a20ad
add esp, 8
test eax, eax
je 0x42aa29
inc esi
cmp esi, 0x12
jb 0x42a9e0
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42aa1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x12
pop esi
add esp, 0x94
ret 4
mov eax, dword [esp + 4]
mov esi, dword [esp + esi*8 + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42aa4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
pop esi
add esp, 0x94
ret 4
Function at 0x42d940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c2bb2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0xc]
mov dword [esp + 0x10], esi
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
lea ecx, [esi + 0x30]
push ebx
mov byte [esp + 0x20], 2
call fcn.00430eb0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 4
call fcn.00401ac0
push 0x44
mov dword [esi + 4], ebx
call fcn.004a0b52
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov byte [esp + 0x1c], 5
je 0x42d9cb
mov ecx, eax
call fcn.00403a50
jmp 0x42d9cd
xor eax, eax
push eax
mov ecx, edi
mov byte [esp + 0x20], 4
call fcn.00409d40
mov edx, dword [edi]
cmp edx, ebx
jne 0x42d9f7
push 0x4d6aec
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x4c824c
call fcn.004a0e32
mov ecx, dword [edi + 8]
cmp ecx, ebx
push ebp
jne 0x42da03
xor ebp, ebp
jmp 0x42da06
mov ebp, dword [ecx + 0x10]
mov eax, dword [edi + 4]
cmp eax, ebp
jb 0x42da24
push 0x4d6adc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x4c8250
call fcn.004a0e32
cmp ecx, ebx
je 0x42da2d
mov ecx, dword [ecx + 0xc]
jmp 0x42da2f
xor ecx, ecx
imul eax, ecx
add eax, edx
mov ecx, 0x4ffdbb
mov ebp, eax
call fcn.0040d550
mov edx, dword [0x4ffb58]
mov eax, dword [edx + 0x18]
mov ecx, 0x4ffdbb
mov dword [esp + 0x10], eax
call fcn.0040d550
mov ecx, dword [0x4ffb58]
mov eax, dword [ecx + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push 1
push 1
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x78]
test eax, eax
je 0x42dab3
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x42daf7
dec dword [ecx + 4]
jne 0x42da99
cmp byte [ecx + 8], bl
je 0x42da8b
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x42da99
mov eax, dword [ecx]
push 1
call dword [eax + 4]
pop ebp
mov dword [edi + 8], ebx
mov dword [edi], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push 0x80
call fcn.004a0b52
add esp, 4
cmp eax, ebx
je 0x42dad1
mov dword [eax], 0x4cd270
mov dword [eax + 0x7c], ebx
mov edi, eax
jmp 0x42dad3
xor edi, edi
lea ebp, [esi + 0x40]
mov ecx, ebp
call fcn.00422b70
cmp edi, ebx
je 0x42daef
push ebx
push ebx
push 1
push 1
push edi
mov ecx, ebp
call fcn.004242f0
lea ecx, [esi + 0x30]
call fcn.0042d880
mov ecx, dword [esp + 0x18]
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x463220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 8]
sub esp, 0x70
push edi
mov edi, dword [esp + 0x84]
lea eax, [esp + 0x20]
push eax
push ecx
push edx
push edi
call fcn.00496340
add esp, 0x10
test eax, eax
je 0x463254
mov eax, 1
pop edi
add esp, 0x70
ret
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
sub eax, edx
push ebx
mov ebx, dword [edi + 0xc]
push ebp
mov ebp, eax
push esi
mov esi, dword [esp + 0x44]
mov eax, ebx
imul eax, esi
sub ecx, esi
mov esi, dword [edi + 8]
lea eax, [eax + edx*4]
mov dl, byte [esp + 0x2c]
add eax, esi
test dl, dl
je 0x46334b
mov edi, ebp
and edi, 7
mov esi, ebp
mov edx, edi
sar esi, 3
sub edx, ebp
test edi, edi
mov dword [esp + 0x14], esi
lea ebx, [ebx + edx*4]
jne 0x4632ed
test ecx, ecx
jle 0x4633d8
mov edi, ecx
mov cl, byte [esp + 0x193]
test esi, esi
jle 0x4632de
mov edx, esi
lea esp, [esp]
mov byte [eax + 3], cl
mov byte [eax + 7], cl
mov byte [eax + 0xb], cl
mov byte [eax + 0xf], cl
mov byte [eax + 0x13], cl
mov byte [eax + 0x17], cl
mov byte [eax + 0x1b], cl
mov byte [eax + 0x1f], cl
add eax, 0x20
dec edx
jne 0x4632c0
add eax, ebx
dec edi
jne 0x4632b3
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x70
ret
test ecx, ecx
jle 0x4633d8
mov ebp, ecx
mov cl, byte [esp + 0x193]
mov edi, edi
test esi, esi
jle 0x463324
mov edx, esi
mov byte [eax + 3], cl
mov byte [eax + 7], cl
mov byte [eax + 0xb], cl
mov byte [eax + 0xf], cl
mov byte [eax + 0x13], cl
mov byte [eax + 0x17], cl
mov byte [eax + 0x1b], cl
mov byte [eax + 0x1f], cl
add eax, 0x20
dec edx
jne 0x463306
test edi, edi
jle 0x46333c
lea edx, [eax + 3]
mov esi, edi
lea ecx, [ecx]
mov byte [edx], cl
add edx, 4
dec esi
jne 0x463330
mov esi, dword [esp + 0x14]
add eax, ebx
dec ebp
jne 0x463300
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x70
ret
test ecx, ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x10], edx
jle 0x4633d8
lea edi, [eax + 3]
mov dword [esp + 0x14], ecx
jmp 0x463390
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
js 0x4633a6
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
test ebp, ebp
mov esi, dword [esp + 0x20]
jle 0x4633cb
mov eax, edi
mov edx, ebp
add esi, dword [esp + 0x24]
js 0x4633bc
sub esi, dword [esp + 0x28]
mov cl, byte [esp + 0x193]
mov byte [eax], cl
add eax, 4
dec edx
jne 0x4633b2
mov eax, dword [esp + 0x14]
add edi, ebx
dec eax
mov dword [esp + 0x14], eax
jne 0x463390
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x70
ret
Function at 0x4716c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00494500
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
sub esi, eax
mov eax, dword [esp + 0x14]
mov edi, esi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x1c]
and edi, 7
sar esi, 3
cmp eax, edx
mov dword [esp + 0xc], ecx
mov ebp, eax
jge 0x471768
imul eax, ecx
push ebx
mov ebx, eax
mov edx, 0xffffff
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
lea eax, [ebx + eax*4]
add eax, ecx
test esi, esi
jle 0x471744
mov ecx, esi
xor dword [eax], edx
xor dword [eax + 4], edx
xor dword [eax + 8], edx
xor dword [eax + 0xc], edx
xor dword [eax + 0x10], edx
xor dword [eax + 0x14], edx
xor dword [eax + 0x18], edx
xor dword [eax + 0x1c], edx
add eax, 0x20
dec ecx
jne 0x471727
xor ecx, ecx
test edi, edi
jle 0x471758
lea ebx, [ebx]
xor dword [eax + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x471750
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
inc ebp
add ebx, ecx
cmp ebp, eax
jl 0x471714
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x486510
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c4fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push esi
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0xc]
call fcn.00409630
mov ecx, dword [esp + 0x34]
push ecx
xor edi, edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], edi
call fcn.00409630
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.00483070
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call dword [edx + 0x18]
mov ecx, eax
mov byte [esp + 0x2c], 2
call fcn.00483070
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call dword [edx + 0x20]
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
mov byte [esp + 0x34], 3
call fcn.00483070
mov ecx, eax
call fcn.004039e0
mov ecx, eax
call fcn.00484340
mov eax, dword [esp + 0x14]
cmp eax, edi
mov byte [esp + 0x2c], 2
je 0x4865e2
mov esi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec esi
mov edx, esi
cmp edx, edi
mov dword [eax], esi
jne 0x4865da
mov al, byte [ecx + 8]
test al, al
je 0x4865cb
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x4865da
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x20]
cmp eax, edi
mov byte [esp + 0x2c], 1
je 0x486622
mov esi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec esi
mov edx, esi
cmp edx, edi
mov dword [eax], esi
jne 0x48661a
mov al, byte [ecx + 8]
test al, al
je 0x48660b
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [esp + 0x20]
cmp ecx, edi
je 0x48661a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x486647
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48666c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8