joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e8cab
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov byte [esi + 0x1c], bl
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], ebx
mov byte [esi + 0x20], bl
mov byte [esp + 0x1c], 1
push 0x14
mov dword [esi + 0x4c], ebx
call fcn.004c958c
add esp, 4
cmp eax, ebx
je 0x46c2cf
mov dword [esi + 0x48], eax
mov dword [eax], eax
mov eax, dword [esi + 0x48]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x48]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x48]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 0x48]
mov byte [ecx + 0x11], 1
mov dword [esi + 0x54], ebx
mov dword [esi + 0x6c], 0xf
mov dword [esi + 0x68], ebx
mov byte [esi + 0x58], bl
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 8
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], vtable.stdext::bad_alloc.0
lea esi, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.00406640
int3
Function at 0x46de90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4edea8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
cmp eax, ebx
jne 0x46df45
push 0xd
push str.Missing_name.
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00404fd0
push ebx
push edi
mov edi, dword [esp + 0x1c]
push ebp
lea edx, [esp + 0x2c]
mov dword [esp + 0x8c], ebx
call fcn.0046c450
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x46e07f
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004c9387
add esp, 4
jmp 0x46e07f
xor ebp, ebp
cmp eax, ebx
jbe 0x46e07f
nop
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x46df5c
mov eax, dword [esi]
jmp 0x46df5e
mov eax, esi
cmp byte [eax + ebp], 0x61
jb 0x46df79
cmp ecx, 0x10
jb 0x46df6d
mov eax, dword [esi]
jmp 0x46df6f
mov eax, esi
cmp byte [eax + ebp], 0x7a
jbe 0x46e075
cmp ecx, 0x10
jb 0x46df82
mov eax, dword [esi]
jmp 0x46df84
mov eax, esi
cmp byte [eax + ebp], 0x41
jb 0x46df9f
cmp ecx, 0x10
jb 0x46df93
mov eax, dword [esi]
jmp 0x46df95
mov eax, esi
cmp byte [eax + ebp], 0x5a
jbe 0x46e075
cmp ecx, 0x10
jb 0x46dfa8
mov eax, dword [esi]
jmp 0x46dfaa
mov eax, esi
cmp byte [eax + ebp], 0x30
jb 0x46dfc5
cmp ecx, 0x10
jb 0x46dfb9
mov eax, dword [esi]
jmp 0x46dfbb
mov eax, esi
cmp byte [eax + ebp], 0x39
jbe 0x46e075
cmp ecx, 0x10
jb 0x46dfce
mov eax, dword [esi]
jmp 0x46dfd0
mov eax, esi
cmp byte [eax + ebp], 0x5f
je 0x46e075
lea edx, [esp + 0x58]
push esi
push edx
mov ebx, 0x5073dc
call fcn.00479b40
push eax
mov eax, str.__is_not_a_valid_identifier.
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], 1
call fcn.0040ecc0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
xor ebx, ebx
push ebx
push ecx
push edx
mov edx, eax
mov byte [esp + 0x8c], 2
call fcn.0046c450
mov edi, 0x10
mov byte [esp + 0x80], 1
cmp dword [esp + 0x50], edi
jb 0x46e047
mov eax, dword [esp + 0x3c]
push eax
call fcn.004c9387
add esp, 4
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x6c], edi
jb 0x46e075
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004c9387
add esp, 4
inc ebp
cmp ebp, dword [esi + 0x10]
jb 0x46df50
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004c9392
add esp, 0x74
ret 8
Function at 0x47ce70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4edc88
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
xor edx, edx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], str.p:p_agentshpam2.eem_recipes499894881_base_branchesgoopy2_release_branchgoogleclient_third_partyprotobuf_files_srcgoogleprotobufgenerated_message_reflection.cc
mov dword [esp + 0x18], 0x53
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edx
mov byte [esp + 0x1c], dl
mov dword [esp + 0x48], edx
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 4]
mov dword [esp + 0xc], eax
push 0x56
mov eax, str.Protocol_Buffer_reflection_usage_error:_n__Method______:_google::protobuf::Reflection::
lea ecx, [esp + 0x20]
call fcn.00408960
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47cef8
sub eax, ecx
push eax
mov eax, esi
lea ecx, [esp + 0x20]
call fcn.00408960
push 0x11
mov eax, str._n__Message_type:
lea ecx, [esp + 0x20]
call fcn.00408960
mov ecx, dword [esp + 0xc]
push 0
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x24]
call fcn.00408880
push 0x11
mov eax, str._n__Field_______:
mov ecx, esi
call fcn.00408960
push 0
push ebx
or eax, 0xffffffff
call fcn.00408880
push 0x11
mov eax, str._n__Problem_____:
mov ecx, esi
call fcn.00408960
mov eax, edi
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47cf60
sub eax, ecx
push eax
mov eax, edi
lea ecx, [esp + 0x20]
call fcn.00408960
lea ecx, [esp + 0x10]
call fcn.0047ca30
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x47cf9a
mov edx, dword [esp + 0x1c]
push edx
call fcn.004c9387
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004c9392
mov esp, ebp
pop ebp
ret
Function at 0x480bd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4f25b0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 4]
cmp dword [esi + 0x24], eax
je 0x480c38
push eax
mov edi, str.Field_does_not_match_message_type.
mov edx, str.AddDouble
mov ecx, esi
call fcn.0047ce70
add esp, 4
cmp dword [esi + 0x1c], 3
je 0x480c56
mov ecx, dword [ebx + 4]
push ecx
mov edi, str.Field_is_singular__the_method_requires_a_repeated_field.
mov edx, str.AddDouble
mov ecx, esi
call fcn.0047ce70
add esp, 4
mov edx, dword [esi + 0x18]
mov edi, 5
cmp dword [edx*4 + 0x500c28], edi
je 0x480c78
mov ecx, dword [ebx + 4]
push esi
mov edx, str.AddDouble
call fcn.0047cfc0
add esp, 4
cmp byte [esi + 0x20], 0
je 0x480ca8
mov eax, dword [esi + 0x38]
fld qword [ebp + 0x10]
movzx ecx, byte [eax + 0x1c]
movzx edx, byte [esi + 0x18]
mov eax, dword [ebx + 0x18]
add eax, dword [esp + 0x38]
sub esp, 8
fstp qword [esp]
push ecx
push edx
mov edx, dword [esi + 0x14]
push eax
mov ecx, esi
call fcn.0048c9e0
jmp 0x480cd6
mov eax, esi
call fcn.00465530
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*4]
add esi, dword [esp + 0x38]
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
jne 0x480cc8
inc eax
push eax
call fcn.00483380
mov edx, dword [esi + 4]
fld qword [ebp + 0x10]
mov eax, dword [esi]
fstp qword [eax + edx*8]
inc dword [esi + 4]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004c9392
mov esp, ebp
pop ebp
ret 0x10
Function at 0x489050
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f23f8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
xor ebx, ebx
mov dword [esp + 0xc], ecx
add ecx, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x20], bx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x4000000
mov dword [esp + 0x30], 0x2000000
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x64
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call edx
test al, al
je 0x4890f7
mov ecx, esi
call fcn.00488f50
cmp al, bl
je 0x4890f7
cmp byte [esp + 0x20], bl
je 0x4890f7
mov bl, 1
lea ecx, [esp + 8]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00489fa0
mov al, bl
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x48
ret
Function at 0x48dbf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f2039
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
lea ebx, [esp + 0x54]
lea eax, [esp + 0xc]
mov ecx, ebp
mov dword [esp + 0x10], 0
call fcn.004902e0
mov ebp, dword [ebp + 4]
mov ebx, dword [esp + 0xc]
cmp ebx, ebp
jne 0x48dca5
xor eax, eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], str.p:p_agentshpam2.eem_recipes499894881_base_branchesgoopy2_release_branchgoogleclient_third_partyprotobuf_files_srcgoogleprotobufextension_set.cc
mov dword [esp + 0x1c], 0x27b
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
mov dword [esp + 0x48], eax
push 0x29
mov eax, str.CHECK_failed:_iter___extensions_.end__:
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 1
call fcn.00408960
push 0x25
mov eax, str.Index_out_of_bounds__field_is_empty_.
lea ecx, [esp + 0x24]
call fcn.00408960
lea ecx, [esp + 0x14]
call fcn.0047ca30
mov dword [esp + 0x48], 0xffffffff
test byte [esp + 0x10], 1
je 0x48dcc8
cmp dword [esp + 0x34], 0x10
jb 0x48dcc8
mov eax, dword [esp + 0x20]
push eax
call fcn.004c9387
add esp, 4
movzx ecx, byte [ebx + 0x20]
mov eax, dword [ecx*4 + 0x500b60]
dec eax
cmp eax, 9
ja case.default.0x48dcd9
jmp dword [eax*4 + 0x48dd74]
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov ebx, dword [eax + esi*8]
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
mov dword [eax + edi*8], ebx
mov ebx, dword [eax + esi*8 + 4]
mov dword [eax + edi*8 + 4], ebx
mov dword [eax + esi*8], ecx
mov dword [eax + esi*8 + 4], edx
jmp case.default.0x48dcd9
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
fld dword [eax + edi*4]
fstp dword [esp + 0xc]
fld dword [eax + esi*4]
fstp dword [eax + edi*4]
fld dword [esp + 0xc]
fstp dword [eax + esi*4]
jmp case.default.0x48dcd9
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
fld qword [eax + edi*8]
fld qword [eax + esi*8]
fstp qword [eax + edi*8]
fstp qword [eax + esi*8]
jmp case.default.0x48dcd9
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov dl, byte [eax + esi]
mov cl, byte [eax + edi]
mov byte [eax + edi], dl
mov byte [eax + esi], cl
jmp case.default.0x48dcd9
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov edx, dword [eax + esi*4]
mov ecx, dword [eax + edi*4]
mov dword [eax + edi*4], edx
mov dword [eax + esi*4], ecx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004c9392
add esp, 0x40
ret 8
Function at 0x491f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f5469
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 0x14], 0
mov ecx, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0xc]
push eax
call fcn.00467d40
mov esi, eax
test esi, esi
jne 0x491f81
xor al, al
jmp 0x492070
mov eax, dword [esi + 0x18]
mov byte [edi], al
cmp dword [esi + 0x1c], 3
sete cl
mov byte [edi + 1], cl
mov eax, dword [esi + 0x38]
mov al, byte [eax + 0x1c]
mov byte [edi + 2], al
mov dword [edi + 0xc], esi
mov edx, dword [esi + 0x18]
mov eax, dword [edx*4 + 0x500c28]
cmp eax, 0xa
jne 0x49205c
mov ebx, dword [ebx + 8]
mov eax, dword [esi + 0x2c]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov dword [edi + 4], eax
xor edi, edi
cmp eax, edi
jne 0x492037
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], str.p:p_agentshpam2.eem_recipes499894881_base_branchesgoopy2_release_branchgoogleclient_third_partyprotobuf_files_srcgoogleprotobufextension_set_heavy.cc
mov dword [esp + 0x20], 0xea
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
mov dword [esp + 0x50], edi
mov esi, dword [esi + 4]
push 0x31
mov eax, str.CHECK_failed:_output__message_prototype___NULL:
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 1
call fcn.00408960
push 0x40
mov eax, str.Extension_factorys_GetPrototype___returned_NULL_for_extension:
lea ecx, [esp + 0x28]
call fcn.00408960
push edi
push esi
or eax, 0xffffffff
lea esi, [esp + 0x2c]
call fcn.00408880
lea ecx, [esp + 0x18]
call fcn.0047ca30
mov dword [esp + 0x50], 0xffffffff
test byte [esp + 0x14], 1
je 0x49206e
cmp dword [esp + 0x38], 0x10
jb 0x49206e
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004c9387
add esp, 4
jmp 0x49206e
cmp eax, 8
jne 0x49206e
mov dword [edi + 4], 0x491ec0
mov edx, dword [esi + 0x30]
mov dword [edi + 8], edx
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004c9392
mov esp, ebp
pop ebp
ret 8
Function at 0x4a9ab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f3e40
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
cmp dword [edi + 0xc], eax
jle 0x4a9b64
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x20]
mov ebx, dword [eax + ecx*4]
push 0x12
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.0048b020
mov edx, dword [ebx]
mov eax, dword [edx + 0x2c]
mov ecx, ebx
call eax
mov ebx, eax
push ebx
mov ecx, esi
call fcn.0048b020
mov eax, dword [esi + 8]
cmp eax, ebx
jl 0x4a9b4a
mov edx, dword [esi + 4]
sub eax, ebx
lea ecx, [edx + ebx]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
test edx, edx
je 0x4a9b4a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x28]
jmp 0x4a9b54
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push esi
call edx
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [edi + 0xc]
jl 0x4a9afb
mov eax, dword [edi + 0x44]
shr eax, 1
test al, 1
je 0x4a9b7c
mov ecx, dword [edi + 0x18]
push 3
mov edx, esi
call fcn.004840f0
add esp, 4
mov ecx, dword [edi + 0x44]
shr ecx, 2
test cl, 1
je 0x4a9ba7
mov edx, dword [edi + 0x24]
mov ebx, dword [edi + 0x20]
push 0x20
mov ecx, esi
mov dword [esp + 0x1c], edx
call fcn.0048b020
mov eax, dword [esp + 0x18]
push eax
push ebx
mov ecx, esi
call fcn.0048b210
mov ecx, dword [edi + 0x44]
shr ecx, 3
test cl, 1
je 0x4a9bd2
mov edx, dword [edi + 0x2c]
mov ebx, dword [edi + 0x28]
push 0x28
mov ecx, esi
mov dword [esp + 0x1c], edx
call fcn.0048b020
mov eax, dword [esp + 0x18]
push eax
push ebx
mov ecx, esi
call fcn.0048b210
mov ecx, dword [edi + 0x44]
shr ecx, 4
mov ebx, 8
test cl, 1
je 0x4a9c33
fld qword [edi + 0x30]
push 0x31
mov ecx, esi
fstp qword [esp + 0x18]
call fcn.0048b020
fld qword [esp + 0x14]
cmp dword [esi + 8], ebx
fstp qword [esp + 0x14]
setae al
test al, al
je 0x4a9c09
mov ecx, dword [esi + 4]
jmp 0x4a9c0d
lea ecx, [esp + 0x20]
mov edx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
test al, al
je 0x4a9c27
add dword [esi + 4], ebx
add dword [esi + 8], 0xfffffff8
jmp 0x4a9c33
lea eax, [esp + 0x20]
push eax
mov eax, ebx
call fcn.0048aea0
mov ecx, dword [edi + 0x44]
shr ecx, 5
test cl, 1
je 0x4a9c4d
mov ecx, dword [edi + 0x38]
push 7
mov edx, esi
call fcn.00484210
add esp, 4
mov edx, dword [edi + 0x44]
shr edx, 6
test dl, 1
je 0x4a9c66
mov ecx, dword [edi + 0x3c]
push ebx
mov edx, esi
call fcn.004840f0
add esp, 4
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
je 0x4a9c81
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x4a9c81
push esi
push edi
call fcn.00484b20
add esp, 8
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004c9392
mov esp, ebp
pop ebp
ret 4
Function at 0x4ae9d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e9f98
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00406140
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ebx
lea ebx, [esp + 0x10]
mov ecx, esi
call fcn.004af3f0
push eax
lea edx, [esp + 0xc]
push edx
push esi
call fcn.004aef20
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x4aea66
mov eax, dword [esp + 0x10]
push eax
call fcn.004c9387
add esp, 4
mov al, byte [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004c9392
add esp, 0x40
ret

Function at 0x4b0a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f0109
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
mov byte [esi], al
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x54]
push esi
mov dword [esp + 0x30], 1
call fcn.004b0b20
add esp, 0x28
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4c27b0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
cmp dword [esi + 0x4090], 0
je 0x4c285f
cmp dword [esi + 0x6c], 0
jbe 0x4c285f
push ebx
push ebp
mov ebp, 0xffffff78
push edi
lea edi, [esi + 0x88]
sub ebp, esi
jmp 0x4c27e0
movzx ecx, byte [edi]
mov eax, dword [esi + 0x4094]
mov ebx, dword [esi + 0x40a0]
xor ecx, eax
mov edx, dword [esi + 0x409c]
shr eax, 8
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
xor ecx, eax
movzx eax, cl
add eax, dword [esi + 0x4098]
mov dword [esi + 0x4094], ecx
mov ecx, dword [esi + 0x409c]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x4098], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
and edx, 0xfffd
shr ecx, 8
xor ecx, dword [ebx + eax*4]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
mov dword [esi + 0x409c], ecx
shr eax, 8
xor byte [edi], al
inc edi
lea ecx, [edi + ebp]
cmp ecx, dword [esi + 0x6c]
jb 0x4c27e0
pop edi
pop ebp
pop ebx
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x20]
push edx
mov edx, dword [esi + 0x1c]
lea eax, [esi + 0x88]
push eax
mov eax, dword [esi + 8]
push ecx
push edx
call eax
add esp, 0x10
cmp eax, dword [esi + 0x6c]
mov dword [esi + 0x6c], 0
je 0x4c288a
or eax, 0xffffffff
ret
xor eax, eax
ret

