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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639f70
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6eed24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x437c3b
xor al, al
jmp 0x43821f
mov eax, dword [edi + 0x18]
mov ecx, 0x649aa0
test eax, eax
je 0x437c49
mov ecx, eax
mov edx, str.update
mov edi, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x437c76
test si, si
je 0x437c72
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x437c76
add ecx, 4
add edx, 4
test si, si
jne 0x437c50
xor ecx, ecx
jmp 0x437c7b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x437cc3
test eax, eax
jne 0x437c88
mov eax, 0x649aa0
mov ecx, str.update_zip
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x437cb6
test dx, dx
je 0x437cb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x437cb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x437c90
xor eax, eax
jmp 0x437cbb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x437c34
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
push str.platform
mov ecx, edi
mov dword [ebx + 8], 1
call fcn.0046b6b0
test eax, eax
je 0x437d93
mov eax, dword [ebp - 0x50]
mov ecx, 0x649aa0
test eax, eax
je 0x437d0c
mov ecx, eax
mov edx, 0x652098
mov si, word [ecx]
cmp si, word [edx]
jne 0x437d37
test si, si
je 0x437d33
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x437d37
add ecx, 4
add edx, 4
test si, si
jne 0x437d11
xor ecx, ecx
jmp 0x437d3c
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x437d49
mov dword [ebx + 8], 2
jmp 0x437d93
test eax, eax
jne 0x437d52
mov eax, 0x649aa0
mov ecx, 0x654844
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x437d7d
test dx, dx
je 0x437d79
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x437d7d
add eax, 4
add ecx, 4
test dx, dx
jne 0x437d57
xor ecx, ecx
jmp 0x437d82
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
sete al
lea eax, [eax*2 + 1]
mov dword [ebx + 8], eax
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
push str.type
call fcn.0046b6b0
test eax, eax
je 0x437e74
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x437db7
mov eax, 0x649aa0
mov ecx, str.zipped_exe
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x437de6
test dx, dx
je 0x437de2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x437de6
add eax, 4
add ecx, 4
test dx, dx
jne 0x437dc0
xor eax, eax
jmp 0x437deb
sbb eax, eax
or eax, 1
test eax, eax
je 0x437e6d
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x437dff
mov eax, 0x649aa0
mov ecx, str.update_zip
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x437e2a
test dx, dx
je 0x437e26
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x437e2a
add eax, 4
add ecx, 4
test dx, dx
jne 0x437e04
xor eax, eax
jmp 0x437e2f
sbb eax, eax
or eax, 1
test eax, eax
je 0x437e6d
push 0x649b4c
lea ecx, [ebp - 0x50]
call fcn.0040d2b0
test al, al
je 0x437e4d
mov dword [ebx + 0xc], 2
jmp 0x437e74
push 0x649b60
lea ecx, [ebp - 0x50]
call fcn.0040d2b0
xor ecx, ecx
test al, al
setne cl
lea ecx, [ecx*2 + 1]
mov dword [ebx + 0xc], ecx
jmp 0x437e74
mov dword [ebx + 0xc], 5
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
push str.version
call fcn.0046b6b0
test eax, eax
je 0x438204
mov eax, dword [ebp - 0x50]
lea ecx, [ebx + 0x28]
test eax, eax
jne 0x437e9b
mov eax, 0x649aa0
push 0
push eax
call fcn.00409b10
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
push str.minVersionUpdate
call fcn.0046b6b0
test eax, eax
je 0x437ece
mov eax, dword [ebp - 0x50]
lea ecx, [ebx + 0x14]
test eax, eax
jne 0x437ec6
mov eax, 0x649aa0
push 0
push eax
call fcn.00409b10
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
push str.size
call fcn.0046b260
test eax, eax
je 0x437ee8
mov eax, dword [ebp - 0x64]
mov dword [ebx + 0x3c], eax
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push str.startMaintenance
call fcn.0046b4a0
test eax, eax
je 0x437f0f
lea eax, [ebp - 0x44]
push eax
call fcn.00472fb0
add esp, 4
test eax, eax
jle 0x437f0f
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
push str.hash
call fcn.0046b6b0
cmp byte [ebp + 0xc], 0
jne 0x437f4d
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x437f4d
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x437f38
mov eax, 0x649aa0
push ecx
push eax
lea eax, [ebx + 0x64]
push 0x20
push eax
call fcn.0044a5a0
add esp, 0x10
cmp eax, 0x20
je 0x437f6a
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
push 0x6548d4
call fcn.0046b6b0
test eax, eax
je 0x437f8a
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebx + 0x40]
call fcn.0040a510
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
push str.cmdLine
call fcn.0046b6b0
test eax, eax
je 0x437faa
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebx + 0x4c]
call fcn.0040a510
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
push str.cmdLineSilent
call fcn.0046b6b0
test eax, eax
je 0x437fca
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebx + 0x58]
call fcn.0040a510
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x10]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x54], 0
lea eax, [edi + eax*4]
mov dword [ebp - 0x58], eax
cmp edi, eax
je 0x438200
jmp 0x437ff0
mov edi, dword [edi]
cmp dword [edi + 0x28], 1
jne 0x4381ef
mov eax, dword [edi + 0x18]
mov ecx, 0x649aa0
test eax, eax
je 0x43800a
mov ecx, eax
mov edx, str.details
nop
mov si, word [ecx]
cmp si, word [edx]
jne 0x438036
test si, si
je 0x438032
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x438036
add ecx, 4
add edx, 4
test si, si
jne 0x438010
xor ecx, ecx
jmp 0x43803b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x438052
lea eax, [ebx + 0x84]
mov ecx, edi
push eax
call fcn.0046bcf0
jmp 0x4381ec
test eax, eax
jne 0x43805b
mov eax, 0x649aa0
mov ecx, str.dependence
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x438086
test dx, dx
je 0x438082
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x438086
add eax, 4
add ecx, 4
test dx, dx
jne 0x438060
xor eax, eax
jmp 0x43808b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4381ec
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
push str.comp_id
mov ecx, edi
call fcn.0046b6b0
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
push str.version
call fcn.0046b6b0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x4380e2
mov eax, 0x649aa0
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00409b10
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebx + 0x94]
jb 0x43813d
push 0x24
call fcn.004463f0
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
test esi, esi
je 0x438139
mov dword [esi], 0
xor eax, eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
jmp 0x438146
xor esi, esi
jmp 0x438146
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + ecx*4]
mov edi, esi
mov dword [ebp - 0x60], esi
test edi, edi
je 0x4381bf
lea eax, [ebp - 0x34]
mov dword [esi + 0x20], 0
push eax
mov ecx, esi
call fcn.0042cfa0
test al, al
jne 0x438170
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.0040a510
lea eax, [ebp - 0x28]
lea ecx, [edi + 0xc]
push eax
call fcn.00437ac0
test al, al
jne 0x43819e
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebx + 0x94]
jb 0x4381bb
lea eax, [ebp - 0x60]
lea ecx, [ebx + 0x90]
push eax
call fcn.00409a60
mov ecx, dword [ebp - 0x54]
inc ecx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 2
test eax, eax
je 0x4381d3
push eax
call fcn.00446420
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x5c]
add edi, 4
mov dword [ebp - 0x5c], edi
cmp edi, eax
jne 0x437ff0
mov bl, 1
jmp 0x438206
xor bl, bl
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 3
test eax, eax
je 0x43821d
push eax
call fcn.00446420
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b2558
mov esp, ebp
pop ebp
ret 8