joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482810
Capabilities:
Get process heap force flags
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5d61b8
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
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], 1
push eax
mov dword [esp + 0x18], 3
mov dword [esp + 0x20], 0x5dbb44
call fcn.0054a1d0
mov ebp, eax
add esp, 4
mov dword [esp + 0x20], ebp
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x38]
push ecx
mov byte [esp + 0x34], 2
sub esp, 0x10
mov byte [ebp], 0
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00448b00
mov ecx, esi
call fcn.00482440
mov esi, dword [esp + 0x4c]
mov eax, 0x5da40c
test esi, esi
je 0x482895
mov eax, esi
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x14]
push ecx
push ebp
push edx
push 0
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jne 0x482901
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x58]
push 1
not ecx
dec ecx
mov ebx, ecx
mov ecx, edi
push ebx
call fcn.00402980
test al, al
je 0x4828fd
mov edi, dword [edi + 4]
mov ecx, ebx
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x58]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x4c]
mov dword [eax + 8], ebx
mov eax, dword [eax + 4]
mov byte [ebx + eax], 0
mov edi, dword [esp + 0x10]
xor ebx, ebx
cmp ebp, ebx
je 0x482910
push ebp
call fcn.0054a2d0
add esp, 4
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x482934
mov al, byte [ecx - 1]
test al, al
je 0x48292a
cmp al, 0xff
je 0x48292a
dec al
mov byte [ecx - 1], al
jmp 0x482934
dec ecx
push ecx
call fcn.0054a2d0
add esp, 4
cmp esi, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
je 0x482960
mov al, byte [esi - 1]
test al, al
je 0x482956
cmp al, 0xff
je 0x482956
dec al
mov byte [esi - 1], al
jmp 0x482960
dec esi
push esi
call fcn.0054a2d0
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x28
Function at 0x482a70
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5d6200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
mov eax, 4
lea edx, [esp + 0x24]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], 1
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00448b00
mov ecx, esi
call fcn.00482440
mov esi, dword [esp + 0x38]
mov eax, 0x5da40c
test esi, esi
je 0x482acf
mov eax, esi
mov edx, dword [esp + 0x44]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x28]
mov edi, eax
test ecx, ecx
je 0x482b12
mov al, byte [ecx - 1]
test al, al
je 0x482b08
cmp al, 0xff
je 0x482b08
dec al
mov byte [ecx - 1], al
jmp 0x482b12
dec ecx
push ecx
call fcn.0054a2d0
add esp, 4
test esi, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
je 0x482b4a
mov al, byte [esi - 1]
test al, al
je 0x482b40
cmp al, 0xff
je 0x482b40
dec al
mov byte [esi - 1], al
jmp 0x482b4a
dec esi
push esi
call fcn.0054a2d0
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 0x24
Function at 0x483150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d6248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebp
push esi
xor ebp, ebp
push edi
mov edi, ecx
mov dword [esp + 0xc], 0x1188
mov dword [esp + 0x14], 0xa53cc0
mov dword [esp + 0x10], 0x5db618
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov ecx, dword [0x5f32f0]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x14]
mov eax, dword [ecx]
push edx
mov dword [esp + 0x48], ebp
call dword [eax]
mov eax, dword [esp + 0xc]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
lea esi, [eax + eax*8 + 4]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x20]
push esi
mov byte [esp + 0x44], 1
mov dword [esp + 0x24], 0x5daf40
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
call fcn.0054a1d0
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], esi
mov ecx, dword [0x5f301c]
push eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x44], 2
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [edx]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov edx, dword [edi]
push esi
push eax
push ecx
mov ecx, edi
call dword [edx + 4]
mov esi, eax
mov eax, dword [esp + 0x30]
cmp eax, ebp
mov dword [esp + 0x20], 0x5daf40
je 0x483260
lea edx, [esp + 0x20]
cmp eax, edx
jne 0x483246
mov eax, dword [esp + 0x24]
push eax
call fcn.0054a2d0
add esp, 4
jmp 0x483258
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [eax + 0x10], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ebp
cmp eax, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], 0x5daf3c
mov dword [esp + 0x10], 0x5db618
je 0x4832a9
lea ecx, [esp + 0x10]
cmp eax, ecx
jne 0x483297
mov edx, dword [esp + 0x14]
push edx
call fcn.0054a2d0
add esp, 4
jmp 0x4832a9
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x38]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x48c1b0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d76d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 1
mov dword [esp + 0x18], edi
call fcn.0045cf80
lea esi, [edi + 0x18]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x54], ebx
mov dword [edi + 0x14], ebx
mov dword [esp + 0x18], esi
call fcn.00549520
mov dword [esi], fcn.005498b0
lea ecx, [esi + 0x5c]
mov byte [esp + 0x54], 1
call fcn.0044c710
mov dword [esi], fcn.005498b0
mov byte [esi + 0x6c], bl
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
mov al, byte [esp + 0x12]
lea ecx, [esi + 0x7c]
push ebx
mov byte [esp + 0x58], 2
mov byte [ecx], al
call fcn.00402850
mov dword [esi], 0x5da45c
lea eax, [edi + 0xa4]
mov dword [esp + 0x18], eax
lea ebp, [eax + 4]
mov dword [ebp + 4], ebx
mov dword [ebp], 0x5da9f0
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
mov dword [eax], 0x5da8b4
mov ecx, dword [0x5f33d4]
lea eax, [esp + 0x1c]
mov byte [esp + 0x54], 5
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push eax
mov ecx, ebp
mov byte [esp + 0x58], 6
call fcn.004433f0
mov dword [esp + 0x1c], 0x5da9f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 7
call fcn.00443050
mov dword [esp + 0x1c], 0x5da448
lea ecx, [esp + 0x12]
mov byte [esp + 0x54], 8
push ecx
push str.tutorial_popup.txt
lea ecx, [esp + 0x44]
mov dword [edi], 0x5dbda4
mov dword [edi + 0xc], 0x701
call fcn.0040e960
mov ebp, eax
lea edx, [esp + 0x13]
lea ecx, [esp + 0x2c]
push edx
push str.Mege_y_
mov byte [esp + 0x5c], 9
call fcn.0040e960
mov byte [esp + 0x54], 0xa
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push ebp
push eax
push ecx
call fcn.0040eed0
mov edx, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [edx]
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 9
call fcn.00402850
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x48c325
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48c31c
cmp al, 0xff
je 0x48c31c
dec al
mov byte [ecx], al
jmp 0x48c325
push ecx
call fcn.0054a2d0
add esp, 4
mov ecx, dword [esp + 0x4c]
mov byte [edi + 0x10], bl
mov byte [edi + 0x11], bl
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret
Function at 0x48c3a0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d76f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov al, byte [esp + 0x30]
mov edx, dword [esp + 0x24]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x24]
push edi
mov byte [esi + 0x11], al
mov eax, dword [esp + 0x34]
lea edi, [esi + 0x18]
mov byte [esi + 0x10], 1
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], edx
mov dword [esi + 0xc0], eax
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x38], 0
lea eax, [esp + 0x38]
mov edx, dword [ecx]
push eax
call dword [edx]
mov eax, dword [esp + 0x38]
mov edx, dword [edi]
push 0xffffffffffffffff
push eax
mov ecx, edi
call dword [edx + 8]
mov eax, dword [edi + 0x28]
mov ecx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0
mov edi, dword [edi + 0x60]
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + edx*8 + 4]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x2c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x38]
lea eax, [esp + 8]
push eax
call fcn.0041af00
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], 0
push ecx
mov ecx, dword [esp + 0x10]
call fcn.00563110
mov edi, dword [esp + 0xc]
push 1
call fcn.0040f650
add esp, 4
mov dword [edi + 0x1c], eax
mov ecx, dword [esp + 0xc]
push 0x18
call fcn.005630f0
mov edx, dword [esp + 0xc]
add esi, 0xa4
mov dword [edx + 0x24], 0x80808
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
add eax, 0xffffffc0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc]
mov dword [esp + 8], 0x5da904
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
mov dword [esp + 0x1c], 1
pop esi
je 0x48c4f6
lea ecx, [esp]
cmp eax, ecx
jne 0x48c4e4
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x48c4f6
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14
Function at 0x48d320
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5d777d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0xb
mov dword [esp + 0x18], esi
call fcn.0045cf80
lea edi, [esi + 0x20]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x18], edi
call fcn.00417f80
lea ecx, [edi + 0x5c]
mov byte [esp + 0x44], 1
call fcn.0044c710
mov dword [edi], fcn.005498b0
mov byte [edi + 0x6c], bl
mov dword [edi + 0x78], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x70], ebx
mov al, byte [esp + 0x12]
lea ecx, [edi + 0x7c]
push ebx
mov byte [esp + 0x48], 2
mov byte [ecx], al
call fcn.00402850
mov dword [edi], 0x5da45c
push ebx
lea ecx, [esi + 0xac]
mov byte [esp + 0x48], 3
call fcn.0048cae0
lea ecx, [esi + 0x160]
mov byte [esp + 0x44], 4
call fcn.0048c1b0
lea ecx, [esi + 0x224]
mov byte [esp + 0x44], 5
call fcn.0048d0d0
mov byte [esp + 0x44], 6
mov dword [esi], 0x5dbdd4
mov dword [esi + 0x14], ebx
call fcn.00449df0
cmp word [eax], 0x100
jne 0x48d3f4
call fcn.00449df0
xor ecx, ecx
mov cx, word [eax + 2]
push ecx
mov ecx, esi
call fcn.0048d6a0
lea edx, [esp + 0x12]
lea ecx, [esp + 0x2c]
push edx
push str.tutorial_back.txt
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.0040e960
mov ebp, eax
lea eax, [esp + 0x13]
mov bl, 7
push eax
push str.Mege_y_
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], bl
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x54], 8
mov ecx, esp
mov dword [esp + 0x28], esp
push ebp
push eax
push ecx
call fcn.0040eed0
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [edx]
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], bl
call fcn.00402850
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 6
call fcn.00402850
mov ecx, dword [esp + 0x3c]
mov eax, 4
mov dword [esi + 0xc], 0xffffff00
mov dword [esi + 0x168], eax
mov dword [esi + 0xb4], eax
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret
Function at 0x493fb0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [0x5f3484], eax
mov eax, dword [esp + 0x10]
mov dword [0x5f3480], ecx
mov dword [0x5f347c], edx
mov dword [0x5f3478], eax
jmp 0x541400
push 0xffffffffffffffff
push 0x5d85db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
lea eax, [esp + 0x1c]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov cl, byte [esp + 0xf]
lea edi, [esp + 0x20]
mov byte [esp + 0x10], cl
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00402980
test al, al
je 0x541489
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
push esi
lea esi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
pop esi
mov byte [eax + ebp], bl
lea ecx, [esp + 0x10]
mov dword [esp + 0x12c], ebx
push ecx
call fcn.005414e0
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, ebx
je 0x5414c2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5414b9
cmp al, 0xff
je 0x5414b9
dec al
mov byte [ecx], al
jmp 0x5414c2
push ecx
call fcn.0054a2d0
add esp, 4
mov ecx, dword [esp + 0x124]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret

