joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e5047
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005d7295
and dword [ebp - 4], 0
cmp dword [0x773cc0], 0
mov ebx, eax
jne 0x5e50f8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5e51a9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5e51a9
push eax
call fcn.005d7223
mov dword [esp], 0x6be55c
push edi
mov dword [0x773cc0], eax
call esi
push eax
call fcn.005d7223
mov dword [esp], 0x6be548
push edi
mov dword [0x773cc4], eax
call esi
push eax
call fcn.005d7223
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x773cc8], eax
call esi
push eax
call fcn.005d7223
pop ecx
mov dword [0x773cd0], eax
test eax, eax
je 0x5e50f8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005d7223
pop ecx
mov dword [0x773ccc], eax
mov eax, dword [0x773ccc]
cmp eax, ebx
je 0x5e5150
cmp dword [0x773cd0], ebx
je 0x5e5150
push eax
call fcn.005d729e
push dword [0x773cd0]
mov esi, eax
call fcn.005d729e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5e5150
test edi, edi
je 0x5e5150
call esi
test eax, eax
je 0x5e5147
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5e5147
test byte [ebp - 0xc], 1
jne 0x5e5150
or dword [ebp + 0x10], 0x200000
jmp 0x5e5189
mov eax, dword [0x773cc4]
cmp eax, ebx
je 0x5e5189
push eax
call fcn.005d729e
pop ecx
test eax, eax
je 0x5e5189
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5e5189
mov eax, dword [0x773cc8]
cmp eax, ebx
je 0x5e5189
push eax
call fcn.005d729e
pop ecx
test eax, eax
je 0x5e5189
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x773cc0]
call fcn.005d729e
pop ecx
test eax, eax
je 0x5e51a9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5e51ab
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5fce20
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0
push 0x80
push 3
push 0
push 5
push connect
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x5fce55
mov eax, 2
jmp 0x5fcf0f
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 4]
push edx
call fcn.005be6fe
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5fce94
mov eax, 3
jmp 0x5fcf0f
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.005cddf0
add esp, 0xc
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x5fcec9
mov eax, 3
jmp 0x5fcf0f
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.005fcdb0
add esp, 8
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005be738
add esp, 4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x5fcf20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x72d150]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 5
push connect
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x5fcf62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
xor eax, eax
jmp 0x5fcfdb
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
xor ecx, ecx
mov word [ebp - 0x48], cx
push 0x3e
push 0
lea edx, [ebp - 0x46]
push edx
call fcn.005cddf0
add esp, 0xc
push 0
lea eax, [ebp - 0x50]
push eax
push 0x40
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x5fcfa4
xor eax, eax
jmp 0x5fcfdb
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005fce20
add esp, 8
cmp eax, 1
je 0x5fcfce
xor eax, eax
jmp 0x5fcfdb
mov eax, dword [ebp - 0x58]
xor ecx, ecx
cmp eax, dword [ebp - 0x2c]
sete cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cd251
mov esp, ebp
pop ebp
ret
Function at 0x401f74
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x478300], 0
jne 0x401fa4
push str.Advapi32.dll
call dword [0x45c290]
test eax, eax
je 0x401f9d
push str.RegDeleteKeyExW
push eax
call dword [0x45c274]
mov dword [0x478304], eax
mov byte [0x478300], 1
mov eax, dword [0x478304]
test eax, eax
je 0x401fbc
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x401fc8
push dword [esp + 4]
push dword [esi]
call dword [0x45c02c]
ret 4

Function at 0x402020
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x40202e
push 0xd
pop eax
jmp 0x402061
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [0x45c20c]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x402035
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [0x45c018]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x402065
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4732d4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push ecx
push dword [esi]
mov dword [ebp - 0x21c], ecx
xor edi, edi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.00401fe2
mov ebx, eax
cmp ebx, edi
je 0x4020cb
cmp dword [ebp - 0x214], edi
je 0x4020c4
push dword [ebp - 0x214]
call dword [0x45c01c]
mov eax, ebx
jmp 0x402163
mov ebx, dword [0x45c020]
jmp 0x4020f3
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00402065
mov dword [ebp - 0x220], eax
cmp eax, edi
jne 0x402174
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x4020d3
mov ebx, dword [0x45c01c]
cmp dword [ebp - 0x214], edi
je 0x40213e
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], edi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], edi
call fcn.00401f74
mov esi, eax
cmp dword [ebp - 0x214], edi
je 0x402161
push dword [ebp - 0x214]
call ebx
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c333
leave
ret 4
cmp dword [ebp - 0x214], edi
je 0x402188
push dword [ebp - 0x214]
call dword [0x45c01c]
mov eax, dword [ebp - 0x220]
jmp 0x402163
Function at 0x408df0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [0x4781a0], esi
je 0x408e0c
xor eax, eax
inc eax
jmp 0x408ea5
lea eax, [ebp - 4]
call fcn.00403f12
test eax, eax
jl 0x408e04
cmp dword [ebp - 4], esi
je 0x408e94
mov eax, dword [0x478198]
push ebx
mov ebx, dword [eax]
mov dword [ebp - 4], ebx
cmp ebx, esi
je 0x408e8f
push edi
push esi
call dword [0x45c384]
push eax
call dword [0x45c4ac]
mov dword [ebp - 8], eax
call dword [0x45c0dc]
mov edi, dword [0x45c398]
push 1
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
push eax
call edi
push 1
push ebx
call dword [0x45c35c]
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
mov ebx, dword [0x45c364]
call ebx
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [0x45c3a0]
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
call edi
pop edi
xor eax, eax
pop ebx
jmp 0x408ea5
call fcn.0040c3e4
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
neg eax
sbb eax, eax
neg eax
pop esi
leave
ret

Function at 0x40924e
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
lea ebx, [ebp + 0x45c]
lea esi, [ebx + 8]
push 0
xor eax, eax
mov edi, esi
call fcn.00403cda
test eax, eax
jne 0x409278
push 0xe
call dword [0x45c1fc]
jmp 0x409296
mov eax, ebx
call fcn.00401d5d
push 0
push 0x40a0b6
push 0
push 0x6d
push dword [0x476e28]
call dword [0x45c354]
push 0
push dword [ebp + 0x460]
call dword [0x45c35c]
mov eax, ebp
call fcn.004093f1
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40b290
Capabilities:
Delete registry key

Disassembly:
push 4
mov eax, 0x45a543
call fcn.00442288
call fcn.0040c3e4
mov edx, dword [eax + 0x24]
add eax, 0x1c
inc edx
call fcn.0040c042
mov eax, dword [0x476e64]
mov ecx, 0x476e64
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x463974
push eax
call fcn.00401bf3
add esp, 0xc
call fcn.0040c3e4
mov edi, dword [ebp - 0x10]
push edi
call fcn.0040c073
push edi
push 0x463988
mov ecx, 0x478220
call fcn.0042c230
pop ecx
pop ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x45c338]
mov esi, eax
neg esi
sbb esi, esi
lea eax, [edi - 0x10]
inc esi
call fcn.00401143
mov eax, esi
call fcn.00442360
ret
Function at 0x40b31b
Capabilities:
Delete registry value

Disassembly:
push 4
mov eax, 0x45a543
call fcn.00442288
call fcn.0040c3e4
mov edx, dword [eax + 0x24]
add eax, 0x1c
inc edx
call fcn.0040c042
mov eax, dword [0x476e64]
mov ecx, 0x476e64
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov edi, str.Shuame
push edi
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings5.0User_AgentPost_Platform
push esi
lea eax, [ebp - 0x10]
push 0x463990
push eax
call fcn.00401bf3
add esp, 0x10
call fcn.0040c3e4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0040c073
push ebx
push 0x463988
mov ecx, 0x478220
call fcn.0042c230
pop ecx
pop ecx
push edi
push esi
push dword [ebp + 8]
call dword [0x45c340]
mov esi, eax
neg esi
sbb esi, esi
lea eax, [ebx - 0x10]
inc esi
call fcn.00401143
mov eax, esi
call fcn.00442360
ret

Function at 0x40bec1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
cmp eax, ecx
je 0x40bf3e
push edi
mov edi, dword [0x45c010]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
jne 0x40bf3d
push esi
mov esi, dword [ebp + 0xc]
call fcn.004017ce
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.0040182b
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x40bf3c
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov word [esi + eax*2], cx
mov esi, dword [ebp + 0xc]
or eax, 0xffffffff
call fcn.0040d7b8
mov dword [ebp - 0xc], 1
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8

Function at 0x40bfbb
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x45915f
call fcn.00442288
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
mov eax, dword [0x476e64]
mov ecx, 0x476e64
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 1
push str.SoftWareBottleTechShuame
push 0x80000002
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040be73
lea eax, [ebp - 0x14]
push eax
push str.ExeString
mov ebx, esi
call fcn.0040bec1
mov esi, dword [ebp - 0x14]
push esi
call dword [0x45c334]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
neg eax
mov dword [ecx + 0x2c0], eax
lea eax, [esi - 0x10]
call fcn.00401143
cmp dword [ebp - 0x10], 0
je 0x40c03a
push dword [ebp - 0x10]
call dword [0x45c01c]
call fcn.00442360
ret 4
Function at 0x40c0a5
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x459c80
call fcn.004422f1
push 4
call fcn.0043d996
pop ecx
test eax, eax
je 0x40c0ca
lea ecx, [ebp - 0x250]
mov dword [eax], ecx
jmp 0x40c0cc
xor eax, eax
mov dword [ebp - 0x250], eax
and dword [ebp - 4], 0
call fcn.00424230
and dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], eax
lea eax, [edi + 0x284]
mov dword [ebp - 4], 1
call fcn.00434210
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0040169d
lea esi, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00401164
lea eax, [ebp - 0x250]
push eax
mov eax, esi
push eax
mov ecx, edi
call fcn.0040d472
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x23c]
test eax, eax
je 0x40c159
cmp eax, dword [ebp - 0x250]
je 0x40c15e
call fcn.0043e0dd
cmp dword [ebp - 0x228], esi
je 0x40c180
lea esi, [ebp - 0x22c]
call fcn.00419b9c
push dword [eax]
call fcn.004011de
pop ecx
call fcn.0040e153
jmp 0x40c141
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push eax
call fcn.0043d6d0
add esp, 0xc
push 1
push 5
lea eax, [ebp - 0x224]
push eax
push 0
call dword [0x45c32c]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040169d
push str.ShuameTools_
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 3
call fcn.00401753
lea esi, [ebp - 0x250]
call fcn.0040e11d
mov eax, esi
push eax
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
call fcn.0040d472
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x23c]
test eax, eax
je 0x40c227
cmp eax, dword [ebp - 0x250]
je 0x40c22c
call fcn.0043e0dd
cmp dword [ebp - 0x228], esi
je 0x40c24e
lea esi, [ebp - 0x22c]
call fcn.00419b9c
push dword [eax]
call fcn.004011de
pop ecx
call fcn.0040e153
jmp 0x40c20f
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
call fcn.00401143
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
call fcn.00401143
lea esi, [ebp - 0x250]
call fcn.0040e11d
push dword [ebp - 0x23c]
call fcn.0043c328
and dword [ebp - 0x23c], 0
pop ecx
push dword [ebp - 0x250]
call fcn.0043c328
pop ecx
call fcn.00442374
ret
Function at 0x40cc6a
Capabilities:
Check if file exists

Disassembly:
push 0x240
mov eax, 0x45a42f
call fcn.004422f1
lea ecx, [ebp - 0x24c]
call fcn.00433510
and dword [ebp - 4], 0
lea edi, [ebx + 0x2a0]
push edi
call fcn.0040be4c
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea esi, [ebp - 0x24c]
call fcn.0040b44b
mov eax, edi
call fcn.00434210
push eax
mov esi, 0x478220
push str.GetTempPath_:__s
mov ecx, esi
call fcn.0042c230
cmp dword [ebx + 0x2b4], 0
pop ecx
pop ecx
jne 0x40ccd7
lea eax, [ebx + 0x284]
push edi
call fcn.0040be4c
call fcn.00434220
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.0043d6d0
push 0
call fcn.0043e207
add esp, 0x10
and dword [ebp - 0x224], 0
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], edx
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x230]
mov eax, edi
push str.UNINST
call fcn.00434210
push eax
call dword [0x45c0d0]
test eax, eax
je 0x40cd49
lea eax, [ebp - 0x220]
push eax
call dword [0x45c334]
test eax, eax
je 0x40cd58
inc dword [ebp - 0x224]
cmp dword [ebp - 0x224], 5
jl 0x40cd14
lea eax, [ebp - 0x220]
push eax
call dword [0x45c334]
test eax, eax
jne 0x40cdab
lea eax, [ebp - 0x220]
push eax
push str.GetTempFileName_:__s
mov ecx, esi
call fcn.0042c230
lea eax, [ebp - 0x220]
push eax
call fcn.004320e0
add esp, 0xc
test eax, eax
je 0x40cdab
lea eax, [ebp - 0x220]
mov esi, edi
call fcn.0040e4d9
call fcn.00434220
mov dword [ebx + 0x280], 1
xor eax, eax
inc eax
call fcn.00442374
ret
Function at 0x40d2cf
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x4732d4]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x28
mov eax, 0x45aa1c
call fcn.00442288
mov dword [edi + 0x20], 0x5f
call dword [0x45c0c8]
lea esi, [edi + 0x284]
mov eax, esi
call fcn.00434210
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040169d
mov ebx, eax
and dword [ebp - 4], 0
push 0x464128
lea eax, [ebp - 0x18]
push eax
call fcn.0040169d
lea ecx, [ebp - 0x10]
push ebx
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040b3ae
pop ecx
pop ecx
mov byte [ebp - 4], 2
push dword [eax]
call fcn.0040c073
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401143
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401143
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401143
push 1
mov eax, esi
call fcn.00434210
push eax
call fcn.00432dc0
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.00433510
mov esi, eax
mov ebx, str.Shuame_
push ebx
push esi
mov dword [ebp - 4], 3
call fcn.00434300
push 1
mov eax, esi
call fcn.00434210
push eax
call fcn.00432dc0
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x34]
call fcn.0040b44b
cmp byte [edi + 0x2c4], 0
je 0x40d42d
mov eax, dword [0x476e64]
mov ecx, 0x476e64
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 1
push 5
lea eax, [ebp]
push eax
push 0
mov dword [ebp - 4], 4
call dword [0x45c32c]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040172d
push 0x462884
lea eax, [ebp - 0x10]
push eax
call fcn.00401753
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.00401753
mov esi, dword [ebp - 0x10]
push 1
push esi
call fcn.00432dc0
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea eax, [esi - 0x10]
call fcn.00401143
lea eax, [edi + 0x1c]
mov edx, dword [eax + 8]
add edx, 7
call fcn.0040c042
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.0043c333
add ebp, 0x210
leave
ret

Function at 0x416b4f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
call fcn.0041749a
push 0x44c
mov eax, edi
call fcn.004179e6
test eax, eax
je 0x416b77
call fcn.0040c3e4
mov byte [eax + 0x2c4], 1
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push edi
push 0x416af9
push eax
push eax
mov dword [ebp - 4], eax
call fcn.0043fe5b
add esp, 0x18
call fcn.00416a85
pop edi
leave
ret
Function at 0x416c25
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x6a
push dword [0x476e28]
mov edi, eax
call dword [0x45c418]
mov esi, dword [0x45c348]
push eax
push 0
mov ebx, 0x80
push ebx
lea ebp, [edi + 4]
push dword [ebp]
mov dword [esp + 0x20], eax
call esi
push dword [esp + 0x10]
push 1
push ebx
push dword [ebp]
call esi
mov ebx, dword [ebp]
call fcn.0040c3e4
mov dword [eax + 0x2bc], ebx
mov dword [edi + 0x5b0], 0x3ea
mov eax, dword [0x478198]
test eax, eax
je 0x416c87
mov ecx, dword [ebp]
mov dword [eax], ecx
lea ebx, [edi + 0x5bc]
test ebx, ebx
je 0x416cb7
and dword [ebx], 0
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
call fcn.0041a4d9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x416cb7
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x416ccc
push dword [ebp]
call fcn.00429924
mov ebx, dword [ebx]
call fcn.00429a8d
push ecx
mov eax, esp
mov dword [eax], 0x582
push ecx
mov eax, esp
and dword [eax], 0
mov eax, dword [edi + 0x30]
lea ebx, [edi + 0x4d0]
push eax
mov eax, ebx
call fcn.00417888
call fcn.004160eb
push 1
push eax
push 0x30
push dword [edi + 0x4d4]
call esi
mov eax, dword [ebx]
push 0x464880
mov ecx, ebx
call dword [eax + 0x14]
mov eax, dword [ebx]
push 2
mov ecx, ebx
call dword [eax + 0x28]
push ecx
mov eax, esp
mov dword [eax], 0x583
push ecx
mov eax, esp
and dword [eax], 0
mov eax, dword [edi + 0x30]
lea ebx, [edi + 0x518]
push eax
mov eax, ebx
call fcn.00417888
call fcn.004160eb
push 1
push eax
push 0x30
push dword [edi + 0x51c]
call esi
mov eax, dword [ebx]
push 0x464880
mov ecx, ebx
call dword [eax + 0x14]
mov eax, dword [ebx]
push 2
mov ecx, ebx
call dword [eax + 0x28]
push ecx
mov eax, esp
mov dword [eax], 0x584
push ecx
mov eax, esp
and dword [eax], 0
mov eax, dword [edi + 0x30]
lea ebx, [edi + 0x560]
push eax
mov eax, ebx
call fcn.00417888
call fcn.004160eb
push 1
push eax
push 0x30
push dword [edi + 0x564]
call esi
mov eax, dword [ebx]
push 0x464890
mov ecx, ebx
call dword [eax + 0x14]
mov eax, dword [ebx]
push 2
mov ecx, ebx
call dword [eax + 0x28]
push 0x585
lea esi, [edi + 0x2c]
call fcn.00418063
push dword [ebp]
mov dword [edi + 0x5a8], eax
call dword [0x45c3a0]
mov edi, dword [0x45c364]
push 3
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp]
call edi
push 5
push dword [ebp]
call dword [0x45c35c]
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push dword [ebp]
call edi
push ebp
call fcn.00403b55
push esi
push 0x32
push 0x465
push dword [ebp]
call dword [0x45c450]
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
pop ecx
ret