Function at 0x100147a0
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfdc
mov eax, dword [0x10056024]
xor eax, esp
mov dword [esp + 0xfd8], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x206
lea eax, [esp + 0xbd6]
mov ebx, ecx
push 0
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], esi
mov word [esp + 0xbdc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x206
lea ecx, [esp + 0xdde]
push 0
push ecx
mov word [esp + 0xde4], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edx, 0x104
mov eax, edi
lea ecx, [esp + 0xbd0]
call fcn.100093b0
xor edi, edi
cmp esi, edi
lea eax, [esp + 0xdd8]
je 0x10014856
movzx ecx, word [esi]
cmp cx, di
je 0x10014853
movzx edx, cx
mov ecx, eax
sub esi, ecx
mov edi, edi
movzx ecx, word [esi + eax + 2]
mov word [eax], dx
add eax, 2
cmp cx, di
movzx edx, cx
jne 0x10014840
mov word [eax], di
lea edx, [esp + 0xbd0]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10014885
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xfd8]
xor ecx, esp
call fcn.10045f6c
mov esp, ebp
pop ebp
ret 0xc
cmp word [esp + 0xbd0], 0x5c
jne 0x100148e4
mov ecx, dword [ebx + 0x78]
cmp ecx, edi
je 0x100148e4
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0xbd0]
push edx
push 0x104
push edx
call eax
test al, al
jne 0x100148e4
call sub.Comn.dll_GetObjectLog
lea ecx, [esp + 0xbd0]
push ecx
mov esi, eax
mov edi, dword [esi]
push 0x56d
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
call fcn.1000d400
mov edx, dword [edi + 0xc]
add esp, 4
push eax
push str._s:_ConvertToRemotePath__s_n
push esi
call edx
add esp, 0x10
xor edi, edi
mov ecx, dword [ebx + 0x20]
cmp ecx, edi
je 0x100148f2
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
push 0x428
lea eax, [esp + 0x280]
push edi
push eax
mov dword [ebx + 0x1c], edi
mov dword [esp + 0x284], edi
call sub.MSVCR80.dll_memset
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 0xc
lea eax, [esp + 0x278]
push eax
lea eax, [esp + 0xbd4]
push eax
call edx
mov esi, eax
movzx eax, si
test eax, eax
je 0x1001496a
push 0x57f
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
call fcn.1000d400
add esp, 4
mov edi, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push esi
push str.m_pImgInfo__GetImgFileInfo_wszPath__Info_
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
jmp 0x10015439
xor edx, edx
cmp word [esp + 0xdd8], di
lea eax, [esp + 0xdd8]
je 0x1001498b
lea ecx, [ecx]
add eax, 2
add edx, 1
cmp word [eax], di
jne 0x10014980
mov eax, dword [esp + 0x278]
mov ecx, dword [ebx + 0x20]
mov esi, dword [ecx]
push eax
add edx, edx
push edx
mov edx, dword [esp + 0x28c]
lea eax, [esp + 0xde0]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x2a4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2a8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x2ac]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x2b0]
push eax
mov eax, dword [esi + 0x10]
lea edx, [esp + 0xbf0]
push edx
call eax
mov esi, eax
movzx ecx, si
test ecx, ecx
mov dword [esp + 0x24], esi
je 0x10014a26
push 0x581
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
call fcn.1000d400
add esp, 4
mov edi, eax
call sub.Comn.dll_GetObjectLog
mov edx, dword [eax]
push edi
push esi
push str.m_pImgInfo__Init_wszPath__Info.TaskName__Info.TaskGuid___UCHAR__wszPass__brwcslen_wszPass_sizeof_BRWCHAR___Info.bIsDsImage_
push str._s_return_code:_0x_08X___s.
push eax
mov eax, dword [edx + 0xc]
call eax
add esp, 0x14
jmp 0x10015435
cmp dword [ebp + 0x10], edi
mov ecx, dword [esp + 0x284]
mov edx, dword [esp + 0x288]
mov eax, dword [esp + 0x28c]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x290]
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
je 0x10015435
mov edx, dword [ebx]
mov eax, dword [edx + 0xdc]
mov ecx, ebx
xor esi, esi
call eax
test eax, eax
jle 0x10014aa2
lea esp, [esp]
mov edx, dword [ebx]
mov edx, dword [edx + 0x20]
push esi
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call edx
lea ecx, [esp + 0x284]
call fcn.1000d340
test eax, eax
jne 0x10014aa2
mov eax, dword [ebx]
mov edx, dword [eax + 0xdc]
mov ecx, ebx
add esi, 1
call edx
cmp esi, eax
jl 0x10014a70
mov eax, dword [ebx]
mov edx, dword [eax + 0xdc]
mov ecx, ebx
call edx
cmp esi, eax
jne 0x10015435
mov eax, dword [ebx]
mov edx, dword [eax + 0xbc]
mov ecx, ebx
mov dword [esp + 0x1c], edi
call edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov edi, dword [ebx]
mov esi, eax
mov eax, edi
mov edx, dword [eax + 0xbc]
add esp, 4
mov ecx, ebx
mov dword [esp + 0x14], esi
call edx
push eax
mov eax, dword [edi + 0xc0]
push esi
mov ecx, ebx
call eax
push 0x2af0
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10014b1f
mov esi, eax
call fcn.1000b070
mov edi, eax
mov dword [esp + 0x3c], edi
jmp 0x10014b2b
mov dword [esp + 0x3c], 0
mov edi, dword [esp + 0x3c]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx]
mov esi, dword [eax]
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0xbc]
push ecx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + eax*4 - 4]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x2c]
push edx
call eax
mov esi, eax
movzx ecx, si
test ecx, ecx
mov dword [esp + 0x24], esi
je 0x10014b9b
push 0x593
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
call fcn.1000d400
add esp, 4
mov edi, eax
call sub.Comn.dll_GetObjectLog
mov edx, dword [eax]
push edi
push esi
push str.m_pImgInfo__OpenTask_ulver_GetVerCount___1____IImgTask_pITask_
push str._s_return_code:_0x_08X___s.
push eax
mov eax, dword [edx + 0xc]
call eax
add esp, 0x14
jmp 0x10015435
cmp dword [esp + 0x278], 0
je 0x1001504c
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x54]
lea eax, [esp + 0x10]
mov ebx, ecx
push eax
mov dword [esp + 0x44], ebx
call edx
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x20]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x4c]
call fcn.1000a8d0
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
mov eax, dword [esp + 0x4c]
shl eax, 9
add eax, 0x1a60
push eax
mov dword [esp + 0x18], eax
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
push eax
push 0
push esi
mov dword [esp + 0x24], esi
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x20]
mov dword [esi], ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
add esp, 0xc
mov ecx, ebx
call eax
mov dword [esi + 0xc], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
mov ecx, ebx
call eax
mov dword [esi + 0x10], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
mov dword [esi + 0x14], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x30]
mov ecx, ebx
call eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
mov ecx, ebx
call eax
mov ecx, dword [esi + 4]
mov dword [esi + 0x24], eax
xor ecx, dword [esp + 0x10]
and ecx, 1
xor dword [esi + 4], ecx
mov ecx, dword [esi + 4]
mov eax, ecx
xor eax, dword [esp + 0x10]
and eax, 2
xor eax, ecx
mov dword [esi + 4], eax
mov ecx, eax
xor ecx, dword [esp + 0x10]
and ecx, 4
xor ecx, eax
mov dword [esi + 4], ecx
mov eax, ecx
xor eax, dword [esp + 0x10]
and eax, 8
xor eax, ecx
mov dword [esi + 4], eax
mov ecx, eax
xor ecx, dword [esp + 0x10]
and ecx, 0x10
xor ecx, eax
mov dword [esi + 4], ecx
mov edx, ecx
xor edx, dword [esp + 0x10]
and edx, 0x20
xor edx, ecx
mov dword [esi + 4], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x128]
mov ecx, edi
call edx
movzx ecx, byte [esi + 4]
shl eax, 8
or eax, ecx
mov dword [esi + 4], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x12c]
mov ecx, edi
call eax
mov dword [esi + 8], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x140]
mov ecx, edi
call eax
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x1a5c], ecx
mov dword [esi + 0x20], eax
xor edx, dword [esp + 0x10]
and edx, 0x40
xor dword [esi + 4], edx
mov eax, dword [esp + 0x284]
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x288]
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x28c]
mov ecx, dword [esi + 4]
mov dword [esi + 0x34], edx
mov eax, dword [esp + 0x290]
mov dword [esi + 0x38], eax
xor ecx, dword [esp + 0x10]
lea eax, [esi + 0x3c]
and ecx, 0x80
xor dword [esi + 4], ecx
lea edx, [esp + 0x294]
call fcn.10006d30
mov edx, dword [esp + 0x28]
lea eax, [esi + 0x244]
call fcn.10006d30
mov edx, dword [edi]
mov eax, dword [edx + 0x158]
mov ecx, edi
call eax
lea ecx, [esi + 0x344]
mov edx, eax
mov eax, ecx
call fcn.10006d30
lea eax, [esp + 0xbd0]
lea ecx, [eax + 2]
jmp 0x10014d80
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x10014d80
sub eax, ecx
sar eax, 1
sub eax, 1
cmp word [esp + eax*2 + 0xbd0], 0x5c
je 0x10014db9
lea ecx, [ecx]
cmp word [esp + eax*2 + 0xbd0], 0x2f
je 0x10014db9
sub eax, 1
cmp word [esp + eax*2 + 0xbd0], 0x5c
jne 0x10014da0
mov word [esp + eax*2 + 0xbd2], 0
lea eax, [esi + 0x54c]
mov ebx, 0x104
lea edx, [esp + 0xbd0]
call fcn.100011b0
mov edx, dword [edi]
mov eax, dword [edx + 0x160]
mov ecx, edi
call eax
lea ecx, [esi + 0x754]
mov edx, eax
mov eax, ecx
call fcn.10006d30
mov ebx, dword [esp + 0x48]
mov edx, dword [ebx]
mov eax, dword [edx + 0x48]
mov ecx, ebx
mov dword [esp + 0x14], 0
call eax
mov edx, dword [eax]
mov dword [esp + 0x44], eax
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
test eax, eax
je 0x10014ec4
nop
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
mov edx, dword [eax]
mov dword [esp + 0x28], eax
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov ebx, eax
test ebx, ebx
je 0x10014ead
mov ecx, dword [esp + 0x14]
shl ecx, 9
lea edx, [ecx + esi + 0x1a60]
mov dword [esp + 0x74], edx
mov edi, edi
mov eax, dword [ebx]
mov edx, dword [eax + 0x44]
mov ecx, ebx
call edx
test al, al
jne 0x10014e6a
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
jmp 0x10014ea7
mov eax, dword [ebx]
mov edx, dword [eax]
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
call edx
add dword [esp + 0x14], 1
mov esi, eax
mov eax, dword [esp + 0x74]
mov edi, eax
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
add eax, 0x200
mov dword [esp + 0x74], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
mov ebx, eax
test ebx, ebx
jne 0x10014e50
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test eax, eax
jne 0x10014e20
mov ebx, dword [esp + 0x48]
mov eax, dword [ebx]
mov edx, dword [eax + 0x2c]
mov ecx, ebx
call edx
mov ebx, eax
test ebx, ebx
je 0x10014f29
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov ecx, ebx
call edx
test eax, eax
je 0x10014f29
mov ecx, dword [esp + 0x14]
shl ecx, 9
lea ecx, [ecx + esi + 0x1a60]
mov dword [esp + 0x14], ecx
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call edx
mov edi, dword [esp + 0x14]
add dword [esp + 0x14], 0x200
mov esi, eax
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov ecx, ebx
call edx
test eax, eax
jne 0x10014ef2
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
xor eax, eax
mov word [esp + 0x2c], ax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x2c]
push edx
call eax
xor eax, eax
xor ebx, ebx
push 0x7e
lea ecx, [esp + 0xb56]
push ebx
push ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov word [esp + 0xb5c], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x7e
lea edx, [esp + 0xad6]
push ebx
push edx
mov word [esp + 0xadc], bx
call sub.MSVCR80.dll_memset
movzx ecx, word [esp + 0x42]
movzx eax, word [esp + 0x40]
movzx edx, word [esp + 0x44]
mov dword [esp + 0x60], ecx
movzx ecx, word [esp + 0x3a]
mov dword [esp + 0x64], eax
movzx eax, word [esp + 0x38]
sub ecx, 1
add esp, 0xc
mov dword [esp + 0x50], edx
movzx edx, word [esp + 0x32]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x50]
push ecx
sub eax, 0x76c
mov dword [esp + 0x68], eax
movzx eax, word [esp + 0x34]
push 0x1004c8f4
mov dword [esp + 0x64], edx
lea edx, [esp + 0xb58]
push 0x40
push edx
mov dword [esp + 0x78], eax
call dword [sym.imp.MSVCR80.dll_wcsftime]
add esp, 0x10
mov ebx, 0x40
lea edx, [esp + 0xb50]
lea eax, [esp + 0xad0]
call fcn.100011b0
mov ebx, dword [esp + 0x20]
push 0
push ebx
lea edx, [esp + 0xad8]
mov ecx, esi
call fcn.1001cd50
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
jmp 0x100153ff
mov ebx, dword [esp + 0x1c]
push 0x420
lea eax, [esp + 0x6b0]
push 0
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x6b4], 0
call sub.MSVCR80.dll_memset
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
add esp, 0xc
mov ecx, edi
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x6a8]
push eax
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x10]
push ecx
push 0
mov ecx, ebx
call edx
mov eax, dword [esp + 0x10]
push eax
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov edx, dword [ebx]
mov edx, dword [edx + 0x40]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x20], eax
call edx
mov eax, dword [esp + 0x10]
add eax, 0x1e6e
push eax
mov dword [esp + 0x44], eax
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x44]
add esp, 4
push eax
push 0
push esi
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x6b4]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x6b8]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x6bc]
mov dword [esi + 0x10], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x30]
add esp, 0xc
mov ecx, ebx
call eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edx
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
mov ecx, ebx
call eax
mov dword [esi + 0x1c], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
mov dword [esi + 0x20], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
mov ecx, ebx
call eax
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0x284]
mov dword [esi + 0x38], ecx
mov edx, dword [esp + 0x288]
mov dword [esi + 0x3c], edx
mov eax, dword [esp + 0x28c]
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x290]
mov dword [esi + 0x44], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x2b8]
mov ecx, edi
call eax
mov dword [esi + 0x14], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x2bc]
mov ecx, edi
call eax
mov dword [esi + 0x18], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x2cc]
mov ecx, edi
call eax
mov dword [esi + 0x2c], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x2b4]
mov ecx, edi
call eax
mov dword [esi + 4], eax
lea eax, [esi + 0x48]
lea edx, [esp + 0x294]
call fcn.10006d30
lea eax, [esi + 0x55a]
lea edx, [esp + 0x49c]
call fcn.10006d30
mov edx, dword [esp + 0x28]
lea eax, [esi + 0x252]
call fcn.10006d30
lea eax, [esi + 0x196a]
lea edx, [esp + 0x6bc]
call fcn.10006d30
lea eax, [esi + 0x1b72]
lea edx, [esp + 0x8c4]
call fcn.10006d30
mov edx, dword [edi]
mov eax, dword [edx + 0x2d8]
mov ecx, edi
call eax
lea ecx, [esi + 0x352]
mov edx, eax
mov eax, ecx
call fcn.10006d30
mov edx, dword [edi]
mov eax, dword [edx + 0x2e0]
mov ecx, edi
call eax
lea ecx, [esi + 0x762]
mov edx, eax
mov eax, ecx
call fcn.10006d30
mov edx, dword [edi]
mov eax, dword [edx + 0x2e4]
mov ecx, edi
call eax
lea ecx, [esi + 0x96a]
mov edx, eax
mov eax, ecx
call fcn.10006d30
lea eax, [esp + 0xbd0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10015254
sub eax, edx
sar eax, 1
add eax, 0xffffffff
cmp word [esp + eax*2 + 0xbd0], 0x5c
je 0x1001528a
cmp word [esp + eax*2 + 0xbd0], 0x2f
je 0x1001528a
sub eax, 1
cmp word [esp + eax*2 + 0xbd0], 0x5c
jne 0x10015271
mov word [esp + eax*2 + 0xbd2], 0
mov ebx, 0x104
lea edx, [esp + 0xbd0]
lea eax, [esi + 0x55a]
call fcn.100011b0
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
mov eax, 0x21fb7813
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
mov edx, dword [esp + 0x18]
shr ecx, 0xb
mov dword [esi + 0x1e7a], ecx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
push eax
add edx, 0x10
push edx
push eax
lea eax, [esi + 0x1e7e]
push eax
call dword [sym.imp.MSVCR80.dll_memcpy_s]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
call edx
xor ebx, ebx
push 0x7e
lea eax, [esp + 0xad6]
push ebx
push eax
mov word [esp + 0xadc], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x7e
lea ecx, [esp + 0xb56]
push ebx
push ecx
mov word [esp + 0xb5c], bx
call sub.MSVCR80.dll_memset
movzx edx, word [esp + 0x40]
movzx ecx, word [esp + 0x44]
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
movzx eax, word [esp + 0x42]
mov dword [esp + 0x60], eax
movzx eax, word [esp + 0x3a]
mov dword [esp + 0x64], edx
movzx edx, word [esp + 0x38]
sub eax, 1
add esp, 0xc
mov dword [esp + 0x50], ecx
movzx ecx, word [esp + 0x32]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x50]
push eax
sub edx, 0x76c
mov dword [esp + 0x68], edx
movzx edx, word [esp + 0x34]
push 0x1004c8f4
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0xad8]
push 0x40
push ecx
mov dword [esp + 0x78], edx
call dword [sym.imp.MSVCR80.dll_wcsftime]
add esp, 0x10
mov ebx, 0x40
lea edx, [esp + 0xad0]
lea eax, [esp + 0xb50]
call fcn.100011b0
mov edx, dword [esp + 0x20]
push 0
push edx
lea edx, [esp + 0xb58]
mov ecx, esi
call fcn.1001ad70
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ebx, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x1c]
xor esi, esi
cmp ecx, esi
je 0x10015414
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x1c], esi
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebx
mov dword [ebx + 0x1c], esi
call fcn.1000e970
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0xfe4]
pop edi
mov dword [ebx + 0x1c], esi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.10045f6c
mov esp, ebp
pop ebp
ret 0xc