Function at 0x4c9392
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x52a6ec]
jne 0x4c939c
repz ret
jmp fcn.004cf8aa

Function at 0x4ccb86
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4ccbad
call fcn.004cb74f
mov dword [eax], esi
call fcn.004cb73c
push 0x16
pop esi
mov dword [eax], esi
call fcn.004c957c
mov eax, esi
jmp 0x4ccc02
test dword [ebp + 0xc], 0xfffffff9
jne 0x4ccb93
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4ccbda
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004cb762
pop ecx
call fcn.004cb73c
mov eax, dword [eax]
jmp 0x4ccc02
test al, 0x10
jne 0x4ccc00
test al, 1
je 0x4ccc00
test byte [ebp + 0xc], 2
je 0x4ccc00
call fcn.004cb74f
mov dword [eax], 5
call fcn.004cb73c
mov dword [eax], 0xd
jmp 0x4ccbd1
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4ddd22
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x52a6ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004d24a8
and dword [ebp - 0x14], 0
cmp dword [0x52fd5c], 0
mov dword [ebp - 0x18], eax
jne 0x4dddd5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4dde7d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4fc74c
push ebx
call edi
test eax, eax
je 0x4dde7d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4fc73c
push ebx
mov dword [0x52fd5c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x52fd60], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x52fd64], eax
call edi
push eax
call esi
mov dword [0x52fd6c], eax
test eax, eax
je 0x4dddd5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x52fd68], eax
mov eax, dword [0x52fd68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4dde2e
cmp dword [0x52fd6c], ecx
je 0x4dde2e
push eax
call esi
push dword [0x52fd6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4dde2e
test ebx, ebx
je 0x4dde2e
call edi
test eax, eax
je 0x4dde25
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4dde25
test byte [ebp - 8], 1
jne 0x4dde2e
or dword [ebp + 0x10], 0x200000
jmp 0x4dde61
mov eax, dword [0x52fd60]
cmp eax, dword [ebp - 0x18]
je 0x4dde61
push eax
call esi
test eax, eax
je 0x4dde61
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4dde61
mov eax, dword [0x52fd64]
cmp eax, dword [ebp - 0x18]
je 0x4dde61
push eax
call esi
test eax, eax
je 0x4dde61
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x52fd5c]
call esi
test eax, eax
je 0x4dde7d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4dde7f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c9392
leave
ret