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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, ecx
mov ecx, 0x4ab43c
mov dword [ebp - 0x30], edi
call fcn.0044285c
test eax, eax
jne 0x442e99
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 0x442a12
push ebx
call esi
cmp dword [0x4ab458], 0
je 0x442a22
push 0x4ab440
call esi
cmp dword [edi + 0x50], 0
je 0x442a41
cmp dword [edi + 0x50], 0xffffffff
jne 0x442a38
mov edi, 0x80004005
jmp 0x442e75
xor eax, eax
mov edi, eax
jmp 0x442e75
or dword [edi + 0x50], 0xffffffff
mov edx, str.Data_CScript
mov ecx, edi
call fcn.0043a873
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x442a62
mov edi, 0x8007000b
jmp 0x442e75
call dword [0x4ab45c]
mov ebx, eax
test ebx, ebx
jne 0x442a8a
push str.CreateCScript
push str.CScript
push 1
mov edi, 0x80004005
call dword [sym.imp.CBSHost.dll_DismWriteLog]
jmp 0x442e72
mov eax, dword [ebx]
push 0x44293c
push 0
push ebx
call dword [eax + 0x24]
mov esi, dword [ebx]
lea ecx, [ebp - 0x18]
push str.Configinclude
mov edx, 0x4ab30c
call fcn.0043ab55
pop ecx
push dword [eax]
push ebx
call dword [esi + 0x10]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [edi + 0x44]
xor eax, eax
cmp dword [ecx - 0xc], eax
je 0x442ace
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0xc]
mov ecx, dword [0x4ab21c]
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
test eax, eax
je 0x442b5c
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 0x442b5c
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 0x442b36
push dword [ebp - 0xc]
push esi
push ebx
call dword [edx]
jmp 0x442b46
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 0x442b5c
mov ecx, dword [0x4ab21c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
jmp 0x442b08
mov ecx, dword [ebp - 0x1c]
push 1
push 7
push str.Imports
call fcn.0043a80d
mov edi, eax
mov dword [ebp - 0x18], edi
jmp 0x442dab
push ecx
push 5
push str.Delay
mov ecx, edi
call fcn.0043a719
test eax, eax
je 0x442bac
mov eax, dword [eax + 4]
test eax, eax
jne 0x442b96
mov eax, 0x491414
push 0x48f7a0
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x442bac
mov byte [ebp - 1], 1
jmp 0x442bb1
xor eax, eax
mov byte [ebp - 1], al
push ecx
push 6
push 0x499cc8
mov ecx, edi
call fcn.0043a719
mov esi, eax
test esi, esi
je 0x442def
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x442bd6
mov ecx, 0x491414
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x442c2d
mov esi, dword [esi + 4]
test esi, esi
jne 0x442bf0
mov esi, 0x491414
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x28]
push 0x499cf8
push eax
call fcn.00449eea
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.0043c924
cmp byte [ebp - 1], 0
je 0x442dd6
push 1
push 6
push str.Import
mov ecx, edi
call fcn.0043a80d
mov edi, eax
mov dword [ebp - 0xc], edi
jmp 0x442d8e
push 8
push str.Platform
mov ecx, edi
call fcn.0043a719
test eax, eax
je 0x442cca
mov eax, dword [eax + 4]
test eax, eax
jne 0x442c65
mov eax, 0x491414
push eax
lea ecx, [ebp - 8]
call fcn.0043b487
xor eax, eax
lea ecx, [ebp - 8]
push eax
push 0x2c
call fcn.0043ba25
xor eax, eax
lea ecx, [ebp - 8]
push eax
call fcn.0043b93f
mov esi, dword [ebp - 8]
xor eax, eax
mov edi, esi
cmp word [esi], ax
je 0x442d71
push edi
push 0x491364
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x442cbf
mov ecx, edi
call fcn.0044bc8f
lea edi, [edi + eax*2]
xor eax, eax
add edi, 2
cmp word [edi], ax
jne 0x442c96
jmp 0x442d71
lea ecx, [esi - 0x10]
call fcn.0043c924
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 4]
test eax, eax
jne 0x442cd6
mov eax, 0x491414
push eax
lea ecx, [ebp - 0x24]
call fcn.00442967
mov esi, dword [ebp - 0x24]
push 0x3d
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrA]
test eax, eax
je 0x442d07
inc eax
cmp byte [eax], 0x23
jne 0x442d09
xor ecx, ecx
inc eax
push 0xa
push ecx
push eax
call dword [sym.imp.msvcrt.dll_strtoul]
add esp, 0xc
jmp 0x442d09
mov eax, esi
mov edx, dword [ebp - 0x20]
xor ecx, ecx
test edx, edx
je 0x442d69
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x442d66
mov edi, dword [edi + 4]
test edi, edi
jne 0x442d2d
mov edi, 0x491414
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x2c]
push 0x499d44
push eax
call fcn.00449eea
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.0043c924
cmp byte [ebp - 1], 0
je 0x442de0
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.0043c924
push ecx
mov ecx, dword [ebp - 0xc]
push 6
push str.Import
call fcn.0043a77e
mov edi, eax
mov dword [ebp - 0xc], eax
push ecx
test edi, edi
jne 0x442c47
mov ecx, dword [ebp - 0x18]
push 7
push str.Imports
call fcn.0043a77e
mov edi, eax
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x442b77
mov ecx, dword [ebp - 0x1c]
push 1
push 4
push str.Code
call fcn.0043a80d
test eax, eax
je 0x442e3c
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x442e08
push 0x499d7c
jmp 0x442df4
mov edi, 0x80004002
jmp 0x442e68
lea ecx, [esi - 0x10]
mov edi, 0x80004002
call fcn.0043c924
jmp 0x442e68
push 0x499cd8
push str.CScript
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov edi, 0x8007000b
jmp 0x442e68
mov edx, dword [edx + 4]
test edx, edx
jne 0x442e14
mov edx, 0x491414
mov esi, dword [ebx]
lea ecx, [ebp - 0x2c]
call fcn.00449fb5
push dword [eax]
push ebx
call dword [esi + 0x34]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043c924
test esi, esi
jns 0x442e3c
push 0x499db4
jmp 0x442df4
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
mov edi, eax
test edi, edi
jns 0x442e5c
push str.C_Script
push str.CScript
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
jmp 0x442e68
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x50], ebx
xor eax, eax
mov ebx, eax
mov edi, eax
test ebx, ebx
je 0x442e72
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ebx, dword [ebp - 0x10]
cmp dword [0x4ab458], 0
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x442e8b
push 0x4ab440
call esi
xor eax, eax
cmp dword [ebx + 0x18], eax
je 0x442e95
push ebx
call esi
pop esi
mov eax, edi
pop ebx
pop edi
leave
ret