Function at 0x100059c0
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004e86c
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
push edi
mov eax, dword [0x10062da0]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push str.CEdpEDiskCtrlInterface::Login
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push 0
mov dword [esp + 0x1c], ecx
push 0x560
push str.CEdpEDiskCtrlInterface::Login
mov ecx, str..EdpEDiskCtrlInterface.cpp
mov dword [esp + 0x28], ebx
mov dword [esp + 0xcc], eax
call fcn.10010760
add esp, 0x10
lea esi, [ebx + 0x180]
push 0
push 0x1005571a
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.10002b90
push str.EdpEDisk__CEdpEDiskCtrlInterface::Login_11
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [ebp + 0xc]
push edi
mov ecx, 0x1006a1c8
call fcn.1001a8b0
test al, al
je 0x10005a80
push 0x1006c5e4
mov ecx, esi
call fcn.1000bb20
mov eax, 3
jmp 0x10005fe7
cmp word [0x1006b9f0], 0x64
jb 0x10005abc
cmp edi, 2
jne 0x10005a98
cmp byte [0x1006b9f2], 0
jmp 0x10005aa4
cmp edi, 4
jne 0x10005abc
cmp byte [0x1006b9f5], 0
je 0x10005abc
push 0x1006c5e0
mov ecx, esi
call fcn.1000bb20
mov eax, 2
jmp 0x10005fe7
mov edx, dword [esp + 0xbc]
push 0
push edi
push edx
mov ecx, 0x1006a1c8
call fcn.10016ff0
test al, al
jne 0x10005b2f
mov eax, dword [0x1006a1d0]
mov ebx, 0x10
cmp dword [0x1006a1e4], ebx
jae 0x10005aec
mov eax, 0x1006a1d0
push eax
mov ecx, esi
call fcn.10002c60
mov eax, dword [esi]
sub eax, ebx
cmp dword [eax + 0xc], 1
jle 0x10005b09
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.10002a10
mov ecx, dword [esi]
push ecx
push 0
push 0x575
push str.CEdpEDiskCtrlInterface::Login
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
add esp, 0x10
mov eax, 5
jmp 0x10005fe7
cmp edi, 2
jne 0x10005c60
xor esi, esi
cmp dword [0x1006b350], esi
je 0x10005c60
push 0x103
lea edx, [esp + 0xc9]
push esi
push edx
mov byte [esp + 0xd0], 0
call fcn.10037cf0
movsx eax, byte [0x1006a1a5]
add esp, 0xc
push eax
call fcn.1000c1c0
push eax
push str._sedpkillv.exe__c:
lea ecx, [esp + 0xd0]
push 0x104
push ecx
call fcn.10032b06
add esp, 0x14
push 0x40
xor eax, eax
lea edx, [esp + 0x44]
push esi
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call fcn.10037cf0
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
push esi
push esi
push esi
xor eax, eax
push esi
mov word [esp + 0x88], ax
push esi
lea eax, [esp + 0xe4]
push eax
push esi
mov dword [esp + 0x64], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10005c4c
lea ecx, [esp + 0x10]
call fcn.10002dc0
mov dword [esp + 0x2e8], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xc8]
push ecx
lea edx, [esp + 0x18]
push str.CreateProcess__s_Fail_Value_d
push edx
call fcn.100027b0
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.10001e70
push eax
push esi
push 0x589
push str.CEdpEDiskCtrlInterface::Login
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x2e8], 0xffffffff
call fcn.10002d60
jmp 0x10005c60
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x20]
push ecx
call esi
push 0x100
lea edx, [esp + 0x1d4]
push 0
push edx
mov dword [esp + 0x1d8], 0x5c3a41
call fcn.10037cf0
add esp, 0xc
cmp edi, 2
jne 0x10005cdf
mov al, byte [0x1006a1a5]
mov ecx, dword [esp + 0x14]
mov byte [ecx], al
mov dl, byte [0x1006a1a5]
mov byte [esp + 0x1cc], dl
call fcn.1001db10
test eax, eax
je 0x10005cc0
movsx eax, byte [0x1006a1a5]
sub eax, 0x41
push eax
push 0x8000
call fcn.1001df80
add esp, 8
mov cl, byte [0x1006a1a4]
lea edi, [ebx + 0x7c]
mov esi, 0x1006a1a5
call fcn.100014b0
add ebx, 4
push ebx
mov bl, byte [0x1006a1a5]
jmp 0x10005d3a
cmp edi, 4
jne 0x10005d46
mov cl, byte [0x1006a1a6]
mov edx, dword [esp + 0x14]
mov byte [edx], cl
mov al, byte [0x1006a1a6]
mov byte [esp + 0x1cc], al
call fcn.1001db10
test eax, eax
je 0x10005d1d
movsx ecx, byte [0x1006a1a6]
sub ecx, 0x41
push ecx
push 0x8000
call fcn.1001df80
add esp, 8
mov cl, byte [0x1006a1a4]
lea edi, [ebx + 0x7c]
mov esi, 0x1006a1a6
call fcn.100014b0
add ebx, 4
push ebx
mov bl, byte [0x1006a1a6]
call fcn.100120b0
mov edi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x18]
call fcn.1001db10
test eax, eax
jne 0x10005d57
cmp byte [0x1006bd11], al
je 0x10005d67
lea edx, [esp + 0x1cc]
push edx
call fcn.1001dd00
add esp, 4
cmp dword [0x10068cdc], 0
je 0x10005d9c
call fcn.10001090
test eax, eax
je 0x10005d9c
mov eax, dword [0x1006a0f4]
test eax, eax
je 0x10005d84
call eax
mov eax, dword [esp + 0x1cc]
push eax
call fcn.10001190
mov eax, dword [0x1006a0ec]
test eax, eax
je 0x10005d9c
call eax
cmp edi, 2
jne 0x10005db0
mov ecx, dword [esp + 0x1cc]
push ecx
mov esi, 0x1006a1b8
jmp 0x10005dc2
cmp edi, 4
jne 0x10005dca
mov edx, dword [esp + 0x1cc]
push edx
mov esi, 0x1006a1c0
call fcn.1001e0b0
add esp, 4
push str.EDPEDISK:_SetMountFlag0
push 0
push 0x5ca
push str.CEdpEDiskCtrlInterface::Login
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
add esp, 0x10
push str.EdpEDisk__StartReadonlyCheckAndRepair_begin
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0xbc]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.10002ca0
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx]
push edx
push ebx
call fcn.10009460
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.EdpEDisk__StartReadonlyCheckAndRepair_end
call edi
call fcn.1001dac0
test eax, eax
je 0x10005f93
push 0xff
lea eax, [esp + 0xc9]
push 0
push eax
mov byte [esp + 0xd0], 0
call fcn.10037cf0
mov cl, byte [esp + 0x1d8]
add esp, 0xc
lea edx, [esp + 0xbc]
push 5
push edx
mov dword [esp + 0xc5], 0
mov byte [esp + 0xc4], cl
call fcn.10032996
lea esi, [ebx + 0x44]
lea eax, [esp + 0xcc]
add esp, 8
mov ecx, esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0x100
call fcn.10011ac0
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0xc8]
push edx
call fcn.10033870
add esp, 8
test eax, eax
jne 0x10005f93
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xc8]
push 0x100
push ecx
call fcn.10032a15
add esp, 0xc
call fcn.10011bf0
lea edx, [esp + 0x3c]
push edx
call fcn.10009b20
lea eax, [esp + 0xc4]
push eax
push ecx
lea ecx, [esp + 0x44]
push str.EDPEDISK:ClientWriteShareMemoryToMap
push ecx
mov dword [esp + 0x2f8], 1
call fcn.1000a720
add esp, 0xc
push eax
call fcn.1000a720
add esp, 8
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.10009c20
mov ebx, 0x10
cmp dword [eax + 0x18], ebx
jb 0x10005f2b
mov eax, dword [eax + 4]
jmp 0x10005f2e
add eax, 4
push eax
call edi
lea ecx, [esp + 0x20]
call fcn.100025e0
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.10009c20
mov byte [esp + 0x2e8], 2
cmp dword [eax + 0x18], ebx
jb 0x10005f59
mov eax, dword [eax + 4]
jmp 0x10005f5c
add eax, 4
push eax
push 0
push 0x5e4
push str.CEdpEDiskCtrlInterface::Login
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.100025e0
lea eax, [esp + 0x3c]
mov dword [esp + 0x2e8], 0xffffffff
call fcn.10006010
lea edx, [esp + 0x10]
push edx
mov edi, 0x1006a1c8
call fcn.1001b0f0
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x2ec], 3
call fcn.1000bb20
mov dword [esp + 0x2e8], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005fe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0xc