Function at 0x4a6fd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d81a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0x10
call fcn.0054a1d0
lea ecx, [esp + 8]
lea edx, [esp + 8]
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5dc6c8
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_SetRect]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x40], esp
mov dword [eax], 0x5dc6c8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4a7066
lea ecx, [esp + 0x14]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x20]
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x20]
mov dword [ecx + 8], eax
mov dword [esp + 0x20], eax
jmp 0x4a7074
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x3c]
mov dword [eax + 4], edx
call fcn.004a7a90
mov eax, dword [esp + 0xc]
mov dword [esp + 4], 0x5dc6c8
test eax, eax
je 0x4a70cc
lea ecx, [esp + 4]
cmp eax, ecx
jne 0x4a70ba
mov edx, dword [esp + 8]
push edx
call fcn.0054a2d0
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret 0x10
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x4a9cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d83b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], esi
mov al, byte [esp + 0xb]
xor ebx, ebx
mov byte [esi + 0xc], bl
mov byte [esi + 0x28], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov byte [esi + 0x44], al
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov byte [esp + 0x24], 1
mov dword [esi], 0x5dc6ec
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.004aa4a0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, 0x5f6d78
mov byte [esi + 0x68], 1
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov byte [esi + 0x78], bl
mov byte [esi + 0x79], bl
mov byte [esi + 0x7b], bl
mov byte [esi + 0x7c], bl
mov byte [esi + 0x30], bl
mov byte [esi + 0x7d], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esp + 0x14], esi
call fcn.004ac3a0
mov ecx, dword [esp + 0x1c]
mov byte [esi + 0x7a], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4abe30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x5c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xd8]
call fcn.00494470
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x4abe63
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x6c
ret 0xc
call fcn.00494470
mov ecx, eax
call fcn.004a8d40
mov ebp, dword [esp + 0x80]
test al, al
jne 0x4abe7e
mov byte [ebp], 0
mov ecx, 0x1b
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov al, byte [ebp]
mov dword [esp + 0x10], 0x6c
test al, al
je 0x4abeb4
mov dword [esp + 0x14], 0x21
mov dword [esp + 0x78], 0x218
mov dword [esp + 0x24], 1
jmp 0x4abec4
mov dword [esp + 0x14], 1
mov dword [esp + 0x78], 0x200
mov ecx, dword [ebx]
lea eax, [esi + 4]
push 0
lea edx, [esp + 0x14]
push eax
push edx
push ebx
call dword [ecx + 0x18]
test eax, eax
je 0x4abeee
cmp byte [ebp], 0
jne 0x4abe7a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x6c
ret 0xc
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x4abf0c
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4abf0c
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], eax
jmp 0x4abf20
lea eax, [esi + 0x40]
lea ecx, [esi + 0x3c]
push eax
push ecx
call fcn.00494470
mov ecx, eax
call fcn.004a8d20
mov ecx, esi
call fcn.004ac000
cmp dword [esi + 0x74], 2
jne 0x4abf31
mov byte [esi + 0x7c], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret 0xc
Function at 0x5411b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp + 0x104]
push esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x5411db
mov eax, 2
pop esi
add esp, 0x208
ret
lea ecx, [esp + 4]
xor esi, esi
push ecx
push esi
lea edx, [esp + 0x110]
push 0x5eca44
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x541207
mov eax, 2
pop esi
add esp, 0x208
ret
push ebx
push ebp
push edi
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x541224
call fcn.005c1ad6
mov ebp, dword [esp + 0x21c]
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x54125c
mov al, byte [ecx - 1]
test al, al
je 0x54125c
cmp al, 0xff
je 0x54125c
cmp ebx, esi
jne 0x54128b
dec al
pop edi
mov byte [ecx - 1], al
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x208
ret
cmp ebx, esi
jne 0x541276
push 1
mov ecx, ebp
call fcn.00402850
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x208
ret
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x541282
cmp eax, ebx
jae 0x541293
push 1
mov ecx, ebp
call fcn.00402850
push ebx
mov ecx, ebp
call fcn.00402aa0
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], ebx
pop edi
pop ebp
mov byte [ecx + ebx], 0
pop ebx
pop esi
add esp, 0x208
ret
Function at 0x5412d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5d85bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x5f6db8]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jne 0x5413bb
push ebp
lea eax, [esp + 0x24]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov cl, byte [esp + 0x13]
lea edi, [esp + 0x28]
mov byte [esp + 0x14], cl
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ebx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00402980
test al, al
je 0x541369
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x14]
mov dword [esp + 0x134], ebx
push ecx
call fcn.005414e0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x134], 0xffffffff
pop edi
pop ebp
je 0x5413af
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5413a6
cmp al, 0xff
je 0x5413a6
dec al
mov byte [ecx], al
jmp 0x5413af
push ecx
call fcn.0054a2d0
add esp, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x134]
mov dl, byte [0x5f6db0]
mov ecx, esi
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x5da354]
push eax
push ebx
push 0x5f6db0
call fcn.00403f40
mov ecx, dword [esp + 0x124]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret