Function at 0x4439e6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, ecx
mov ecx, 0x4ad3b4
mov dword [ebp - 0x30], edi
call fcn.00443866
test eax, eax
jne 0x443e99
push ebx
lea ebx, [edi + 0x58]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x10], ebx
cmp dword [ebx + 0x18], eax
je 0x443a1a
push ebx
call esi
cmp dword [0x4ad3d0], 0
je 0x443a2a
push 0x4ad3b8
call esi
cmp dword [edi + 0x50], 0
je 0x443a44
cmp dword [edi + 0x50], 0xffffffff
jne 0x443e71
mov edi, 0x80004005
jmp 0x443e75
or dword [edi + 0x50], 0xffffffff
mov edx, str.Data_CScript
mov ecx, edi
call fcn.0043b82e
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x443a65
mov edi, 0x8007000b
jmp 0x443e75
call dword [0x4ad3d4]
mov ebx, eax
test ebx, ebx
jne 0x443a90
push str.CreateCScript
push str.CScript
push 1
mov edi, 0x80004005
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ebx, dword [ebp - 0x10]
jmp 0x443e75
mov eax, dword [ebx]
push 0x443946
push 0
push ebx
call dword [eax + 0x24]
mov esi, dword [ebx]
lea ecx, [ebp - 0x18]
push str.Configinclude
mov edx, 0x4ad284
call fcn.0043baed
pop ecx
push dword [eax]
push ebx
call dword [esi + 0x10]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [edi + 0x44]
xor eax, eax
cmp dword [ecx - 0xc], eax
je 0x443ad4
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0xc]
mov ecx, dword [0x4ad194]
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
test eax, eax
je 0x443b62
mov edx, dword [ecx + eax + 0x1c]
mov esi, dword [ecx + eax + 0x20]
add edx, ecx
mov edi, dword [ecx + eax + 0x24]
add esi, ecx
add eax, 0x18
mov dword [ebp - 0x24], edx
add edi, ecx
mov dword [ebp - 0x28], esi
add eax, ecx
mov dword [ebp - 0x14], edi
xor edi, edi
mov dword [ebp - 0x20], eax
cmp dword [eax], edi
jbe 0x443b62
mov eax, dword [ebp - 0x14]
mov esi, dword [esi + edi*4]
add esi, ecx
movzx eax, word [eax + edi*2]
mov eax, dword [edx + eax*4]
mov edx, dword [ebx]
add eax, ecx
mov dword [ebp - 0xc], eax
add edx, 0x2c
sub eax, esi
mov dword [ebp - 8], edx
cmp eax, 0x80
jbe 0x443b3c
push dword [ebp - 0xc]
push esi
push ebx
call dword [edx]
jmp 0x443b4c
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov eax, dword [ebp - 8]
push esi
push ebx
call dword [eax]
mov eax, dword [ebp - 0x20]
inc edi
cmp edi, dword [eax]
jae 0x443b62
mov ecx, dword [0x4ad194]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
jmp 0x443b0e
mov ecx, dword [ebp - 0x1c]
push 1
push 7
push str.Imports
call fcn.0043b7cc
mov edi, eax
mov dword [ebp - 0x18], edi
jmp 0x443db1
push ecx
push 5
push str.Delay
mov ecx, edi
call fcn.0043b6e0
test eax, eax
je 0x443bb2
mov eax, dword [eax + 4]
test eax, eax
jne 0x443b9c
mov eax, 0x4934ec
push 0x491870
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x443bb2
mov byte [ebp - 1], 1
jmp 0x443bb7
xor eax, eax
mov byte [ebp - 1], al
push ecx
push 6
push 0x49be68
mov ecx, edi
call fcn.0043b6e0
mov esi, eax
test esi, esi
je 0x443df2
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x443bdc
mov ecx, 0x4934ec
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x443c33
mov esi, dword [esi + 4]
test esi, esi
jne 0x443bf6
mov esi, 0x4934ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x28]
push 0x49be98
push eax
call fcn.0044af44
add esp, 0x10
push dword [eax]
push str.CScript
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0043d912
cmp byte [ebp - 1], 0
je 0x443ddc
push 1
push 6
push str.Import
mov ecx, edi
call fcn.0043b7cc
mov edi, eax
mov dword [ebp - 0xc], edi
jmp 0x443d94
push 8
push str.Platform
mov ecx, edi
call fcn.0043b6e0
test eax, eax
je 0x443cd0
mov eax, dword [eax + 4]
test eax, eax
jne 0x443c6b
mov eax, 0x4934ec
push eax
lea ecx, [ebp - 8]
call fcn.0043c2b8
xor eax, eax
lea ecx, [ebp - 8]
push eax
push 0x2c
call fcn.0043ca57
xor eax, eax
lea ecx, [ebp - 8]
push eax
call fcn.0043c971
mov esi, dword [ebp - 8]
xor eax, eax
mov edi, esi
cmp word [esi], ax
je 0x443d77
push edi
push 0x49343c
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x443cc5
mov ecx, edi
call fcn.0044ccce
lea edi, [edi + eax*2]
xor eax, eax
add edi, 2
cmp word [edi], ax
jne 0x443c9c
jmp 0x443d77
lea ecx, [esi - 0x10]
call fcn.0043d912
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 4]
test eax, eax
jne 0x443cdc
mov eax, 0x4934ec
push eax
lea ecx, [ebp - 0x24]
call fcn.00443971
mov esi, dword [ebp - 0x24]
push 0x3d
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrA]
test eax, eax
je 0x443d0d
inc eax
cmp byte [eax], 0x23
jne 0x443d0f
xor ecx, ecx
inc eax
push 0xa
push ecx
push eax
call dword [sym.imp.msvcrt.dll_strtoul]
add esp, 0xc
jmp 0x443d0f
mov eax, esi
mov edx, dword [ebp - 0x20]
xor ecx, ecx
test edx, edx
je 0x443d6f
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x443d6c
mov edi, dword [edi + 4]
test edi, edi
jne 0x443d33
mov edi, 0x4934ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x2c]
push 0x49bee4
push eax
call fcn.0044af44
add esp, 0x10
push dword [eax]
push str.CScript
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0043d912
cmp byte [ebp - 1], 0
je 0x443de3
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx]
push ecx
push esi
push ebx
call dword [eax + 0x2c]
lea ecx, [esi - 0x10]
call fcn.0043d912
push ecx
mov ecx, dword [ebp - 0xc]
push 6
push str.Import
call fcn.0043b741
mov edi, eax
mov dword [ebp - 0xc], eax
push ecx
test edi, edi
jne 0x443c4d
mov ecx, dword [ebp - 0x18]
push 7
push str.Imports
call fcn.0043b741
mov edi, eax
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x443b7d
mov ecx, dword [ebp - 0x1c]
push 1
push 4
push str.Code
call fcn.0043b7cc
test eax, eax
je 0x443e3f
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x443e0b
push 0x49bf1c
jmp 0x443df7
mov edi, 0x80004002
jmp 0x443e5d
lea ecx, [esi - 0x10]
mov edi, 0x80004002
call fcn.0043d912
jmp 0x443e5d
push 0x49be78
push str.CScript
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov edi, 0x8007000b
jmp 0x443e5d
mov edx, dword [edx + 4]
test edx, edx
jne 0x443e17
mov edx, 0x4934ec
mov esi, dword [ebx]
lea ecx, [ebp - 0x2c]
call fcn.0044b00f
push dword [eax]
push ebx
call dword [esi + 0x34]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043d912
test esi, esi
jns 0x443e3f
push 0x49bf54
jmp 0x443df7
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
mov edi, eax
test edi, edi
jns 0x443e68
push str.C_Script
push str.CScript
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
jmp 0x443a88
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x50], ebx
mov ebx, dword [ebp - 0x10]
xor eax, eax
mov edi, eax
cmp dword [0x4ad3d0], 0
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x443e8b
push 0x4ad3b8
call esi
xor eax, eax
cmp dword [ebx + 0x18], eax
je 0x443e95
push ebx
call esi
pop esi
mov eax, edi
pop ebx
pop edi
leave
ret