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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00445160
xor ebx, ebx
cmp dword [0x476bec], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x450efa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x450fda
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x450fda
push eax
call fcn.004450f2
mov dword [esp], 0x461128
push edi
mov dword [0x476bec], eax
call esi
push eax
call fcn.004450f2
mov dword [esp], 0x461114
push edi
mov dword [0x476bf0], eax
call esi
push eax
call fcn.004450f2
mov dword [0x476bf4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043deb2
test eax, eax
pop ecx
pop ecx
je 0x450ec8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043da97
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x450efa
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004450f2
cmp eax, ebx
pop ecx
mov dword [0x476bfc], eax
je 0x450efa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004450f2
pop ecx
mov dword [0x476bf8], eax
mov eax, dword [0x476bf8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x450f7f
cmp dword [0x476bfc], ecx
je 0x450f7f
push eax
call fcn.00445169
push dword [0x476bfc]
mov esi, eax
call fcn.00445169
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x450f7f
cmp edi, ebx
je 0x450f7f
call esi
cmp eax, ebx
je 0x450f4c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x450f4c
test byte [ebp - 0x18], 1
jne 0x450f7f
lea eax, [ebp - 0x10]
push eax
call fcn.0043dee9
test eax, eax
pop ecx
je 0x450f67
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043da97
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x450f76
or dword [ebp + 0x10], 0x200000
jmp 0x450fba
or dword [ebp + 0x10], 0x40000
jmp 0x450fba
mov eax, dword [0x476bf0]
cmp eax, dword [ebp - 8]
je 0x450fba
push eax
call fcn.00445169
cmp eax, ebx
pop ecx
je 0x450fba
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x450fba
mov eax, dword [0x476bf4]
cmp eax, dword [ebp - 8]
je 0x450fba
push eax
call fcn.00445169
cmp eax, ebx
pop ecx
je 0x450fba
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x476bec]
call fcn.00445169
cmp eax, ebx
pop ecx
je 0x450fda
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x450fdc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x456718
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4727f0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004566ad
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00440c10
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x456767
cmp dword [ebp - 0x1c], 5
jb 0x45677f
jmp 0x45677b
cmp dword [ebp - 0x10], 1
jne 0x45677f
cmp dword [ebp - 0x1c], 4
ja 0x45677b
jne 0x45677f
cmp dword [ebp - 0x18], 0
jbe 0x45677f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x462aa4
call fcn.0045659e
test eax, eax
jge 0x4567a0
mov byte [0x486ffc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043d963
add ebp, 0x78
leave
ret
Function at 0x5f0700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x124000]
push edi
jmp 0x5f071a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5f0721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f0710
mov eax, 1
add ebx, ebx
jne 0x5f0733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5f0744
jne 0x5f0763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f0763
dec eax
add ebx, ebx
jne 0x5f0750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5f0728
add ebx, ebx
jne 0x5f075f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5f07b5
xor ecx, ecx
sub eax, 3
jb 0x5f077b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5f07ea
sar eax, 1
mov ebp, eax
jmp 0x5f0786
add ebx, ebx
jne 0x5f0786
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f0754
inc ecx
add ebx, ebx
jne 0x5f0794
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f0754
add ebx, ebx
jne 0x5f07a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5f0796
jne 0x5f07b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f0796
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5f07d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5f07c6
jmp 0x5f0716
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5f07d4
add edi, ecx
jmp 0x5f0716
pop esi
mov edi, esi
mov ecx, 0x1f1c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5f07f2
cmp byte [edi], 0xe
jne 0x5f07f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5f07f7
lea edi, [esi + 0x1ec000]
mov eax, dword [edi]
or eax, eax
je 0x5f0866
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f68cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f696c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5f0824
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f6970]
or eax, eax
je 0x5f0860
mov dword [ebx], eax
add ebx, 4
jmp 0x5f0841
call dword [esi + 0x1f6980]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5f0897
cmp al, 0xef
ja 0x5f088a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5f086c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5f0879
mov ebp, dword [esi + 0x1f6974]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5f08cb
sub esp, 0xffffff80
jmp 0x433c8a
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x1b], 0
lea ebx, [edi + 1]
jne 0x401375
cmp byte [0x4a0b80], 0
mov dword [ebp + 0xc], ebx
jne 0x401375
mov byte [0x4a0b80], bl
mov byte [esp + 0x1b], bl
cmp dword [0x4a2c14], edi
je 0x4013a9
cmp dword [0x4a2c04], edi
je 0x401397
mov eax, dword [0x4a2bfc]
push eax
call dword [0x48d2bc]
mov dword [0x4a2c04], edi
call dword [0x48d564]
mov dword [0x4a2c14], edi
mov dword [0x4a2bfc], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x4013c9
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x58], 1
mov dword [esp + 0x6c], edi
jmp 0x4013e7
cmp esi, 5
setle al
mov byte [esp + 0x58], al
test al, al
je 0x4013dd
mov dword [esp + 0x6c], edi
jmp 0x4013e7
call dword [0x48d2e4]
mov dword [esp + 0x6c], eax
cmp dword [0x4a24a0], edi
je 0x4013f4
call fcn.00402b90
mov byte [esp + 0x18], 0
cmp dword [0x4a30b0], edi
je 0x40140f
call fcn.00402a20
test al, al
je 0x40140f
mov byte [esp + 0x18], 1
cmp esi, edi
jle 0x40162d
cmp dword [ebp + 0xc], ebx
jne 0x40162d
add dword [0x4a0b90], ebx
cmp byte [0x4a0b7a], 0
mov byte [esp + 0x19], 1
jne 0x401451
mov ecx, dword [0x4a0a38]
push edi
push 0xa
push 9
push ecx
call dword [0x48d60c]
test eax, eax
setne dl
mov byte [0x4a0b7a], dl
mov byte [esp + 0x23], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], 0
jmp 0x401451
Function at 0x406090
Capabilities:
Encode data using xor

Disassembly:
jne 0x40601d
and al, 0x10
sbb dword [ebp + 0xc], 0x8bd37d24
fldenv [ebp + 4]
invalid
Function at 0x403700
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x4ab000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [sym.imp.binkw32.dll__BinkOpenDirectSound_4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push edx
mov dword [ebp - 0x18c], eax
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], ecx
call dword [sym.imp.binkw32.dll__BinkSetSoundSystem_8]
push esi
call fcn.00403cf0
mov ecx, dword [0x4bebf4]
sub ecx, dword [0x4bebf0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add esp, 4
add eax, edx
mov dword [ebp - 0x188], ebx
je 0x403871
mov edi, edi
lea ecx, [ebp - 0x184]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [0x4bebf0]
cmp dword [ebx + edx + 0x14], 0x10
lea eax, [ebx + edx]
jb 0x403794
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x84]
push str.Datamovies_s.bik
push eax
call fcn.0045d6a0
lea eax, [ebp - 0x84]
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4037b1
lea edi, [ebp - 0x184]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4037c1
mov ecx, eax
fld1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x4bebf0]
push ecx
lea ecx, [ebp - 0x184]
lea eax, [ebx + edx]
fst dword [esp]
push 1
fldz
sub esp, 0x14
fst dword [esp + 0x10]
fxch st(1)
fst dword [esp + 0xc]
fstp dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x190], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004019d0
mov ecx, dword [ebp - 0x18c]
call fcn.00403420
mov ecx, dword [0x4bebf4]
sub ecx, dword [0x4bebf0]
mov esi, dword [ebp - 0x188]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebx, 0x1c
mov dword [ebp - 0x188], esi
cmp esi, eax
jb 0x403770
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d691
mov esp, ebp
pop ebp
ret 8

Function at 0x4095b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
je 0x4095e2
mov eax, dword [0x4af448]
test eax, eax
je 0x4095ec
mov ecx, dword [ebp + 0xc]
push ecx
push 0x492598
push eax
call fcn.0045de83
mov edx, dword [0x4af448]
push edx
call fcn.0045de27
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebp
ret
Function at 0x409690
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4ab000]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov esi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], 0x507e6
mov dword [ebp - 0xe], 0x50014
mov dword [ebp - 0xa], 0xb0025
call esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
call esi
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x14]
push eax
call esi
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x409726
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x409726
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045d691
mov esp, ebp
pop ebp
ret

Function at 0x40a3e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1444
call fcn.0045e2e0
mov eax, dword [0x4ab000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x244]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x492744
push 0x492740
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x444]
push str._s_s_s
push edx
call fcn.00409dc0
add esp, 0x14
xor ebx, ebx
jmp 0x40a440
mov eax, dword [ebx*8 + 0x4ac354]
mov ecx, dword [ebx*8 + 0x4ac350]
push eax
push ecx
lea edx, [ebp - 0x44]
push str._32s__3d_n
push edx
call fcn.0045d6a0
add esp, 0x10
test ebx, ebx
jne 0x40a482
xor eax, eax
jmp 0x40a470
mov cl, byte [ebp + eax - 0x44]
mov byte [ebp + eax - 0x1444], cl
inc eax
test cl, cl
jne 0x40a470
jmp 0x40a4af
lea eax, [ebp - 0x44]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a487
lea edi, [ebp - 0x1444]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40a497
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc ebx
cmp ebx, 0x40
jl 0x40a440
lea eax, [ebp - 0x444]
push 0x49271c
push eax
call fcn.0045e277
mov esi, eax
add esp, 8
test esi, esi
je 0x40a4ea
lea ecx, [ebp - 0x1444]
push ecx
push 0x492718
push esi
call fcn.0045e19e
push esi
call fcn.0045e12a
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d691
mov esp, ebp
pop ebp
ret
Function at 0x40a500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4ab000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x224]
push eax
xor ebx, ebx
push 0x100
mov dword [ebp - 0x428], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x492744
push 0x492740
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x424]
push str._s_s_s
push edx
call fcn.00409dc0
lea eax, [ebp - 0x424]
push 0x492760
push eax
call fcn.0045e277
mov edi, eax
add esp, 0x1c
cmp edi, ebx
je 0x40a5ea
mov esi, 0x4ac354
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x24]
push edx
push str._s__d
push edi
mov dword [ebp - 0x428], 0xffffffff
call fcn.0045e405
mov eax, dword [esi - 4]
add esp, 0x10
lea ecx, [ebp - 0x24]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40a5c0
cmp dl, bl
je 0x40a5bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40a5c0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x40a5a0
xor eax, eax
jmp 0x40a5c5
sbb eax, eax
sbb eax, 0xffffffff
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x428]
add esi, 8
mov dword [esi - 8], eax
cmp esi, 0x4ac554
jl 0x40a571
push edi
call fcn.0045e12a
add esp, 4
jmp 0x40a5ef
call fcn.0040a3e0
xor esi, esi
mov eax, dword [esi*8 + 0x4ac354]
push eax
push esi
mov byte [esi*2 + 0x4ac550], bl
mov byte [esi*2 + 0x4ac551], bl
call fcn.004095f0
inc esi
add esp, 8
cmp esi, 0x40
jl 0x40a5f1
push 1
push 1
push 5
call fcn.00409d80
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d691
mov esp, ebp
pop ebp
ret
Function at 0x40a640
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4ab000]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x4aa040]
mov edx, edi
cmp edi, 0x32
jg 0x40a73c
mov edx, dword [edi*4 + 0x4ac7ec]
mov eax, edx
movzx ecx, word [0x4aa03c]
mov esi, dword [0x4ac7c0]
imul ecx, ecx, 0x578
add edx, ecx
add eax, ecx
fild dword [edx*4 + 0x4af294]
lea edx, [edi + 1]
fstp dword [eax*4 + 0x4af3ac]
cmp edx, esi
jg 0x40a6ca
jmp 0x40a6a0
mov eax, dword [edx*4 + 0x4ac7ec]
add eax, ecx
lea eax, [eax*4 - 0x15e4]
fild dword [eax + 0x4b0878]
fld dword [eax + 0x4b0990]
fcompp
fnstsw ax
test ah, 1
jne 0x40a743
inc edx
cmp edx, esi
jle 0x40a6a0
cmp edi, 1
jle 0x40a7d6
mov edx, 1
dec edi
cmp edi, edx
jl 0x40a70e
lea ecx, [ecx]
mov eax, dword [edx*4 + 0x4ac7ec]
add eax, ecx
lea eax, [eax*4 - 0x15e4]
fild dword [eax + 0x4b0878]
fld dword [eax + 0x4b0990]
fcompp
fnstsw ax
test ah, 1
jne 0x40a7b2
inc edx
cmp edx, edi
jle 0x40a6e0
mov eax, 1
cmp esi, eax
jl 0x40a730
fldz
mov edx, dword [eax*4 + 0x4ac7ec]
add edx, ecx
inc eax
fst dword [edx*4 + 0x4af3ac]
cmp eax, esi
jle 0x40a719
fstp st(0)
mov eax, 1
mov dword [0x4aa040], eax
jmp 0x40a775
mov eax, edi
jmp 0x40a66f
push edx
lea ecx, [ebp - 0x204]
push str.g_nDiff_Found:__d_n
push ecx
mov dword [0x4aa040], edx
call fcn.00409dc0
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4aa040]
cmp eax, 0x32
jg 0x40a77c
mov eax, dword [eax*4 + 0x4ac7ec]
movzx ecx, word [0x4aa03c]
imul ecx, ecx, 0x578
add ecx, eax
fld dword [ecx*4 + 0x4af3ac]
fmul qword [0x492768]
call fcn.0045d810
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x4aca5c], eax
pop esi
call fcn.0045d691
mov esp, ebp
pop ebp
ret
push edx
lea eax, [ebp - 0x204]
push str.g_nDiff_Found:__d_n
push eax
mov dword [0x4aa040], edx
call fcn.00409dc0
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
jmp 0x40a765
mov eax, 1
cmp esi, eax
jl 0x40a730
fldz
mov edx, dword [eax*4 + 0x4ac7ec]
add edx, ecx
inc eax
fst dword [edx*4 + 0x4af3ac]
cmp eax, esi
jle 0x40a7e5
mov eax, 1
fstp st(0)
mov dword [0x4aa040], eax
jmp 0x40a775

Function at 0x40aa20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4ab000]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4af4cf], 0
jne 0x40aaa6
mov eax, dword [0x4acc30]
push 0x492
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x4acc30]
push 0
push 0x1e
push 0x492
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [0x4a9f04]
mov eax, dword [0x4a9f08]
mov ecx, dword [0x4a9f10]
push edx
mov edx, dword [0x4a9f0c]
push eax
push ecx
push edx
lea eax, [ebp - 0x204]
push str.g_nTryMultiple:__d__d___g_nCurMultiple:__d__d__n
push eax
mov byte [0x4af4cf], 1
call fcn.00409dc0
add esp, 0x18
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d691
mov esp, ebp
pop ebp
ret
Function at 0x40aac0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4ab000]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x404]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [0x4aa040]
cmp eax, 0x32
jg 0x40aaf6
mov eax, dword [eax*4 + 0x4ac7ec]
movzx ecx, word [0x4aa03c]
push esi
push eax
push ecx
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x204]
push str._sDataSetting_dSetting_02d.chp
push eax
call fcn.00409dc0
lea ecx, [ebp - 0x204]
push 0x492998
push ecx
call fcn.0045e277
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x40ab86
push 0
push 4
push esi
call fcn.0045e90f
mov eax, dword [0x4aa040]
add esp, 0xc
cmp eax, 0x32
jg 0x40ab50
mov eax, dword [eax*4 + 0x4ac7ec]
movzx edx, word [0x4aa03c]
imul edx, edx, 0x578
push esi
push 1
add edx, eax
lea eax, [edx*4 + 0x4af3ac]
push 4
push eax
call fcn.0045eae2
push esi
call fcn.0045e12a
lea ecx, [ebp - 0x204]
push ecx
call fcn.00409690
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045d691
mov esp, ebp
pop ebp
ret

Function at 0x40ac50
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4ab000]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x404]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, 0x4ac7f0
lea esp, [esp]
mov ecx, dword [edi]
movzx edx, word [0x4aa03c]
push ecx
push edx
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x204]
push str._sDataSetting_dSetting_02d.chp
push ecx
call fcn.00409dc0
lea edx, [ebp - 0x204]
push 0x492998
push edx
call fcn.0045e277
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x40ad01
push 0
push 4
push esi
call fcn.0045e90f
fldz
movzx eax, word [0x4aa03c]
imul eax, eax, 0x578
add eax, dword [edi]
push esi
push 1
lea eax, [eax*4 + 0x4af3ac]
push 4
push eax
fstp dword [eax]
call fcn.0045eae2
push esi
call fcn.0045e12a
lea eax, [ebp - 0x204]
push eax
call fcn.00409690
add esp, 0x24
add edi, 4
cmp edi, 0x4ac8b8
jl 0x40ac80
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045d691
mov esp, ebp
pop ebp
ret

Function at 0x40ad20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4ab000]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
push 0x26
call fcn.00409d80
lea eax, [ebp - 0x204]
push str.IDT_LIGHTNING_LONG_called._n
push eax
call fcn.00409dc0
add esp, 0x14
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [0x4acc30]
push 0x4ad
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d691
mov esp, ebp
pop ebp
ret