joyce8/EMBER2024-capa huggingface dataset:
Function at 0x528630
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7076e0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x7f21b0
call fcn.004289a0
lea eax, [ebp - 0x18]
push eax
call fcn.005b3a80
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
call fcn.005b69b0
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00429100
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.005b4a50
add esp, 8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00428810
call sub.KERNEL32.dll_GetCurrentProcessId
push 0x740b24
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00428840
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x7856e8
call fcn.00428840
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x7f21b0
mov byte [ebp - 4], 6
call fcn.00428690
push ecx
mov ecx, esp
mov byte [ebp - 4], 7
push 0x740b38
call fcn.00428840
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
call fcn.005b0270
add esp, 0x10
push eax
push SysReAllocStringLen
mov byte [ebp - 4], 8
call fcn.005b8ff0
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00428810
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00428810
push 0x740b64
lea ecx, [ebp - 0x10]
call fcn.00428840
mov byte [ebp - 4], 9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x7856e8
call fcn.00428840
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x7f21b0
mov byte [ebp - 4], 0xa
call fcn.00428690
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xb
push 0x740b38
call fcn.00428840
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 9
push eax
call fcn.005b0270
add esp, 0x10
push eax
push SysReAllocStringLen
mov byte [ebp - 4], 0xc
call fcn.005b8ff0
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20]
call fcn.00428810
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00428810
push 0x740b74
lea ecx, [ebp - 0x10]
call fcn.00428840
push esi
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xd
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x7856e8
call fcn.00428840
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x7f21b0
mov byte [ebp - 4], 0xe
call fcn.00428690
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xf
push 0x740b38
call fcn.00428840
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xd
push eax
call fcn.005b0270
add esp, 0x10
push eax
push SysReAllocStringLen
mov byte [ebp - 4], 0x10
call fcn.005b8ee0
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
call fcn.00428810
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00428810
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00428810
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00428810
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x52ae80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 8], 2
jne 0x52aed4
mov edx, dword [ebp + 0xc]
xor eax, eax
shr edx, 2
test edx, edx
jle 0x52aed4
mov ecx, dword [ebp + 8]
movss xmm1, dword [0x7922b0]
movss xmm2, dword [0x792028]
jmp 0x52aeb0
movss xmm0, dword [ecx + eax*4]
xorps xmm0, xmm1
addss xmm0, dword [ecx + eax*4 + 4]
mulss xmm0, xmm2
movss dword [ecx + eax*4 + 4], xmm0
movss dword [ecx + eax*4], xmm0
add eax, 2
cmp eax, edx
jl 0x52aeb0
pop ebp
ret 8
Function at 0x52b560
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x707900
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x52b5e1
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [ebx + 8]
lea eax, [ecx*8]
mov esi, dword [ebx]
mov dword [ebp - 0x18], eax
add eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
cmp esi, eax
je 0x52b61d
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x52b61d
mov eax, dword [edi]
lea esp, [esp]
mov esi, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x52b667
cmp esi, dword [edx + ecx*8]
jne 0x52b610
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
cmp esi, eax
je 0x52b64e
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x18]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x52b6be
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x52b6e0
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 4]
call fcn.00428810
push edi
call fcn.00428680
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x52b6c6
mov dword [ecx], edi
jmp 0x52b6e0
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x52b6e0
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00536e10
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x538ec0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [esi + 0x18], ecx
ja 0x538f13
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [esi + 8]
mov esi, dword [esi]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov edi, dword [edx + ecx*4]
inc ecx
lea ecx, [edx + ecx*4]
mov dword [ebp + 0xc], ecx
cmp edi, esi
jne 0x538f2f
mov ecx, esi
jmp 0x538f33
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x538f83
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx]
je 0x538f45
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
jmp 0x538f27
mov ecx, dword [ebx]
mov edx, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
nop
cmp edi, esi
jne 0x538f58
mov ecx, esi
jmp 0x538f5c
mov ecx, dword [ebx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x538f6c
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jne 0x538f6c
mov eax, dword [eax]
jmp 0x538f50
cmp edx, eax
je 0x538f83
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x539030
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x539083
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x5390af
cmp dword [ecx], edi
jne 0x5390a7
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [ecx + edx + 4], eax
jmp 0x5390b7
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x5390b7
cmp dword [ecx], edi
jne 0x5390ba
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 4]
call fcn.00428810
push edi
call fcn.00428680
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5398a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [esi + 0x18], ecx
ja 0x5398f2
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [esi + 8]
mov esi, dword [esi]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x53990a
mov ecx, esi
jmp 0x53990f
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x53993c
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x53991e
mov eax, dword [eax]
jmp 0x539902
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
jne 0x53992e
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x53c6e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 8], 0xfeff
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x53c722
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push 2
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x53d160
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
test eax, eax
je 0x53d1b5
push 0x786b50
push eax
call fcn.006b57a3
mov esi, eax
add esp, 8
test esi, esi
je 0x53d1b5
push esi
push 0x2c
lea eax, [ebp - 0x30]
push 1
push eax
call fcn.006b6232
add esp, 0x10
cmp eax, 0x2c
je 0x53d1c8
push esi
call fcn.006b5369
push esi
call fcn.006b5369
add esp, 8
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x30], 0x46464952
jne 0x53d1ec
cmp dword [ebp - 0x2c], 0x24
jne 0x53d1ec
cmp dword [ebp - 0x28], 0x41444443
jne 0x53d1ec
cmp word [ebp - 0x1c], 1
jne 0x53d1ec
movzx edi, word [ebp - 0x1a]
dec edi
push esi
call fcn.006b5369
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
xor ecx, ebp
pop edi
pop esi
call fcn.006b3266
mov esp, ebp
pop ebp
ret
Function at 0x53d450
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x709338
mov eax, dword fs:[0]
push eax
sub esp, 0xa14
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00429000
push dword [ebp + 8]
lea eax, [ebp - 0xa18]
push 0x78407c
push eax
call fcn.00435550
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa18]
push eax
call fcn.0053d570
add esp, 0x18
test eax, eax
je 0x53d53a
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x218]
push eax
push 0
push str.NUMTRACKS
lea eax, [ebp - 0xa18]
push eax
call esi
test eax, eax
je 0x53d53a
lea eax, [ebp - 0x218]
push eax
push 0
push str.SYNCRESULT
lea eax, [ebp - 0xa18]
push eax
call esi
cmp eax, 1
je 0x53d533
lea eax, [ebp - 0x218]
push eax
push 0
push str.LASTSYNCTIME
lea eax, [ebp - 0xa18]
push eax
call esi
mov esi, eax
test esi, esi
je 0x53d53a
call fcn.005b3800
sub eax, esi
sbb edx, 0
mov dword [ebp - 0xa1c], edx
js 0x53d533
jg 0x53d53a
cmp eax, 0x93a80
jae 0x53d53a
mov esi, 1
jmp 0x53d53c
xor esi, esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
Function at 0x53d570
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x709370
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
jg 0x53d5b2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push SysReAllocStringLen
push 0x74218c
lea eax, [ebp + 0x10]
push str.GRETECH
push eax
call fcn.005b3480
add esp, 0x10
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0
call fcn.004290e0
test eax, eax
jle 0x53d5f8
push edi
lea ecx, [ebp + 0x10]
call fcn.00429100
mov ebx, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push eax
push ebx
call esi
jmp 0x53d629
lea eax, [ebp - 0x10]
push eax
call fcn.005b6a10
add esp, 4
push edi
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00429100
mov ebx, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push eax
push ebx
call esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call fcn.00428810
mov ecx, ebx
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x53d630
sub ecx, edx
mov eax, edi
sar ecx, 1
sub eax, ecx
js 0x53d716
push eax
push 0x7856e8
lea eax, [ebx + ecx*2]
push eax
call esi
mov ecx, ebx
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x53d660
sub ecx, edx
mov eax, edi
sar ecx, 1
sub eax, ecx
js 0x53d716
push eax
push str.CDDB
lea eax, [ebx + ecx*2]
push eax
call esi
mov ecx, ebx
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x53d690
sub ecx, edx
mov eax, edi
sar ecx, 1
sub eax, ecx
js 0x53d716
push eax
push 0x7856e8
lea eax, [ebx + ecx*2]
push eax
call esi
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x53d6b6
push 0
sub esi, ecx
push ebx
sar esi, 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, edi
sub eax, esi
js 0x53d716
push eax
push dword [ebp + 8]
lea eax, [ebx + esi*2]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push eax
call esi
mov ecx, ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x53d6f0
sub ecx, edx
sar ecx, 1
sub edi, ecx
js 0x53d716
push edi
push str..ini
lea eax, [ebx + ecx*2]
push eax
call esi
mov esi, 1
jmp 0x53d718
xor esi, esi
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53ed30
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x727c08
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x80
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp + 8]
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00428810
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x540450
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x540530
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x34
lea eax, [ebp - 0x38]
mov esi, ecx
push 0
push eax
call fcn.006b47d0
push 0x2710
push 0
lea eax, [ebp - 4]
mov dword [ebp - 0x34], 0
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], str.GOMBRIDGE
push eax
mov dword [ebp - 0x3c], str.GOMAUDIO
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], str.GomBridge_GrLauncher.ini
call fcn.0069e830
add esp, 0x1c
test eax, eax
je 0x5405a2
push str.Success__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, esi
call fcn.00540450
pop esi
mov esp, ebp
pop ebp
ret
push str.Failed__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, esi
call fcn.00540450
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x540ae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call fcn.004a2af0
mov esi, dword [ebp + 0xc]
or edi, 0xffffffff
mov ebx, dword [ebp + 8]
push 5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x540bb8
push 0xf0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, eax
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
test ecx, ecx
je 0x540b3e
push ecx
push ebx
call eax
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp - 8]
xor esi, esi
push ebx
call eax
test eax, eax
je 0x540ba5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x540ba5
push dword [ebp - 4]
push eax
call fcn.00543620
add esp, 8
mov ebx, eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov edi, eax
test edi, edi
je 0x540b84
cmp edi, 0xffffffff
jne 0x540b8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp ebx, dword [ebp - 8]
je 0x540bad
test ebx, ebx
je 0x540bad
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x540bad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x540bb8
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x541980
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x709900
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xd8]
mov dword [ebp - 4], 0x16
call fcn.00428810
lea ecx, [esi + 0xac]
mov byte [ebp - 4], 0x15
call fcn.005418e0
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0x14
call fcn.00428810
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 0x13
call fcn.00428810
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0x12
call fcn.00428810
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0x11
call fcn.00428810
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x10
call fcn.00428810
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xf
call fcn.00428810
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 0xe
call fcn.00428810
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xd
call fcn.00428810
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 0xc
call fcn.00428810
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 0xb
call fcn.00428810
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xa
call fcn.00428810
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 9
call fcn.00428810
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 8
call fcn.00428810
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 7
call fcn.00428810
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 6
call fcn.00428810
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 5
call fcn.00428810
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 4
call fcn.00428810
mov byte [ebp - 4], 3
lea ecx, [esi + 0x24]
call fcn.00428810
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 2
call fcn.00428810
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
call fcn.00428810
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0
call fcn.00428810
lea ecx, [esi + 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x541fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71ca38
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
sub esp, 8
mov edx, dword [eax + 0x30]
cmp dword [edx + 0x154], 0
movsd xmm0, qword [edx + 0x158]
movsd qword [esp], xmm0
setne al
movzx eax, al
push eax
push dword [edx + 0x150]
mov eax, dword [esi + 0x14]
push 0xffffffffffffffff
push dword [eax]
push dword [edx + 4]
push dword [edx + 0xd8]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [esi + 0xc]
call fcn.00428690
mov eax, dword [esi + 8]
mov dword [ebp - 4], 0
push dword [eax]
push ecx
mov ecx, esp
push dword [esi + 4]
call fcn.00428690
mov dword [ebp - 4], 0xffffffff
call fcn.0053ee00
mov ecx, dword [esi]
add esp, 0x2c
mov byte [ecx], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret