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

Disassembly:
push 0xffffffffffffffff
push 0x46771f
mov eax, dword fs:[0]
push eax
sub esp, 0xb8c
mov eax, dword [0x487bb0]
xor eax, esp
mov dword [esp + 0xb88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x487bb0]
xor eax, esp
push eax
lea eax, [esp + 0xba0]
mov dword fs:[0], eax
mov esi, dword [esp + 0xbb0]
mov eax, dword [esp + 0xbb4]
push esi
mov dword [esp + 0x1c], eax
call fcn.00423030
add esp, 4
test eax, eax
je 0x4074ab
push 0x104
xor ebx, ebx
lea ecx, [esp + 0x27c]
push ebx
push ecx
call fcn.0044fe60
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push ebx
push ebx
push 0x104
lea edx, [esp + 0x284]
push edx
push 0xffffffffffffffff
push esi
push ebx
push ebx
call edi
push 0x78
call fcn.004505ee
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0xba8], ebx
cmp eax, ebx
je 0x40746e
lea ecx, [esp + 0x278]
push ecx
mov ecx, eax
call fcn.004190b0
mov esi, eax
jmp 0x407470
xor esi, esi
mov dword [esp + 0xba8], 0xffffffff
cmp esi, ebx
je 0x4074ab
push ebx
mov ecx, esi
call fcn.00419c90
mov ecx, esi
call fcn.00417b70
mov ebp, eax
cmp ebp, ebx
jne 0x4074b2
push str..common.cpp
push 0x3c6
push str.Line_no_d_source_s_ReadInstallXML_pRootElement_is_null._r_n
call fcn.0040cfa0
add esp, 0xc
xor eax, eax
jmp 0x407815
push 0x208
lea edx, [esp + 0x588]
push ebx
push edx
call fcn.0044fe60
mov eax, dword [0x486e74]
mov esi, 8
add esp, 0xc
cmp dword [0x486e88], esi
jae 0x4074df
mov eax, 0x486e74
push str.binADSafe3
push eax
lea eax, [esp + 0x58c]
push 0x46c8b4
push eax
call fcn.00401040
mov eax, 0xf
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0xbb8], 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
push 0x208
lea ecx, [esp + 0x7a0]
push ebx
push ecx
mov byte [esp + 0xbc4], 3
call fcn.0044fe60
push 0x104
lea edx, [esp + 0x39c]
push ebx
push edx
call fcn.0044fe60
mov eax, dword [0x486e90]
add esp, 0x28
cmp dword [0x486ea4], esi
jae 0x40756e
mov eax, 0x486e90
push eax
lea eax, [esp + 0x790]
push 0x46d740
push eax
call fcn.00401040
add esp, 0xc
push ebx
push ebx
push 0x104
lea ecx, [esp + 0x388]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x7a0]
push edx
push ebx
push ebx
call edi
push 0x208
lea eax, [esp + 0x998]
push ebx
push eax
call fcn.0044fe60
push 0x104
lea ecx, [esp + 0x490]
push ebx
push ecx
call fcn.0044fe60
mov eax, dword [0x486e58]
add esp, 0x18
cmp dword [0x486e6c], esi
jae 0x4075dc
mov eax, 0x486e58
push eax
lea edx, [esp + 0x998]
push 0x46d740
push edx
call fcn.00401040
add esp, 0xc
push ebx
push ebx
push 0x104
lea eax, [esp + 0x48c]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x9a8]
push ecx
push ebx
push ebx
call edi
mov ecx, ebp
call fcn.00417b70
mov ebp, eax
cmp ebp, ebx
je 0x4077f5
lea edx, [esp + 0x38]
push edx
push 0x46d738
mov ecx, ebp
call fcn.00404700
test eax, eax
jne 0x4077e4
lea eax, [esp + 0x1c]
push eax
push 0x46d730
mov ecx, ebp
call fcn.00404700
lea ecx, [esp + 0x54]
push ecx
push str.cover
mov ecx, ebp
call fcn.00404700
push 0x414
call fcn.004505ee
push 0x414
mov edi, eax
push ebx
push edi
mov dword [esp + 0x24], edi
call fcn.0044fe60
push 0x208
lea edx, [esp + 0x84]
push ebx
push edx
call fcn.0044fe60
mov eax, dword [esp + 0x58]
add esp, 0x1c
cmp dword [esp + 0x50], 0x10
jae 0x40769c
lea eax, [esp + 0x3c]
push 0x208
lea ecx, [esp + 0x74]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp word [esp + 0x70], 0x5c
je 0x4076cd
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x588]
push eax
push 0x46c8b4
jmp 0x4076df
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x588]
push edx
push 0x46d71c
push edi
call fcn.00401040
add esp, 0x10
push ebx
push str._INSTALLDIR_
lea ecx, [esp + 0x24]
call fcn.00401d40
mov esi, eax
cmp esi, 0xffffffff
je 0x40771d
push 0x208
lea eax, [esp + 0x74]
push ebx
push eax
call fcn.0044fe60
add esp, 0xc
lea ecx, [esp + 0x480]
push ecx
push 0xc
jmp 0x407750
push ebx
push str._USERDATADIR_
lea ecx, [esp + 0x24]
call fcn.00401d40
mov esi, eax
cmp esi, 0xffffffff
je 0x40777e
push 0x208
lea eax, [esp + 0x74]
push ebx
push eax
call fcn.0044fe60
add esp, 0xc
lea ecx, [esp + 0x37c]
push ecx
push 0xd
push esi
lea ecx, [esp + 0x28]
call fcn.00403fb0
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x407769
lea eax, [esp + 0x20]
push 0x208
lea edx, [esp + 0x74]
push edx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x70]
push eax
lea ecx, [edi + 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x40779f
lea eax, [esp + 0x58]
mov ecx, str.True
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4077c4
cmp dl, bl
je 0x4077c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4077c4
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4077a4
xor eax, eax
jmp 0x4077c9
sbb eax, eax
sbb eax, 0xffffffff
mov ecx, dword [esp + 0x18]
xor edx, edx
cmp eax, ebx
sete dl
lea eax, [esp + 0x14]
push eax
mov dword [edi + 0x410], edx
call fcn.0040f030
mov ecx, ebp
call fcn.00417ba0
mov ebp, eax
cmp ebp, ebx
jne 0x407620
lea ecx, [esp + 0x54]
call fcn.00402160
lea ecx, [esp + 0x1c]
call fcn.00402160
lea ecx, [esp + 0x38]
call fcn.00402160
mov eax, 1
mov ecx, dword [esp + 0xba0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb88]
xor ecx, esp
call fcn.0044ffb3
add esp, 0xb98
ret