joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401720
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov eax, 0xf01ff
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._OpenServiceA_12
mov dword [ebp - 0x3c], 1
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x4017e4
mov dword [esp], eax
lea edi, [ebp - 0x38]
mov dword [esp + 4], edi
call sym._QueryServiceStatus_8
mov eax, dword [ebp - 0x34]
sub esp, 8
cmp eax, 1
je 0x40180a
cmp eax, 4
je 0x4017ed
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._QueryServiceStatus_8
sub esp, 8
test eax, eax
je 0x4017ce
xor ebx, ebx
jmp 0x40179b
dec eax
je 0x4017c7
inc ebx
cmp ebx, 0x77
jg 0x4017ce
mov eax, dword [ebp - 0x34]
cmp eax, 3
jne 0x401792
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._QueryServiceStatus_8
sub esp, 8
test eax, eax
je 0x4017c7
mov dword [esp], 0x64
call sym._Sleep_4
sub esp, 4
jmp 0x401795
mov dword [ebp - 0x3c], 0
mov dword [esp], esi
call sym._CloseServiceHandle_4
sub esp, 4
mov eax, dword [ebp - 0x3c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x3c], 2
jmp 0x4017d9
mov dword [esp + 8], edi
mov eax, 1
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._ControlService_12
sub esp, 0xc
jmp 0x40177b
mov dword [esp], esi
call sym._CloseServiceHandle_4
sub esp, 4
mov eax, 3
jmp 0x4017dc

Function at 0x401820
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov eax, 0xf01ff
mov ebp, esp
push ebx
sub esp, 0x34
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._OpenServiceA_12
mov ebx, eax
sub esp, 0xc
test ebx, ebx
mov eax, 1
je 0x401878
mov dword [esp], ebx
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
call sym._QueryServiceStatus_8
sub esp, 8
cmp dword [ebp - 0x24], 1
je 0x401880
mov dword [esp], ebx
call sym._CloseServiceHandle_4
sub esp, 4
mov eax, 1
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp], ebx
xor eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call sym._StartServiceA_12
sub esp, 0xc
test eax, eax
je 0x401868
mov dword [esp], ebx
call sym._CloseServiceHandle_4
sub esp, 4
mov ebx, dword [ebp - 4]
xor eax, eax
leave
ret
Function at 0x403440
Capabilities:
Create process on windows

Disassembly:
push ebp
mov eax, 1
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, str.open
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._ShellExecuteA_24
sub esp, 0x18
xor edx, edx
cmp eax, 0x20
jbe 0x403489
mov ebx, dword [ebp - 4]
mov eax, edx
leave
ret
mov dword [esp], ebx
call sym.shellExecuteError_char_const_
mov edx, 0xffffffff
jmp 0x403482

Function at 0x403500
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov dword [ebp - 0xc], ebx
xor ebx, ebx
mov dword [ebp - 8], esi
mov esi, 0xf003f
mov dword [ebp - 4], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call sym._OpenSCManagerA_12
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x40358f
mov dword [esp], eax
mov ecx, 4
mov edx, str.wfilterd
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call sym._OpenServiceA_12
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x4035a1
mov dword [esp], esi
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
call sym._QueryServiceStatus_8
sub esp, 8
test eax, eax
je 0x403579
cmp dword [ebp - 0x34], 1
je 0x40360f
mov dword [esp], esi
call sym._CloseServiceHandle_4
sub esp, 4
mov dword [esp], edi
call sym._CloseServiceHandle_4
sub esp, 4
mov ebx, dword [ebp - 0xc]
mov eax, 1
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, 0x400
lea ebx, [ebp - 0x438]
mov esi, str.wwwDocerror.htm
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._memset
mov dword [esp], str.noservice
call sym.createErrorPage_char_const_
call sym.getLaunchPath__
mov dword [esp + 8], eax
mov ecx, 0x4b706b
mov dword [esp + 0xc], esi
mov dword [esp + 4], ecx
mov dword [esp], ebx
call sym._sprintf
mov dword [esp], ebx
call sym.mainShellExecute_char_const_
mov dword [esp], edi
call sym._CloseServiceHandle_4
sub esp, 4
mov ebx, dword [ebp - 0xc]
xor eax, eax
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], edi
mov eax, 0x10
mov dword [esp + 8], eax
mov eax, str.wfilterd
mov dword [esp + 4], eax
call sym._OpenServiceA_12
sub esp, 0xc
mov ebx, eax
xor eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._StartServiceA_12
sub esp, 0xc
mov dword [esp], ebx
call sym._CloseServiceHandle_4
sub esp, 4
jmp 0x403579
Function at 0x403660
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
sub esp, 0x458
movzx eax, byte [ebp + 8]
mov dword [ebp - 0xc], ebx
mov ebx, 0xf003f
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov byte [ebp - 0x439], al
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], 0
call sym._OpenSCManagerA_12
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x4036fe
mov dword [esp], edi
mov edx, 0xf01ff
mov eax, str.wfilterd
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._OpenServiceA_12
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x403790
mov dword [esp], esi
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
call sym._QueryServiceStatus_8
mov eax, dword [ebp - 0x34]
sub esp, 8
cmp eax, 4
je 0x403710
dec eax
je 0x4037fe
mov dword [esp], esi
call sym._CloseServiceHandle_4
sub esp, 4
mov dword [esp], edi
call sym._CloseServiceHandle_4
sub esp, 4
mov ebx, dword [ebp - 0xc]
mov eax, 1
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], esi
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
call sym._ControlService_12
sub esp, 0xc
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._QueryServiceStatus_8
sub esp, 8
test eax, eax
je 0x4036e8
xor ebx, ebx
jmp 0x403756
dec eax
je 0x40381a
inc ebx
cmp ebx, 0x77
jg 0x403858
mov eax, dword [ebp - 0x34]
cmp eax, 3
jne 0x403745
mov dword [esp], esi
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
call sym._QueryServiceStatus_8
sub esp, 8
test eax, eax
je 0x40381a
mov dword [esp], 0x64
call sym._Sleep_4
sub esp, 4
jmp 0x40374c
xor ecx, ecx
lea ebx, [ebp - 0x438]
mov esi, 0x400
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp], ebx
call sym._memset
mov dword [esp], str.noservice
call sym.createErrorPage_char_const_
call sym.getLaunchPath__
mov dword [esp + 8], eax
mov edx, str.wwwDocerror.htm
mov eax, 0x4b706b
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._sprintf
mov dword [esp], ebx
call sym.mainShellExecute_char_const_
mov dword [esp], edi
call sym._CloseServiceHandle_4
sub esp, 4
mov ebx, dword [ebp - 0xc]
xor eax, eax
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], esi
xor eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call sym._StartServiceA_12
sub esp, 0xc
jmp 0x4036e8
cmp dword [ebp - 0x34], 1
jne 0x4036e8
cmp byte [ebp - 0x439], 0
je 0x403839
mov dword [esp], edi
call sym.restartDriver_SC_HANDLE___
test al, al
je 0x403858
mov dword [esp], esi
xor eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call sym._StartServiceA_12
sub esp, 0xc
test eax, eax
jne 0x4036e8
mov dword [esp], esi
call sym._CloseServiceHandle_4
sub esp, 4
jmp 0x4037e4
Function at 0x404960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
lea edx, [ebp - 0xc]
push edi
mov edi, 0x200
push esi
xor esi, esi
push ebx
sub esp, 0x5c
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], sym.___gxx_personality_sj0
mov ebx, 0x1ff
mov dword [ebp - 0x24], 0x4b26a8
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x40]
mov dword [esp], eax
mov dword [ebp - 0x1c], 0x404b1e
mov dword [ebp - 0x18], esp
call sym.__Unwind_SjLj_Register
mov dword [ebp - 0x3c], 0xffffffff
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym.IMCfg::IMCfg__
mov edx, dword [ebp - 0x44]
mov dword [edx], fcn.00406b60
mov byte [edx + 0x10], 0
add edx, 0x84
mov dword [ebp - 0x48], edx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], edx
call sym._memset
mov dword [esp + 8], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call sym._strncpy
mov ecx, dword [ebp - 0x48]
mov ebx, ecx
nop
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0x404a00
test edx, 0x8080
jne 0x404a25
shr edx, 0x10
add ecx, 2
add dl, dl
mov edx, dword [ebp - 0x44]
sbb ecx, 3
sub ecx, ebx
lea eax, [ecx + edx]
movzx ecx, byte [eax + 0x83]
lea ebx, [eax + 0x83]
jmp 0x404a48
mov byte [ebx], 0
dec ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 0x5c
sete al
or dl, al
jne 0x404a41
cmp cl, 0x2f
je 0x404a41
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call method.IMConfig.checkIsDatabase__
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x48], 0
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ebp - 0x44]
xor ecx, ecx
mov dword [edx + eax*4 + 0x4c], ecx
inc eax
cmp eax, 0xa
jle 0x404ac0
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [edx + 0x80], eax
lea eax, [ebp - 0x40]
mov dword [edx + 0x78], 0
mov dword [edx + 0x7c], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], 0
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41e310
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0x198]
push ebx
sub esp, 0x274
lea ebx, [ebp - 0x268]
mov dword [esp + 4], eax
mov dword [esp], 0x202
call sym._WSAStartup_8
sub esp, 8
mov dword [esp], 0x800
call sym.__setmaxstdio
mov dword [esp], ebx
mov eax, 0xc8
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call sym._memset
mov dword [esp], ebx
mov eax, 0x79735c2e
mov ecx, 0x4b8a42
mov dword [ebp - 0x268], eax
mov eax, 0x6f6c2e73
mov dword [ebp - 0x264], eax
mov eax, 0x67
mov word [ebp - 0x260], ax
mov dword [esp + 4], ecx
call sym._fopen
test eax, eax
je 0x41e39b
mov dword [esp], eax
call sym._fclose
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x420380
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x48]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
mov byte [ebp - 0x449], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.__stat
xor edx, edx
test eax, eax
je 0x4203c0
mov ebx, dword [ebp - 0xc]
mov eax, edx
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._strlen
mov byte [ebp - 0x449], al
mov eax, 0x4b8ba0
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
xor edx, edx
test eax, eax
mov ebx, eax
je 0x4203b1
mov dword [esp], esi
mov eax, 0x4b8ba3
mov dword [esp + 4], eax
call sym._fopen
test eax, eax
mov esi, eax
je 0x4204d3
xor ecx, ecx
mov eax, 0x400
lea edi, [ebp - 0x448]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._memset
mov dword [esp + 0xc], ebx
mov eax, 1
mov edx, 1
mov dword [esp + 4], eax
lea eax, [ebp - 0x449]
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._fwrite
mov dword [esp + 0xc], ebx
movzx eax, byte [ebp - 0x449]
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._fwrite
mov dword [esp + 0xc], ebx
mov eax, 1
mov dword [esp + 8], eax
mov eax, 4
mov dword [esp + 4], eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
jmp 0x4204a4
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._fwrite
mov dword [esp + 0xc], esi
mov eax, 0x400
mov ecx, 1
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edi
call sym._fread
test eax, eax
jne 0x420490
mov dword [esp], esi
call sym._fclose
mov dword [esp], ebx
call sym._fclose
mov ebx, dword [ebp - 0xc]
mov edx, 1
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
mov eax, edx
pop ebp
ret
Function at 0x4204f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x51d]
push esi
lea esi, [ebp - 0x118]
push ebx
sub esp, 0x52c
mov ebx, 0x4b8ba3
mov byte [ebp - 0x51d], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
mov ebx, eax
xor eax, eax
test ebx, ebx
jne 0x4205c5
jmp 0x4205ed
mov dword [esp], esi
xor edx, edx
mov ecx, 0xff
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call sym._memset
xor eax, eax
mov dword [ebp - 0x51c], eax
mov dword [esp + 0xc], ebx
movzx eax, byte [ebp - 0x51d]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
call sym._fread
mov dword [esp + 0xc], ebx
mov eax, 1
mov dword [esp + 8], eax
mov eax, 4
mov dword [esp + 4], eax
lea eax, [ebp - 0x51c]
mov dword [esp], eax
call sym._fread
mov dword [esp + 4], esi
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._strcmp
test eax, eax
je 0x4205f8
mov eax, 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x51c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._fseek
mov dword [esp + 0xc], ebx
mov eax, 1
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._fread
test eax, eax
jne 0x420534
xor eax, eax
add esp, 0x52c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x4b8ba6
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._fopen
test eax, eax
mov edi, eax
je 0x4205eb
mov eax, 0x400
xor esi, esi
mov dword [esp + 8], eax
lea eax, [ebp - 0x518]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memset
mov eax, dword [ebp - 0x51c]
jmp 0x420697
cmp eax, 0x400
mov esi, 0x400
ja 0x420645
mov esi, eax
mov dword [esp + 8], esi
mov ecx, 1
lea eax, [ebp - 0x518]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._fread
test eax, eax
mov esi, eax
je 0x42069b
mov dword [esp + 8], eax
mov edx, 1
lea eax, [ebp - 0x518]
mov dword [esp + 0xc], edi
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._fwrite
mov eax, dword [ebp - 0x51c]
sub eax, esi
mov dword [ebp - 0x51c], eax
test eax, eax
jg 0x420637
mov dword [esp], edi
call sym._fclose
mov dword [esp], ebx
call sym._fclose
add esp, 0x52c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x432d00
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x54c
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x53c], eax
mov eax, 6
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.__access
inc eax
je 0x432da6
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x53c]
lea ebx, [ebp - 0x338]
lea esi, [ebp - 0x538]
mov dword [esp], eax
call method.IMCfg.addFile_char_const_
mov dword [esp], ebx
mov eax, 0x200
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call sym._memset
mov dword [esp], esi
mov eax, 0x200
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call sym._memset
mov dword [esp], ebx
mov eax, str._s
mov dword [esp + 8], edi
mov dword [esp + 4], eax
call sym._sprintf
mov dword [esp], ebx
lea eax, [ebp - 0x138]
mov dword [esp + 4], eax
call sym.__findfirst
cmp eax, 0xffffffff
mov ebx, eax
jne 0x432de0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x53c]
mov dword [esp], eax
call method.IMCfg.addFile_char_const_
mov dword [esp], ebx
lea eax, [ebp - 0x138]
mov dword [esp + 4], eax
call sym.__findnext
test eax, eax
jne 0x432e24
nop
lea esi, [esi]
mov dword [esp + 8], edi
mov ecx, str._s_s
lea eax, [ebp - 0x124]
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call sym._sprintf
mov dword [esp], esi
call sym._GetFileAttributesA_4
sub esp, 4
test al, 0x10
je 0x432db0
mov dword [esp], ebx
lea eax, [ebp - 0x138]
mov dword [esp + 4], eax
call sym.__findnext
test eax, eax
je 0x432de0
mov dword [esp], ebx
call sym.__findclose
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x45b8b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x45c350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x478]
push esi
lea esi, [ebp - 0x418]
push ebx
sub esp, 0x47c
mov dword [esp], edi
call sym._MD5Init
mov eax, 0x4ba7c0
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
test eax, eax
mov ebx, eax
jne 0x45c3a0
jmp 0x45c3d9
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edi
call sym._MD5Update
mov dword [esp + 0xc], ebx
mov eax, 0x400
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._fread
test eax, eax
jg 0x45c390
mov dword [esp + 4], edi
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._MD5Final
mov dword [esp], ebx
call sym._fclose
add esp, 0x47c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x468720
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00468660
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sym._read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x46876c
call sym.__errno
cmp dword [eax], 4
je 0x468740
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x469180
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.004697b0
call sym.___main
call sym._GetCommandLineA_0
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sym._GetStartupInfoA_4
sub esp, 4
test ebx, ebx
jne 0x4691b8
jmp 0x469254
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x4691b7
cmp cl, 0x22
je 0x469210
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x469230
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x469230
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x4691f0
jmp 0x469230
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x469210
cmp cl, 0x22
je 0x469290
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x46924e
inc ebx
movzx eax, byte [ebx]
cmp al, 0x20
sete dl
cmp al, 9
sete al
or eax, edx
test al, 1
jne 0x469240
mov dword [esp], 0
call sym._GetModuleHandleA_4
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x469272
movzx edx, word [ebp - 0x28]
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x469230

Function at 0x4697e0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x4c5ad0]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x469820
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call sym.___mingwthr_key_dtor
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x2c], eax
add esp, 0x14
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x2c], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x469bd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x4c5ad0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x469cac
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x469cc1
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x469c80
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x469c18
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x469c28
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x469c73
test edx, edx
jne 0x469c66
test ecx, ecx
je 0x469c10
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call ecx
cmp eax, 6
je 0x469cd0
cmp eax, 8
je 0x469c10
mov eax, 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x469c02
call sym.___w32_sharedptr_initialize
mov eax, dword [0x4c5ad0]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jns 0x469bf4
call sym._fc_key_init_once
mov eax, dword [0x4c5ad0]
jmp 0x469bf4
mov dword [edi + 0xc], 0
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x469c6b
mov eax, dword [0x4c5ad0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x469d23
mov edi, dword [eax + 0x2c]
test edi, edi
js 0x469d4e
mov esi, dword [eax + 0x2c]
test esi, esi
jne 0x469d2f
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call sym.___w32_sharedptr_initialize
mov eax, dword [0x4c5ad0]
jmp 0x469d01
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x469d12
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x469d12
call sym._fc_key_init_once
mov eax, dword [0x4c5ad0]
jmp 0x469d08