Function at 0x43e930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689e45
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x732694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x24]
xor eax, eax
mov dword [ebp - 4], 1
mov word [ebp - 0x248], ax
mov ecx, str.72FD618E72C94192A78E5106193BA8EF
test esi, esi
mov dword [ebp - 0x238], 0
mov eax, str.EEA7927315A54C89BDA5958D6FE3D52C
mov dword [ebp - 0x234], 7
cmove eax, ecx
lea ecx, [ebp - 0x248]
push eax
call fcn.00402340
mov ecx, dword [ebp + 0x1c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x43e9c4
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ecx
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x248]
push eax
call fcn.00402da0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
xorps xmm0, xmm0
lea ecx, [ebp - 0x250]
cmovae eax, dword [ebp - 0x248]
push eax
movlpd qword [ebp - 0x250], xmm0
call fcn.004f15f1
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 3
call fcn.004f06b8
test eax, eax
je 0x43ea4b
test esi, esi
je 0x43eeb4
call fcn.00423fb0
mov ecx, eax
call fcn.0041a6e0
test eax, eax
jne 0x43eeb4
sub esp, 0x18
lea eax, [ebp + 0x28]
mov ecx, esp
mov dword [ebp - 0x290], esp
push eax
call fcn.00401df0
mov byte [ebp - 4], 4
call fcn.00423fb0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00419850
jmp 0x43eeb4
push str.Riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push dword [0x7403e0]
mov ecx, 0x7403e4
mov dword [ebp - 0x290], eax
push 0
call fcn.0043f390
mov ecx, edi
call fcn.0043f4b0
call fcn.004e7fad
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x208
push eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
push eax
call fcn.005175d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402340
push 9
push str._node.dll
lea ecx, [ebp - 0x230]
call fcn.00402da0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x230]
push eax
call edi
test eax, eax
jne 0x43ebcd
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402340
push 9
push str._node.dll
lea ecx, [ebp - 0x230]
call fcn.00402da0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call edi
test eax, eax
jne 0x43ebcd
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402340
push 9
push str._node.dll
lea ecx, [ebp - 0x230]
call fcn.00402da0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call edi
test eax, eax
jne 0x43ebcd
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x220], 0
je 0x43ebec
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
jmp 0x43ebee
xor eax, eax
push eax
call fcn.00407000
push 0x38
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.005175d0
xorps xmm0, xmm0
mov dword [ebp - method.WTL::CMessageLoop.virtual_0], vtable.WTL::CMessageLoop.0
add esp, 0x10
mov dword [ebp - 0x274], 0
movups xmmword [ebp - 0x284], xmm0
mov dword [ebp - 0x270], 0
movups xmmword [ebp - 0x26c], xmm0
mov dword [ebp - 0x254], 0
movq qword [ebp - 0x25c], xmm0
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 6
push eax
mov ecx, 0x7403e4
call fcn.0043e870
call fcn.0043f200
mov ecx, dword [ebp + 8]
mov dword [eax + 0x798], ecx
call fcn.0043f200
mov ecx, eax
call fcn.0043bee0
xor esi, esi
xor edi, edi
mov dword [ebp - 0x29c], esi
mov dword [ebp - 0x294], edi
call fcn.0043f200
mov dword [ebp - 0x28c], eax
call fcn.0043f2e0
cmp dword [eax + 0x30], esi
jne 0x43eca4
call fcn.0043f2e0
mov dword [eax + 0x30], esi
call fcn.0043f2e0
push dword [ebp - 0x294]
mov ecx, dword [ebp - 0x28c]
add ecx, 0x20
push ecx
push eax
push 0x732008
push 0x7408a4
call fcn.00424d80
mov ecx, dword [ebp - 0x28c]
add esp, 0x14
movzx eax, ax
push 0
push eax
push esi
push 0x40000
push 0x86070000
push str.Win_
push edi
push 0
call fcn.00425b20
test eax, eax
jne 0x43ede3
lea eax, [ebp - 0x28c]
push 0x699218
push eax
call fcn.004321e0
add esp, 8
mov edi, dword [eax]
mov esi, dword [0x740244]
mov byte [ebp - 4], 7
test esi, esi
jne 0x43edae
push 0x740248
mov dword [ebp - 0x290], 0x740248
call fcn.00444f27
add esp, 4
test eax, eax
je 0x43ed44
push eax
call fcn.004451cb
add esp, 4
mov esi, dword [0x740244]
mov byte [ebp - 4], 8
test esi, esi
jne 0x43ed8c
push 0x40
call fcn.00447d59
mov esi, eax
add esp, 4
mov dword [ebp - 0x298], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x43ed84
push 0x40
push 0
push esi
call fcn.005175d0
add esp, 0xc
mov ecx, esi
call fcn.0040b6b0
mov esi, eax
jmp 0x43ed86
xor esi, esi
mov dword [0x740244], esi
push 0x740248
mov byte [ebp - 4], 0xa
call fcn.00444f4c
add esp, 4
test eax, eax
je 0x43edaa
push eax
call fcn.004451cb
add esp, 4
mov byte [ebp - 4], 7
push edi
push 1
mov ecx, esi
call fcn.0040c550
mov edx, dword [ebp - 0x28c]
or eax, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ee9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43ee9e
call fcn.00423fb0
mov ecx, eax
call fcn.0041a6e0
test eax, eax
jne 0x43ee5d
call fcn.0043f200
mov ecx, eax
call fcn.0043ba50
cmp dword [ebp + 0x38], esi
je 0x43ee69
sub esp, 0x18
lea eax, [ebp + 0x28]
mov ecx, esp
mov dword [ebp - 0x298], esp
push eax
call fcn.00401df0
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 0xb
push eax
call fcn.00423fb0
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00419520
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xc
jb 0x43ee3f
mov eax, dword [eax]
push eax
call fcn.0043f200
mov ecx, eax
call fcn.004322d0
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 6
call fcn.00401e90
jmp 0x43ee69
call fcn.0043f200
mov ecx, eax
call fcn.00436bf0
lea ecx, [ebp - 0x288]
call fcn.0043f6c0
mov ecx, 0x7403e4
call fcn.0043f590
mov ecx, 0x7403e4
call fcn.0043f760
call fcn.004078f0
call fcn.004e7f5c
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x288]
call fcn.00425720
lea ecx, [ebp - 0x230]
call fcn.00401e90
lea ecx, [ebp - 0x250]
call fcn.004f1606
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x43eeff
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43eef5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efb9
push edx
push ecx
call fcn.00447d89
add esp, 8
mov edx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp edx, 8
jb 0x43ef52
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ef48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efbe
push edx
push ecx
call fcn.00447d89
add esp, 8
mov edx, dword [ebp + 0x3c]
xor eax, eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
cmp edx, 8
jb 0x43ef9c
mov ecx, dword [ebp + 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ef92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efc3
push edx
push ecx
call fcn.00447d89
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447de7
mov esp, ebp
pop ebp
ret 0x38
call fcn.0051ae21
call fcn.0051ae21
call fcn.0051ae21
int3