joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x109301c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
push 0x3fc
lea eax, [ebp - 0x400]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x404], edi
call fcn.00409340
add esp, 0xc
xor ecx, ecx
xor edx, edx
mov eax, ecx
div ebx
mov byte [esi + ecx], cl
inc ecx
movzx edx, byte [edx + 0x1091184]
mov dword [ebp + ecx*4 - 0x408], edx
cmp ecx, 0x100
jl 0x401036
xor eax, eax
jmp 0x401060
mov cl, byte [esi + eax]
mov ebx, dword [ebp + eax*4 - 0x404]
movzx edx, cl
add ebx, edx
add edi, ebx
and edi, 0x800000ff
jns 0x401081
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [esi + edi]
mov byte [esi + eax], dl
inc eax
mov byte [esi + edi], cl
cmp eax, 0x100
jl 0x401060
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004054ef
mov esp, ebp
pop ebp
ret

Function at 0x4014c0
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x109301c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
mov edx, dword [eax + ebx + 0x24]
mov ecx, dword [eax + ebx + 0x20]
add eax, ebx
add edx, ebx
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0x1c]
add ecx, ebx
add edx, ebx
cmp dword [eax + 0x18], 0
push esi
push edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], 0
ja 0x401523
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004054ef
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx + edx*4]
add eax, ebx
mov ecx, eax
mov dword [ebp - 0xc], 0xf
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x20], 0
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x401542
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0x20]
call fcn.00403c60
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
xor eax, eax
mov esi, 0x811c9dc5
test edx, edx
je 0x401582
mov ecx, dword [ebp - 0x20]
cmp edi, 0x10
jae 0x401571
lea ecx, [ebp - 0x20]
movzx ecx, byte [ecx + eax]
xor esi, ecx
inc eax
imul esi, esi, 0x1000193
cmp eax, edx
jb 0x401566
cmp edi, 0x10
jb 0x401593
mov edx, dword [ebp - 0x20]
push edx
call fcn.00405647
add esp, 4
mov eax, dword [ebp - 0x24]
cmp esi, dword [ebp + 8]
je 0x4015bf
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [ecx + 0x18]
jb 0x401520
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004054ef
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x30]
movzx ecx, word [edx + eax*2]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
add eax, ebx
pop esi
call fcn.004054ef
mov esp, ebp
pop ebp
ret 4
Function at 0x4015e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x108e988
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x109301c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1091070
call dword [0x108f014]
xor ebx, ebx
mov dword [ebp - 0x4c], eax
cmp eax, ebx
je 0x401768
push 0xc
lea ecx, [ebp - 0x5c]
push ecx
push eax
call dword [0x108f004]
push eax
call dword [0x108f10c]
test eax, eax
je 0x401768
lea edi, [ebx + 0xc]
mov eax, 0x1091070
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00403c60
mov edx, esi
mov dword [ebp - 4], ebx
push edx
lea ebx, [ebp - 0x2c]
call fcn.00401300
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x401680
mov eax, dword [ebp - 0x48]
push eax
call fcn.00405647
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x40168b
lea eax, [ebp - 0x2c]
push 1
push 0
push eax
call dword [0x108f018]
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x4016a5
cmp dword [ebp - 0x18], esi
jmp 0x40175a
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax + 0x3c]
add esi, eax
movzx eax, word [esi + 6]
xor edx, edx
xor ebx, ebx
cmp dx, ax
jae 0x40174c
mov edi, edi
movzx eax, bx
lea ecx, [eax + eax*4]
movzx eax, word [esi + 0x14]
lea edx, [eax + ecx*8]
lea edi, [edx + esi + 0x18]
mov ecx, 0x1091068
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4016f8
test dl, dl
je 0x4016f4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4016f8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4016d8
xor eax, eax
jmp 0x4016fd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40170d
movzx eax, word [esi + 6]
inc ebx
cmp bx, ax
jb 0x4016c0
jmp 0x40174c
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 8]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
lea edi, [eax + ecx]
lea ebx, [eax + edx]
lea eax, [ebp - 0x4c]
push eax
push 0x40
push esi
push edi
call dword [0x108f01c]
test eax, eax
je 0x40174c
push esi
push ebx
push edi
call fcn.00408530
mov edx, dword [ebp - 0x4c]
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
push edx
push esi
push edi
call dword [0x108f01c]
mov eax, dword [ebp - 0x50]
push eax
call dword [0x108f020]
cmp dword [ebp - 0x18], 0x10
jb 0x401768
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00405647
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004054ef
mov esp, ebp
pop ebp
ret

Function at 0x4018c0
Capabilities:
Hash data using fnv

Disassembly:
push esi
mov esi, dword [edi + 0x10]
xor ecx, ecx
mov eax, 0x811c9dc5
test esi, esi
je 0x4018f0
push ebx
mov ebx, dword [edi + 0x14]
cmp ebx, 0x10
jb 0x4018dc
mov edx, dword [edi]
jmp 0x4018de
mov edx, edi
movzx edx, byte [edx + ecx]
xor eax, edx
inc ecx
imul eax, eax, 0x1000193
cmp ecx, esi
jb 0x4018d3
pop ebx
pop esi
ret
Function at 0x401a00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x108e956
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x109301c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x206
mov dword [ebp - 0x258], eax
xor ebx, ebx
lea eax, [ebp - 0x21a]
xor edx, edx
push ebx
push eax
mov dword [ebp - 0x25c], ecx
mov word [ebp - 0x21c], dx
call fcn.00409340
add esp, 0xc
lea edi, [ebx + 0x12]
mov eax, 0x1091080
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
call fcn.00403c60
mov dword [ebp - 4], ebx
lea edi, [ebx + 0xc]
mov eax, 0x1091070
lea esi, [ebp - 0x254]
mov dword [ebp - 0x240], 0xf
mov dword [ebp - 0x244], ebx
mov byte [ebp - 0x254], bl
call fcn.00403c60
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x228]
xor eax, eax
mov ecx, 0x811c9dc5
cmp esi, ebx
jbe 0x401af2
mov edi, dword [ebp - 0x224]
lea ecx, [ecx]
mov edx, dword [ebp - 0x238]
cmp edi, 0x10
jae 0x401ae1
lea edx, [ebp - 0x238]
movzx edx, byte [edx + eax]
xor ecx, edx
inc eax
imul ecx, ecx, 0x1000193
cmp eax, esi
jb 0x401ad0
push 0x104
lea eax, [ebp - 0x21c]
push eax
push ebx
push ecx
lea eax, [ebp - 0x254]
call fcn.00401820
call eax
mov esi, 0x10
mov edi, eax
cmp dword [ebp - 0x240], esi
jb 0x401b2b
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00405647
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x240], 0xf
mov dword [ebp - 0x244], ebx
mov byte [ebp - 0x254], bl
cmp dword [ebp - 0x224], esi
jb 0x401b5f
mov edx, dword [ebp - 0x238]
push edx
call fcn.00405647
add esp, 4
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
cmp edi, ebx
jbe 0x401b8d
mov eax, 0x5c
mov edi, edi
cmp word [ebp + edi*2 - 0x21c], ax
je 0x401b8d
dec edi
jne 0x401b80
xor eax, eax
mov word [ebp + edi*2 - 0x21c], ax
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401ba0
mov esi, dword [ebp - 0x258]
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
call fcn.00403e60
call fcn.00403530
lea eax, [ebp + edi*2 - 0x21a]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x401bd2
sub ecx, esi
mov esi, dword [ebp - 0x25c]
sar ecx, 1
push ecx
call fcn.00403e60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004054ef
mov esp, ebp
pop ebp
ret
Function at 0x402a50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x108e906
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x109301c]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x109301c]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
push 0x33830
call fcn.00405a92
mov esi, eax
xor ebx, ebx
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
je 0x402be9
push 0x33830
push ebx
push esi
call fcn.00409340
push 0x33830
push 0x1093bb0
push esi
call fcn.00408530
add esp, 0x18
lea ecx, [ebx + 0x10]
lea esi, [esp + 0x4c]
call section..text
lea edi, [ebx + 0xc]
mov eax, 0x1091198
lea esi, [esp + 0x14]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.00403c60
mov dword [esp + 0x160], ebx
mov eax, 0x1091070
lea esi, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00403c60
mov byte [esp + 0x160], 1
mov esi, dword [esp + 0x24]
xor eax, eax
mov ecx, 0x811c9dc5
cmp esi, ebx
jbe 0x402b5e
mov edi, dword [esp + 0x28]
lea esp, [esp]
mov edx, dword [esp + 0x14]
cmp edi, 0x10
jae 0x402b4d
lea edx, [esp + 0x14]
movzx edx, byte [edx + eax]
xor ecx, edx
inc eax
imul ecx, ecx, 0x1000193
cmp eax, esi
jb 0x402b40
push 0x40
push 0x1000
push 0x33830
push ebx
push ecx
lea eax, [esp + 0x44]
call fcn.00401820
call eax
cmp dword [esp + 0x44], 0x10
mov esi, eax
jb 0x402b8d
mov eax, dword [esp + 0x30]
push eax
call fcn.00405647
add esp, 4
mov edi, 0xf
mov dword [esp + 0x160], 0xffffffff
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x402bbd
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00405647
add esp, 4
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x10]
mov ecx, edi
lea eax, [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.004010b0
push 0x33830
push edi
push esi
call fcn.00408530
add esp, 0xc
call esi
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.004054ef
mov esp, ebp
pop ebp
ret
Function at 0x402c20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x108e8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x109301c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea edi, [ebx + 0xc]
mov eax, 0x10911a8
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00403c60
mov dword [ebp - 4], ebx
mov eax, 0x1091070
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00403c60
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
xor eax, eax
mov ecx, 0x811c9dc5
cmp esi, ebx
jbe 0x402cbc
mov edi, dword [ebp - 0x18]
lea esp, [esp]
mov edx, dword [ebp - 0x2c]
cmp edi, 0x10
jae 0x402cab
lea edx, [ebp - 0x2c]
movzx edx, byte [edx + eax]
xor ecx, edx
inc eax
imul ecx, ecx, 0x1000193
cmp eax, esi
jb 0x402ca0
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
push 0x1082c10
push ebx
push ebx
push ecx
lea eax, [ebp - 0x48]
call fcn.00401820
call eax
cmp dword [ebp - 0x34], 0x10
mov esi, eax
jb 0x402ce8
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00405647
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov edi, 0xf
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jb 0x402d08
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00405647
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp esi, ebx
je 0x402d2f
push 0xea60
push esi
call dword [0x108f030]
cmp eax, 0x102
jne 0x402d4b
push esi
call dword [0x108f010]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004054ef
mov esp, ebp
pop ebp
ret
cmp eax, ebx
jne 0x402d5e
mov esi, dword [0x108f02c]
push 0x3e8
call esi
jmp 0x402d55
call dword [0x108f034]
mov esi, dword [0x108f02c]
lea ebx, [ebx]
push 0x3e8
call esi
jmp 0x402d70

Function at 0x404090
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebx + 0x10]
mov eax, 0xcccccccd
mul edi
shr edx, 3
xor ecx, ecx
inc edx
mov esi, 0x811c9dc5
test edi, edi
je 0x4040ce
mov edi, edi
cmp dword [ebx + 0x14], 0x10
jb 0x4040ba
mov eax, dword [ebx]
jmp 0x4040bc
mov eax, ebx
movsx eax, byte [eax + ecx]
imul esi, esi, 0x1000193
add ecx, edx
xor esi, eax
cmp ecx, edi
jb 0x4040b0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x20]
mov eax, ecx
and eax, esi
pop edi
pop esi
cmp dword [edx + 0x24], eax
ja 0x4040e8
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
pop ebp
ret 4
Function at 0x40a91b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41db90]
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.00405b46
and dword [ebp - 0x14], 0
cmp dword [0x44c000], 0
mov dword [ebp - 0x18], eax
jne 0x40a9ce
push 0x40247c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40aa76
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402470
push ebx
call edi
test eax, eax
je 0x40aa76
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402460
push ebx
mov dword [0x44c000], eax
call edi
push eax
call esi
push 0x40244c
push ebx
mov dword [0x44c004], eax
call edi
push eax
call esi
push 0x402430
push ebx
mov dword [0x44c008], eax
call edi
push eax
call esi
mov dword [0x44c010], eax
test eax, eax
je 0x40a9ce
push 0x402418
push ebx
call edi
push eax
call esi
mov dword [0x44c00c], eax
mov eax, dword [0x44c00c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40aa27
cmp dword [0x44c010], ecx
je 0x40aa27
push eax
call esi
push dword [0x44c010]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40aa27
test ebx, ebx
je 0x40aa27
call edi
test eax, eax
je 0x40aa1e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aa1e
test byte [ebp - 8], 1
jne 0x40aa27
or dword [ebp + 0x10], 0x200000
jmp 0x40aa5a
mov eax, dword [0x44c004]
cmp eax, dword [ebp - 0x18]
je 0x40aa5a
push eax
call esi
test eax, eax
je 0x40aa5a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40aa5a
mov eax, dword [0x44c008]
cmp eax, dword [ebp - 0x18]
je 0x40aa5a
push eax
call esi
test eax, eax
je 0x40aa5a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44c000]
call esi
test eax, eax
je 0x40aa76
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40aa78
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ac95
leave
ret

Function at 0x40ac95
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41db90]
jne 0x40ac9f
repz ret
jmp fcn.00413cb4
Function at 0x41b060
Capabilities:
Delete file
Get uefi variable

Disassembly:
sub esp, 0xc18
cmp dword [0x2b75b64], 0x37
jne 0x41b0c8
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableA]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
lea eax, [esp + 0x41c]
push eax
push 0x4035d8
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov ecx, dword [0x2b75f78]
mov eax, dword [0x2b75648]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0xc18
ret
Function at 0x401160
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
push 0
push edi
push 0
push 0
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x12c
push 0x1f4
push 0
push 0x80000000
push 0xca0000
push 0x429fb8
push 0x429e88
push 0
mov dword [0x429fb4], edi
call ebx
mov esi, eax
test esi, esi
jne 0x4011aa
pop edi
pop esi
pop ebx
pop ecx
ret
push ebp
push 0
push edi
push 0
push esi
push 0x64
push 0x1d6
push 0x4b
push 0xa
push 0x50200040
push 0
push str.LISTBOX
push 0x200
call ebx
push 0
push edi
push 0x442
push esi
push 0
push 0
push 0
push 0
push 0x50010001
push str.Re_scan
push str.BUTTON
push 0
mov dword [0x429e80], eax
call ebx
push 0
push edi
push 0x443
push esi
push 0
push 0
push 0
push 0
push 0x50010001
push str.Add_Install
push str.BUTTON
push 0
mov ebp, eax
call ebx
push 0
push edi
push 0x445
push esi
push 0
push 0
push 0
push 0
push 0x50010001
push str.Patch_All
push str.BUTTON
push 0
mov dword [esp + 0x48], eax
call ebx
push 0
push edi
push 0x444
push esi
push 0
push 0
push 0
push 0
push 0x50010001
push str.Patch_Selected
push str.BUTTON
push 0
mov dword [esp + 0x40], eax
call ebx
push str.Tahoma
push 0
push 0
push 0
push 4
push 0
push 0
push 0
push 0
mov ebx, eax
push 0
push 0
push 0
push 0
push 0x10
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push eax
push 0x30
push esi
mov dword [0x429e84], eax
call edi
mov eax, dword [0x429e84]
mov ecx, dword [0x429e80]
push 1
push eax
push 0x30
push ecx
call edi
mov edx, dword [0x429e84]
push 1
push edx
push 0x30
push ebp
call edi
mov eax, dword [0x429e84]
mov ecx, dword [esp + 0x18]
push 1
push eax
push 0x30
push ecx
call edi
mov edx, dword [0x429e84]
mov eax, dword [esp + 0x10]
push 1
push edx
push 0x30
push eax
call edi
mov ecx, dword [0x429e84]
push 1
push ecx
push 0x30
push ebx
call edi
push str.aim6.exe
call fcn.0041b040
push str.aim.exe
call fcn.0041b040
add esp, 8
push 0
push str.Notice
push str.Make_sure_AIM_is_completely_closed__even_on_the_tray_
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.004015a0
mov edx, dword [esp + 0x20]
add esp, 4
push edx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x402490
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x42518b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
lea ebx, [ecx + 4]
push ebp
push esi
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 4]
push edi
cmp esi, esi
mov dword [esp + 0x10], ecx
mov edi, esi
je 0x4024d8
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebp
call fcn.00401d30
add edi, 0x10
add ebp, 0x10
cmp edi, esi
jne 0x4024c2
mov edi, dword [ebx + 8]
mov esi, ebp
cmp ebp, edi
je 0x4024f1
push 1
mov ecx, esi
call fcn.00401f30
add esi, 0x10
cmp esi, edi
jne 0x4024e1
mov eax, dword [esp + 0x10]
xor esi, esi
mov edi, 0x42a100
mov dword [ebx + 8], ebp
mov dword [eax + 0x14], esi
mov dword [esp + 0x10], edi
mov edx, dword [edi]
lea ecx, [esp + 0x28]
push 0x104
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4025dd
mov cl, byte [esp + 0x17]
lea edi, [esp + 0x28]
mov byte [esp + 0x18], cl
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], esi
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.00401960
test al, al
je 0x402584
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00401940
xor esi, esi
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x18]
push ecx
push 1
push eax
mov ecx, ebx
mov dword [esp + 0x140], esi
call fcn.00401a80
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x134], 0xffffffff
cmp eax, esi
je 0x4025cd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4025c4
cmp al, 0xff
je 0x4025c4
dec al
mov byte [ecx], al
jmp 0x4025cd
push ecx
call fcn.0041b142
add esp, 4
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
add edi, 4
cmp edi, 0x42a10c
mov dword [esp + 0x10], edi
jl 0x402506
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x402610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x100
and eax, 0xffff
push ebx
mov ebx, dword [esp + 0x108]
push ebp
push esi
push edi
push 0xa
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x402657
push eax
push str.Error
push str.Failed_to_load_necessary_file__try_re_downloading_the_patcher_or_letting_us_know_on_our_Discord
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x402682
push eax
push str.Error
push str.Failed_to_load_necessary_file__try_re_downloading_the_patcher_or_letting_us_know_on_our_Discord
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
mov ebp, eax
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
call fcn.0041bf8c
lea ecx, [esp + 0x20]
push 0x428288
push ecx
call fcn.0041bf79
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4026e9
push eax
push str.Error
push str.Failed_to_load_necessary_file__try_re_downloading_the_patcher_or_letting_us_know_on_our_Discord
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
push esi
push ebx
push 1
push ebp
call fcn.0041be4f
push esi
call fcn.0041bdf9
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret