joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10028e60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x100bb85c]
cmp byte [0x100bb591], 0
mov dword [ebp - 4], eax
je 0x10028f29
fld dword [0x100bb84c]
push ebx
push esi
push edi
call fcn.100569f0
fld dword [0x100bb850]
mov esi, eax
call fcn.100569f0
fld dword [0x100bb844]
mov edi, eax
call fcn.100569f0
fld dword [0x100bb848]
mov ebx, eax
call fcn.100569f0
push eax
push ebx
push edi
push esi
mov eax, 0x790b10
call eax
add esp, 0x10
pop edi
pop esi
pop ebx
test al, al
je 0x10028f29
cmp dword [ebp + 8], 0x201
jne 0x10028ee0
mov al, 1
mov byte [0x100bb860], al
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 4], 0x1f4
mov byte [0x100bb860], 0
jb 0x10028f29
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x100bb85c], eax
xor eax, eax
mov byte [0x100bb591], 0
mov dword [0xe8cb3c], eax
cmp byte [0x100bb939], 1
jne 0x10028f24
mov byte [0x100bb939], al
mov dword [0xe8cb3c], eax
xor al, al
mov esp, ebp
pop ebp
ret 4
call fcn.1000f550
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x10028f40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x100bb8a4]
cmp byte [0x100bb591], 0
mov dword [ebp - 4], eax
je 0x10028ffe
fld dword [0x100bb894]
push ebx
push esi
push edi
call fcn.100569f0
fld dword [0x100bb898]
mov esi, eax
call fcn.100569f0
fld dword [0x100bb88c]
mov edi, eax
call fcn.100569f0
fld dword [0x100bb890]
mov ebx, eax
call fcn.100569f0
push eax
push ebx
push edi
push esi
mov eax, 0x790b10
call eax
add esp, 0x10
pop edi
pop esi
pop ebx
test al, al
je 0x10028ffe
cmp dword [ebp + 8], 0x201
jne 0x10028fc0
mov al, 1
mov byte [0x100bb8a8], al
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 4], 0x1f4
mov byte [0x100bb8a8], 0
jb 0x10028ffe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x100bb8a4], eax
mov byte [0x100bb591], 0
push 0x23
mov ecx, 0x861110
mov dword [0xe8cb3c], 0
call ecx
mov edx, 0x85ec50
mov ecx, eax
call edx
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x10029010
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x100bb8ec]
cmp byte [0x100bb591], 0
mov dword [ebp - 4], eax
je 0x100290c8
fld dword [0x100bb8dc]
push ebx
push esi
push edi
call fcn.100569f0
fld dword [0x100bb8e0]
mov esi, eax
call fcn.100569f0
fld dword [0x100bb8d4]
mov edi, eax
call fcn.100569f0
fld dword [0x100bb8d8]
mov ebx, eax
call fcn.100569f0
push eax
push ebx
push edi
push esi
mov eax, 0x790b10
call eax
add esp, 0x10
pop edi
pop esi
pop ebx
test al, al
je 0x100290c8
cmp dword [ebp + 8], 0x201
jne 0x10029090
mov al, 1
mov byte [0x100bb8f0], al
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 4], 0x1f4
mov byte [0x100bb8f0], 0
jb 0x100290c8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x100bb8ec], eax
mov al, 1
mov byte [0x100bb591], 0
mov dword [0xe8cb3c], 0
mov byte [0x100bd511], al
mov byte [0x100bedf8], al
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x100290d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
sub esi, dword [0x100ba61c]
cmp byte [0x100bb591], 0
je 0x1002918c
fld dword [0x100bb72c]
push ebx
push edi
call fcn.100569f0
fld dword [0x100bb730]
mov edi, eax
call fcn.100569f0
fld dword [0x100bb724]
mov ebx, eax
call fcn.100569f0
fld dword [0x100bb728]
mov dword [ebp - 4], eax
call fcn.100569f0
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
push edi
mov ecx, 0x790b10
call ecx
add esp, 0x10
test al, al
je 0x1002918a
cmp dword [ebp + 8], 0x201
jne 0x1002915b
pop edi
mov eax, 1
pop ebx
mov byte [0x100bb740], al
mov dword [0xe8cb3c], eax
pop esi
mov esp, ebp
pop ebp
ret 4
xor edi, edi
mov byte [0x100bb740], 0
mov dword [0xe8cb3c], edi
cmp esi, 0x1f4
jb 0x1002918a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x100bb73c], eax
mov byte [0x100bb591], 0
mov dword [0xe8cb3c], edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1002a050
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x100bc39c]
cmp byte [0x100bc359], 0
mov dword [ebp - 8], eax
je 0x1002a11f
fld dword [0x100bc38c]
push ebx
push esi
push edi
call fcn.100569f0
fld dword [0x100bc390]
mov esi, eax
call fcn.100569f0
fld dword [0x100bc384]
mov edi, eax
call fcn.100569f0
fld dword [0x100bc388]
mov ebx, eax
call fcn.100569f0
push eax
push ebx
push edi
push esi
mov eax, 0x790b10
call eax
add esp, 0x10
pop edi
pop esi
pop ebx
test al, al
je 0x1002a11f
cmp dword [ebp + 8], 0x201
jne 0x1002a0d2
mov al, 1
mov byte [0x100bc3a0], al
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 8], 0x1f4
mov byte [0x100bc3a0], 0
jb 0x1002a11f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dl, byte [0x100ba684]
mov dword [0x100bc39c], eax
lea eax, [ebp - 8]
mov ecx, 5
push eax
mov dword [ebp - 8], 0xedf305c1
mov byte [ebp - 4], dl
call fcn.1004f8c0
mov byte [0x100bc359], 0
add esp, 4
mov dword [0xe8cb3c], 0
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x1002a130
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x100bc3e4]
cmp byte [0x100bc359], 0
mov dword [ebp - 4], eax
je 0x1002a1dc
fld dword [0x100bc3d4]
push ebx
push esi
push edi
call fcn.100569f0
fld dword [0x100bc3d8]
mov esi, eax
call fcn.100569f0
fld dword [0x100bc3cc]
mov edi, eax
call fcn.100569f0
fld dword [0x100bc3d0]
mov ebx, eax
call fcn.100569f0
push eax
push ebx
push edi
push esi
mov eax, 0x790b10
call eax
add esp, 0x10
pop edi
pop esi
pop ebx
test al, al
je 0x1002a1dc
cmp dword [ebp + 8], 0x201
jne 0x1002a1b0
mov al, 1
mov byte [0x100bc3e8], al
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 4], 0x1f4
mov byte [0x100bc3e8], 0
jb 0x1002a1dc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x100bc3e4], eax
mov byte [0x100bc359], 0
mov dword [0xe8cb3c], 0
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x1002a3d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100bed0c]
push ebx
mov ebx, 1
push esi
cmp eax, ebx
jne 0x1002a3ff
mov word [ebp - 4], 0x3c1
mov byte [ebp - 2], 0xff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x100bed14], eax
lea eax, [ebp - 4]
push eax
jmp 0x1002a431
cmp eax, 3
jne 0x1002a448
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x100bed14]
add ecx, 0x3e8
cmp eax, ecx
jb 0x1002a448
mov word [ebp - 4], 0x3c1
mov byte [ebp - 2], 0xff
call esi
lea edx, [ebp - 4]
mov dword [0x100bed14], eax
push edx
mov ecx, 3
call fcn.1004f8c0
mov dword [0x100bed0c], 2
add esp, 4
call fcn.10029630
test al, al
jne 0x1002a56a
call fcn.10029b20
test al, al
jne 0x1002a56a
mov eax, dword [0x100bed10]
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
push eax
push str.RTT:__d_ms
push 0x100bed88
call esi
mov eax, dword [0x100bed10]
cdq
sub eax, edx
sar eax, 1
push eax
push str.PING:__d_ms
push 0x100bed24
call esi
add esp, 0x18
cmp dword [0x100bed10], 0
mov dword [0x100bed18], 0
mov ecx, 5
jle 0x1002a510
push 0x100bed88
push 0x78
push 0x1d6
push 0xff19bdff
call fcn.10026c50
push 0x100bed24
push 0x78
push 0x217
push 0xff19bdff
mov ecx, 5
call fcn.10026c50
push 0x100bed88
push 0x100bedba
call esi
push 0x100bed24
push 0x100bed56
call esi
mov ecx, dword [0x100bed10]
add esp, 0x30
pop esi
mov dword [0x100bed18], ebx
mov dword [0x100bed1c], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x100bed1c], 0
jle 0x1002a536
push 0x100bedba
push 0x50
push 0x1d6
push 0xff19bdff
call fcn.10026c50
push 0x100bed56
jmp 0x1002a551
push 0x100bed88
push 0x78
push 0x1d6
push 0xff19bdff
call fcn.10026c50
push 0x100bed24
push 0x78
push 0x217
push 0xff19bdff
mov ecx, 5
call fcn.10026c50
add esp, 0x20
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002a570
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x100bd164]
cmp eax, 0x3e8
jb 0x1002a60e
push 0x21
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x1002a60e
call esi
cmp dword [0x100b9058], 0
mov dword [0x100bd164], eax
je 0x1002a5d5
push str.Chat_Window_Separate__OFF_
push 1
call fcn.10026e00
add esp, 8
push str.._ExgConfigs.ini
mov dword [0x100b9058], 0
push 0x1005b7e8
jmp 0x1002a5f8
push str.Chat_Window_Separate__ON_
push 1
call fcn.10026e00
add esp, 8
push str.._ExgConfigs.ini
mov dword [0x100b9058], 1
push 0x1005b7ec
push str.SeparateChat
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop esi
jmp fcn.10009b30
pop esi
ret
Function at 0x1002a610
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x100bbcdc]
cmp eax, 0x3e8
jb 0x1002a6b8
push 0x21
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x1002a6b8
call esi
cmp dword [0x100b9050], 0
mov dword [0x100bbcdc], eax
je 0x1002a685
push str.HPBAR_MONSTER__OFF_
push 1
call fcn.10026e00
add esp, 8
push str.._ExgConfigs.ini
push 0x1005b7e8
push str.HPMonsterName
push str.Setting
mov dword [0x100b9050], 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop esi
ret
push str.HPBAR_MONSTER__ON_
push 1
call fcn.10026e00
add esp, 8
push str.._ExgConfigs.ini
push 0x1005b7ec
push str.HPMonsterName
push str.Setting
mov dword [0x100b9050], 1
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop esi
ret
Function at 0x10031170
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x1009f2bc]
jns 0x1003117d
jmp fcn.100311f0
mov eax, dword [0x1009f2b8]
mov ecx, dword [eax]
add eax, 4
mov dword [0x1009f2b8], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x10031930
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x414239
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x414239], 0
mov edx, dword [ebp - 4]
push edx
push 1
push 0x414239
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x40ad9b
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x40ad9b], 0xfa
mov edx, dword [ebp - 4]
push edx
push 4
push 0x40ad9b
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x40ad96
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x40ad96], 0xd8
mov edx, dword [ebp - 4]
push edx
push 4
push 0x40ad96
call esi
push 0x100313b0
push 0x40b1c0
mov bl, 0xe9
call fcn.10053c00
push 0x10031500
push 0x40b500
call fcn.10053c00
push 0x10031360
push 0x413efe
mov bl, 0xe8
call fcn.10053c00
push 0x10031380
push 0x4140d9
call fcn.10053c00
push 0x10031380
push 0x41412e
call fcn.10053c00
add esp, 0x28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10031c20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x100bd4c4]
cmp byte [0x100bd3f1], 0
mov dword [ebp - 4], eax
je 0x10031ccc
fld dword [0x100bd4b4]
push ebx
push esi
push edi
call fcn.100569f0
fld dword [0x100bd4b8]
mov esi, eax
call fcn.100569f0
fld dword [0x100bd4ac]
mov edi, eax
call fcn.100569f0
fld dword [0x100bd4b0]
mov ebx, eax
call fcn.100569f0
push eax
push ebx
push edi
push esi
mov eax, 0x790b10
call eax
add esp, 0x10
pop edi
pop esi
pop ebx
test al, al
je 0x10031ccc
cmp dword [ebp + 8], 0x201
jne 0x10031ca0
mov al, 1
mov byte [0x100bd4c8], al
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 4], 0x1f4
mov byte [0x100bd4c8], 0
jb 0x10031ccc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x100bd4c4], eax
mov byte [0x100bd3f1], 0
mov dword [0xe8cb3c], 0
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x10032c40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x100bd3f1], 0
mov esi, eax
je 0x10032d0e
fld dword [0x100bd424]
push ebx
push edi
call fcn.100569f0
fld dword [0x100bd428]
mov edi, eax
call fcn.100569f0
fld dword [0x100bd41c]
mov ebx, eax
call fcn.100569f0
fld dword [0x100bd420]
mov dword [ebp - 4], eax
call fcn.100569f0
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
push edi
mov ecx, 0x790b10
call ecx
add esp, 0x10
pop edi
pop ebx
test al, al
je 0x10032d0e
sub esi, dword [0x100bd434]
cmp dword [ebp + 8], 0x201
jne 0x10032ccb
mov eax, 1
mov byte [0x100bd438], al
mov dword [0xe8cb3c], eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [0x100bd438], 0
mov dword [0xe8cb3c], 0
cmp esi, 0x64
jb 0x10032d0e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [ebp + 8]
mov ecx, 4
push edx
mov dword [0x100bd434], eax
mov dword [ebp + 8], 0x16fb04c1
call fcn.1004f8c0
add esp, 4
mov dword [0x1009f2d4], 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10036da0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x100365c0
push 0x8c5bb5
mov bl, 0xe8
call fcn.10053c00
add esp, 8
mov esi, 0xa
mov ebx, 0x56fc5e
call fcn.100533c0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
mov eax, 0x10036c60
push 5
sub eax, 0x56fc63
xor esi, esi
push ebx
mov byte [ebp - 0x10], 0xe9
mov dword [ebp - 0xf], eax
mov dword [ebp - 4], esi
call edi
test eax, eax
je 0x10036e18
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0xc]
mov eax, ebx
mov dword [eax], edx
mov byte [eax + 4], cl
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
push 5
push ebx
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x10036e1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xa
mov ebx, 0x56fd1a
call fcn.100533c0
lea edx, [ebp - 4]
push edx
push 0x40
mov ecx, 0x10036d20
push 5
sub ecx, 0x56fd1f
xor esi, esi
push ebx
mov byte [ebp - 0x10], 0xe9
mov dword [ebp - 0xf], ecx
mov dword [ebp - 4], esi
call edi
test eax, eax
je 0x10036e74
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov eax, ebx
mov dword [eax], ecx
mov byte [eax + 4], dl
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push ecx
push 5
push ebx
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x10036e7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003f700
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10061018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xd4e5e8
push str.DataLocalAmuletSetType.bmd
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x1003f84c
push ebx
push edi
push 0xa000
call fcn.10054067
push 0xa000
mov dword [0x100c4d50], eax
call fcn.10054067
mov edi, dword [sym.imp.MSVCR100.dll_fread]
push esi
push 1
mov ebx, eax
push 0xa000
push ebx
call edi
push esi
push 1
lea eax, [ebp - 0x108]
push 4
push eax
call edi
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x2c
mov ecx, 0xa000
call fcn.10053fd0
cmp dword [ebp - 0x108], eax
je 0x1003f7e8
push str.DataLocalAmuletSetType.bmd
lea ecx, [ebp - 0x104]
push 0xd2bb20
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [0xe8c578]
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x104]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0xe8c578]
push 0
push 0
push 2
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056040
mov esp, ebp
pop ebp
ret
mov esi, ebx
xor edi, edi
lea esp, [esp]
push 0x14
push esi
mov edx, 0x4071a0
call edx
mov ecx, dword [esi]
mov eax, dword [0x100c4d50]
mov dword [edi + eax], ecx
mov edx, dword [esi + 4]
mov dword [edi + eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [edi + eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [edi + eax + 0xc], edx
mov ecx, dword [esi + 0x10]
mov dword [edi + eax + 0x10], ecx
add edi, 0x14
add esp, 8
add esi, 0x14
cmp edi, 0xa000
jl 0x1003f7f0
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056040
mov esp, ebp
pop ebp
ret
push str.DataLocalAmuletSetType.bmd
lea edx, [ebp - 0x104]
push 0xd2bb38
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, dword [0xe8c578]
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0xe8c578]
push 0
push 0
push 2
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10056040
mov esp, ebp
pop ebp
ret
Function at 0x1003f8a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10061018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xd4e5e8
push str.DataLocalAmuletTooltip.bmd
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x1003f9d7
push ebx
push edi
push 0xf000
call fcn.10054067
push 0xf000
mov dword [0x100c4d4c], eax
call fcn.10054067
mov edi, dword [sym.imp.MSVCR100.dll_fread]
push esi
push 1
mov ebx, eax
push 0xf000
push ebx
call edi
push esi
push 1
lea eax, [ebp - 0x108]
push 4
push eax
call edi
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x2c
mov ecx, 0xf000
call fcn.10053fd0
cmp dword [ebp - 0x108], eax
je 0x1003f988
push str.DataLocalAmuletTooltip.bmd
lea ecx, [ebp - 0x104]
push 0xd2bb20
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [0xe8c578]
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x104]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0xe8c578]
push 0
push 0
push 2
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056040
mov esp, ebp
pop ebp
ret
mov esi, ebx
xor edi, edi
lea esp, [esp]
push 0x1e
push esi
mov edx, 0x4071a0
call edx
mov eax, dword [0x100c4d4c]
push 0x1e
lea ecx, [edi + eax]
push esi
push ecx
call sub.MSVCR100.dll_memcpy
add edi, 0x1e
add esp, 0x14
add esi, 0x1e
cmp edi, 0xf000
jl 0x1003f990
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056040
mov esp, ebp
pop ebp
ret
push str.DataLocalAmuletTooltip.bmd
lea edx, [ebp - 0x104]
push 0xd2bb38
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, dword [0xe8c578]
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0xe8c578]
push 0
push 0
push 2
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10056040
mov esp, ebp
pop ebp
ret
Function at 0x1003fa30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10061018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 0xd4e5e8
push edi
mov dword [ebp - 0x108], edi
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x1003fb77
push ebx
push 0x7f800
call fcn.10054067
push 0x7f800
mov dword [0x100c4d48], eax
call fcn.10054067
mov edi, dword [sym.imp.MSVCR100.dll_fread]
push esi
push 1
mov ebx, eax
push 0x7f800
push ebx
call edi
push esi
push 1
lea eax, [ebp - 0x10c]
push 4
push eax
call edi
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x2c
mov ecx, 0x7f800
call fcn.10053fd0
cmp dword [ebp - 0x10c], eax
je 0x1003fb1f
mov ecx, dword [ebp - 0x108]
push ecx
lea edx, [ebp - 0x104]
push 0xd2bb20
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, dword [0xe8c578]
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0xe8c578]
push 0
push 0
push 2
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056040
mov esp, ebp
pop ebp
ret
mov esi, ebx
xor edi, edi
push 0xff
push esi
mov eax, 0x4071a0
call eax
mov ecx, dword [0x100c4d48]
push 0xff
lea edx, [edi + ecx]
push esi
push edx
call sub.MSVCR100.dll_memcpy
add edi, 0xff
add esp, 0x14
add esi, 0xff
cmp edi, 0x7f800
jl 0x1003fb23
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056040
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x104]
push 0xd2bb38
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov edx, dword [0xe8c578]
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x104]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0xe8c578]
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10056040
mov esp, ebp
pop ebp
ret

