Function at 0x100dc960
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e8fd0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1178
call fcn.101b5a00
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x914]
push 0x800
xor esi, esi
mov dword [ebp - 0x1168], ebx
push esi
push eax
mov dword [ebp - 0x116c], 0
call fcn.101b7960
add esp, 0xc
push str._gdl_init_call_init
push 0x95
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.INF1
push 8
call fcn.100a7fc0
push 0x800
lea eax, [ebp - 0x914]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.101b7960
push 0x80
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.101b7960
push 0x800
lea eax, [ebp - 0x1114]
push esi
push eax
call fcn.101b7960
add esp, 0x38
lea eax, [ebp - 0x1114]
push 0x800
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x100dca41
lea edx, [ebp - 0x914]
lea ecx, [ebp - 0x1114]
call fcn.100a5fc0
call fcn.100a6630
push ecx
push 0x40
lea eax, [ebp - 0x94]
mov edx, str.Softwaregoodoc_v30
push eax
push str.hospitalid
mov ecx, reloc.WS2_32.dll_accept
call fcn.100a63c0
add esp, 0x10
lea eax, [ebp - 0x94]
mov ecx, ebx
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100dca96
test dx, dx
je 0x100dca92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100dca96
add eax, 4
add ecx, 4
test dx, dx
jne 0x100dca70
xor eax, eax
jmp 0x100dca9b
sbb eax, eax
or eax, 1
mov ecx, 1
test eax, eax
push ecx
lea eax, [ebp - 0x914]
cmovne esi, ecx
push eax
push str.bridgepath
mov dword [ebp - 0x116c], esi
call fcn.100a6560
add esp, 0xc
push ecx
push ebx
push str.hospitalid
call fcn.100a6560
mov ebx, dword [ebp + 8]
add esp, 0xc
push ecx
push ebx
push str.chartcode
call fcn.100a64b0
add esp, 0xc
push ecx
push 1
push str.websock
call fcn.100a64b0
add esp, 0xc
call fcn.1019d58a
xor eax, eax
mov dword [ebp - 0x1120], 7
mov dword [ebp - 0x1124], 0
mov word [ebp - 0x1134], ax
push 9
push str.C:goodoc
lea ecx, [ebp - 0x1134]
mov byte [ebp - 4], 1
call fcn.100a7e70
push 0xa
push str.log_bdlog
lea ecx, [ebp - 0x1134]
call fcn.100ab610
cmp dword [ebp - 0x1120], 8
lea ecx, [ebp - 0x1134]
cmovae ecx, dword [ebp - 0x1134]
call fcn.100a68a0
cmp dword [ebp - 0x1120], 8
lea edi, [ebp - 0x1134]
push 0
cmovae edi, dword [ebp - 0x1134]
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
push eax
push edi
push 0x104
push 0x102a6a40
call fcn.101c2e3e
add esp, 0x10
push str.GDTB
call esi
push eax
push str.GDTB
push 0x400
push 0x102a6c48
call fcn.101c2e3e
add esp, 0x10
cmp dword [0x102a744c], 0
je 0x100dcbde
mov eax, dword [ebp - 0x1120]
cmp eax, 8
jb 0x100dcbd4
inc eax
lea ecx, [ebp - 0x1134]
push eax
push dword [ebp - 0x1134]
call fcn.100a5620
mov eax, 0xc8
jmp 0x100dd213
mov esi, dword [0x102a7fc8]
test esi, esi
jne 0x100dcc12
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x1118], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.100a8450
mov esi, eax
mov byte [ebp - 4], 1
mov dword [0x102a7fc8], esi
push ecx
lea eax, [ebp - 0x1118]
mov dword [ebp - 0x1118], 0
push eax
push str.level
call fcn.100a62f0
mov eax, dword [ebp - 0x1118]
add esp, 0xc
test eax, eax
jne 0x100dcc4f
cmp dword [esi + 0x100], 2
mov eax, 0x1003f
mov ecx, 0x100ff
cmovne eax, ecx
mov dword [0x102a7fc4], eax
mov eax, dword [ebp - 0x1120]
cmp eax, 8
jb 0x100dcc72
inc eax
lea ecx, [ebp - 0x1134]
push eax
push dword [ebp - 0x1134]
call fcn.100a5620
sub esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x914]
mov ecx, esp
push eax
call fcn.100a7530
call fcn.100e02c0
add esp, 0x18
cmp dword [ebp + 0x14], 0
jne 0x100dccc8
cmp dword [ebp + 0x10], 0
jne 0x100dccc8
push str._gdl_initw_invalied_type_and_cb_param
push 0xe4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x102458b0
push 2
call fcn.100a7fc0
add esp, 0x14
mov eax, 5
jmp 0x100dd213
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1118], esp
push dword [ebp - 0x1168]
call fcn.100a7530
mov dword [ebp - 4], 5
mov eax, dword [0x102a7fc8]
test eax, eax
jne 0x100dcd15
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x1168], eax
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.100a8450
mov byte [ebp - 4], 5
mov dword [0x102a7fc8], eax
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e0a30
mov eax, dword [0x102a7fc8]
test eax, eax
jne 0x100dcd59
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x1168], eax
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.100a8450
mov dword [ebp - 4], 0xffffffff
mov dword [0x102a7fc8], eax
mov ecx, eax
call fcn.100a96a0
mov eax, dword [0x102a7fc8]
test eax, eax
jne 0x100dcd96
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x1168], eax
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.100a8450
mov dword [ebp - 4], 0xffffffff
mov dword [0x102a7fc8], eax
push 0
lea ecx, [ebp - 0x114c]
mov dword [eax + 0x1e0], ebx
push ecx
mov ecx, eax
call fcn.100a8bd0
mov dword [ebp - 4], 0xa
call fcn.100f3d70
cmp ebx, 0x3f2
je 0x100dcf34
mov eax, dword [0x102a7fc8]
test eax, eax
jne 0x100dcdf4
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x1168], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.100a8450
mov byte [ebp - 4], 0xa
mov dword [0x102a7fc8], eax
lea ecx, [ebp - 0x1164]
push ecx
mov ecx, eax
call fcn.100d3400
cmp dword [eax + 0x10], 0
je 0x100dce15
cmp dword [ebp - 0x116c], 0
jne 0x100dce15
xor bl, bl
jmp 0x100dce17
mov bl, 1
lea ecx, [ebp - 0x1164]
call fcn.100a5560
test bl, bl
je 0x100dcf31
lea eax, [ebp - 0x1134]
push eax
call fcn.100a8810
mov ecx, eax
call fcn.100ab480
lea eax, [ebp - 0x1164]
mov byte [ebp - 4], 0xc
push eax
call fcn.100a8810
mov ecx, eax
call fcn.100ab480
cmp dword [eax + 0x14], 8
jb 0x100dce5c
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._gdl_initw__HospitalID4__s_
push 0x104
call edi
push eax
push str.INF4
push 0x40
call fcn.100a7fc0
add esp, 0x18
lea ecx, [ebp - 0x1164]
call fcn.100a5560
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x116c], esp
movq qword [ebp - 0x111c], xmm0
mov dword [ebp - 0x111c], 0
push 0x10245aac
call fcn.100a7530
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x100dced5
mov eax, dword [ecx]
jmp 0x100dced7
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x1134]
push edx
push eax
call fcn.100a5420
lea ecx, [ebp - 0x111c]
mov byte [ebp - 4], 0xc
call fcn.100e65f0
cmp dword [ebp - 0x111c], 0
lea ecx, [ebp - 0x1134]
jne 0x100dcf23
call fcn.100a5560
lea ecx, [ebp - 0x114c]
call fcn.100a5560
mov eax, 0x12
jmp 0x100dd213
mov byte [ebp - 4], 0xa
call fcn.100a5560
mov ebx, dword [ebp + 8]
jmp 0x100dcf3a
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x80
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.101b7960
add esp, 0xc
cmp dword [0x102a7fc8], 0
jne 0x100dcf80
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x116c], eax
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.100a8450
mov byte [ebp - 4], 0xa
mov dword [0x102a7fc8], eax
lea eax, [ebp - 0x1134]
push eax
call fcn.100ab520
cmp dword [eax + 0x14], 8
jb 0x100dcf94
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
lea eax, [ebp - 0x914]
push eax
push str.bridgepath
push str.config
call esi
mov eax, dword [ebp - 0x1120]
cmp eax, 8
jb 0x100dcfcc
inc eax
lea ecx, [ebp - 0x1134]
push eax
push dword [ebp - 0x1134]
call fcn.100a5620
push 0xa
push 0x40
lea eax, [ebp - 0x114]
push eax
push ebx
call fcn.101c4ebe
add esp, 0x10
cmp dword [0x102a7fc8], 0
jne 0x100dd010
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x116c], eax
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.100a8450
mov byte [ebp - 4], 0xa
mov dword [0x102a7fc8], eax
lea eax, [ebp - 0x1188]
push eax
call fcn.100ab520
cmp dword [eax + 0x14], 8
jb 0x100dd024
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x114]
push eax
push str.chartcode
push str.config
call esi
mov eax, dword [ebp - 0x1174]
cmp eax, 8
jb 0x100dd056
inc eax
lea ecx, [ebp - 0x1188]
push eax
push dword [ebp - 0x1188]
call fcn.100a5620
call fcn.100e0840
test eax, eax
jne 0x100dd074
lea ecx, [ebp - 0x114c]
call fcn.100a5560
mov eax, 0x15
jmp 0x100dd213
call fcn.100f21f0
call fcn.100f1690
mov esi, eax
cmp esi, 0xc8
je 0x100dd0b6
push str._gdl_initw__ChecNotification_Failed
push 0x146
call edi
push eax
push 0x102458b0
push 2
call fcn.100a7fc0
add esp, 0x14
lea ecx, [ebp - 0x114c]
call fcn.100a5560
mov eax, esi
jmp 0x100dd213
mov ecx, 0x1028e1c0
call fcn.100e16d0
test eax, eax
jne 0x100dd0f5
push str._gdl_initw_websocket_server_connect_failed
push 0x164
call edi
push eax
push 0x102458b0
push 2
call fcn.100a7fc0
add esp, 0x14
lea ecx, [ebp - 0x114c]
call fcn.100a5560
mov eax, 0xd
jmp 0x100dd213
cmp dword [ebp + 0x10], 0
jne 0x100dd10d
mov eax, dword [ebp + 0x14]
mov ecx, 0x102a745c
mov dword [0x102a7470], eax
call fcn.100a83e0
mov ecx, 0x1028e1e4
call fcn.100a83e0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x116c], esp
push str.gdl_initw_complete
call fcn.100a7530
mov byte [ebp - 4], 0x10
call fcn.100a8810
mov byte [ebp - 4], 0xa
call fcn.100aa450
push str._gdl_init_return_init
push 0x177
mov dword [0x102a744c], 1
call edi
push eax
push str.INF1
push 8
call fcn.100a7fc0
add esp, 0x14
lea ecx, [ebp - 0x114c]
cmp dword [0x102a744c], 0
je 0x100dd182
call fcn.100a5560
mov eax, 0xc8
jmp 0x100dd213
call fcn.100a5560
mov eax, 0x10
jmp 0x100dd213
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b451c
mov esp, ebp
pop ebp
ret 0x10