Function at 0x100424c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x10042290
push 0x832940
mov bl, 0xe9
call fcn.10053c00
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0xd46c78
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0xd46c78], 0x100423e0
mov edx, dword [ebp - 4]
push edx
push 4
push 0xd46c78
call esi
push 0x10042130
push 0x51ad6e
mov bl, 0xe8
call fcn.10053c00
push 0x10042360
push 0x832050
mov bl, 0xe9
call fcn.10053c00
add esp, 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10042de0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x8367ba
call esi
mov edi, 0x16
lea ecx, [ebp - 4]
push ecx
mov dword [0x8367ba], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x8367ba
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x8367c7
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x8367c7], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x8367c7
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x836805
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x836805], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x836805
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x836812
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x836812], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x836812
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x836853
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x836853], edi
mov edx, dword [ebp - 4]
push edx
push 4
push 0x836853
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x836860
call esi
mov dword [0x836860], edi
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 4
push 0x836860
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x8367e0
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x8367e0], 0x3a
mov edx, dword [ebp - 4]
push edx
push 1
push 0x8367e0
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x83682b
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x83682b], 0x3a
mov edx, dword [ebp - 4]
push edx
push 1
push 0x83682b
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x836792
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x836792], 0x76
mov edx, dword [ebp - 4]
push edx
push 1
push 0x836792
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret