Function at 0x46b900
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x48434c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x6c]
push 0
push ebx
mov dword [ebp + 0x70], ebx
call fcn.0042daf0
cmp dword [ebx + 0x24], 0
mov dword [ebp - 4], 0
jne 0x46b948
xor bl, bl
jmp 0x46c3dd
push 0
push 0x486490
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x68], 0xf
mov dword [ebp + 0x64], 0
mov byte [ebp + 0x54], 0
call fcn.00403ef0
push 0x1d
push str._FrontierActivation_Signature
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 1
mov dword [ebp + 0x50], 0xf
mov dword [ebp + 0x4c], 0
mov byte [ebp + 0x3c], 0
call fcn.00403ef0
mov ecx, dword [ebx + 0x24]
lea edx, [ebp + 0x54]
push 0
push edx
lea edx, [ebp + 0x3c]
mov byte [ebp - 4], 2
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x2c]
push edx
call dword [eax + 0x18]
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x46b9bd
inc eax
lea ecx, [ebp + 0x3c]
push eax
push dword [ebp + 0x3c]
call fcn.00404120
mov dword [ebp + 0x50], 0xf
mov dword [ebp + 0x4c], 0
mov byte [ebp + 0x3c], 0
mov eax, dword [ebp + 0x68]
mov byte [ebp - 4], 5
cmp eax, 0x10
jb 0x46b9e8
inc eax
lea ecx, [ebp + 0x54]
push eax
push dword [ebp + 0x54]
call fcn.00404120
cmp dword [ebp - 0x1c], 0
push edi
sete al
mov dword [ebp + 0x68], 0xf
mov dword [ebp + 0x64], 0
mov byte [ebp + 0x54], 0
test al, al
je 0x46ba73
lea eax, [ebp + 0x20]
mov ecx, 0x4a9a88
push eax
call fcn.004046a0
mov dword [0x4a9f24], 1
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 6
jb 0x46ba2a
mov eax, dword [eax]
push eax
push 0x48649c
push 0x4a9a88
call fcn.0040e7e0
push str.ERROR:_No_Signature_tag_present_in_supplied_xml_buffer.
push 0x48649c
push eax
call fcn.0040e7e0
push eax
call fcn.0040d5b0
mov eax, dword [ebp + 0x34]
add esp, 0x1c
cmp eax, 0x10
jb 0x46baea
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.00404120
xor bl, bl
jmp 0x46c3b5
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 0x2c]
call fcn.00473f80
push str._FrontierActivation_
push eax
call fcn.00476d30
mov edi, eax
add esp, 8
mov dword [ebp - 0x10], edi
test edi, edi
jne 0x46baf1
lea eax, [ebp + 8]
mov ecx, 0x4a9a88
push eax
call fcn.004046a0
mov dword [0x4a9f24], 1
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 7
jb 0x46bab9
mov eax, dword [eax]
push eax
push 0x48649c
push 0x4a9a88
call fcn.0040e7e0
push str.ERROR:_No_service_entries_present_in_activation_configuration
push 0x48649c
push eax
call fcn.0040e7e0
push eax
call fcn.0040d5b0
add esp, 0x1c
lea ecx, [ebp + 8]
call fcn.004058c0
xor bl, bl
jmp 0x46c3b5
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov ecx, ebx
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0046c470
lea ecx, [ebp]
mov dword [ebp], 0
mov dword [ebp + 4], 0
call fcn.0040c5d0
mov dword [ebp], eax
mov byte [ebp - 4], 8
push esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
test eax, eax
je 0x46bd9d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [eax + 0x20]
add eax, 8
je 0x46bd9d
push str.ServiceAlias
lea ecx, [ebp + 0x20]
call fcn.00402cc0
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 9
call dword [eax + 0x14]
mov edx, dword [eax + 0x20]
add edx, 8
cmp byte [edx], 0
jne 0x46bb6d
xor ecx, ecx
jmp 0x46bb7f
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46bb75
sub ecx, dword [ebp + 0x6c]
push ecx
push edx
push dword [esi + 0x10]
mov ecx, esi
push 0
call fcn.00404000
test eax, eax
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0x34]
sete byte [ebp + 0x77]
cmp eax, 0x10
jb 0x46bbac
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.00404120
cmp byte [ebp + 0x77], 0
je 0x46bd13
push str.Identity
lea ecx, [ebp + 0x20]
call fcn.00402cc0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp + 0x54]
push edi
push eax
call fcn.004697d0
add esp, 0xc
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0xc
call fcn.004058c0
push str.Reference
lea ecx, [ebp + 0x3c]
call fcn.00402cc0
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.004697d0
add esp, 0xc
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0xf
call fcn.004058c0
cmp dword [ebp + 0x64], 0
sete al
test al, al
jne 0x46bc50
cmp dword [ebp - 0x34], 0
sete al
test al, al
jne 0x46bc50
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp]
call fcn.0046b330
lea ecx, [ebp - 0x44]
cmp eax, ecx
je 0x46bcfa
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00403de0
jmp 0x46bcfa
lea eax, [ebp + 8]
mov ecx, 0x4a9a88
push eax
call fcn.004046a0
mov dword [0x4a9f24], 1
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x10
jb 0x46bc74
mov eax, dword [eax]
push eax
push 0x48649c
push 0x4a9a88
call fcn.0040e7e0
push str.WARNING:_Invalid_ServiceAlias_id_ref__
push 0x48649c
push eax
call fcn.0040e7e0
cmp dword [ebp + 0x68], 0x10
mov ecx, eax
lea eax, [ebp + 0x54]
cmovae eax, dword [ebp + 0x54]
push eax
push 0x48649c
push ecx
call fcn.0040e7e0
push 0x486bb4
push 0x48649c
push eax
call fcn.0040e7e0
cmp dword [ebp - 0x30], 0x10
mov ecx, eax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push 0x48649c
push ecx
call fcn.0040e7e0
push 0x486730
push 0x48649c
push eax
call fcn.0040e7e0
add esp, 0x48
push eax
call fcn.0040d5b0
add esp, 4
lea ecx, [ebp + 8]
call fcn.004058c0
lea ecx, [ebp - 0x44]
call fcn.004058c0
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 8
call fcn.004058c0
jmp 0x46bd9d
push str.Service
lea ecx, [ebp + 8]
call fcn.00402cc0
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x11
call dword [eax + 0x14]
push esi
mov eax, dword [eax + 0x20]
add eax, 8
push eax
call fcn.0046abb0
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp + 8]
mov bl, al
call fcn.004058c0
test bl, bl
jne 0x46bd9a
push str.Identity
lea ecx, [ebp + 0x20]
call fcn.00402cc0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.004697d0
add esp, 0xc
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x14
call fcn.004058c0
cmp dword [ebp - 0x74], 0
sete al
test al, al
je 0x46bdf4
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 8
call fcn.004058c0
mov ebx, dword [ebp + 0x70]
mov edi, dword [edi + 0x28]
mov dword [ebp - 0x10], edi
test edi, edi
jne 0x46bb22
mov eax, dword [ebp]
mov esi, dword [eax]
cmp esi, eax
je 0x46c394
nop dword [eax + eax]
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
lea edi, [esi + 0x10]
jb 0x46bdce
mov eax, dword [eax]
push eax
mov ecx, ebx
call fcn.0046b650
mov dword [ebp + 0x38], eax
test eax, eax
je 0x46c2bc
push edi
lea ecx, [ebx + 0x48]
call fcn.0046b270
mov ecx, dword [ebp + 0x38]
mov dword [eax], ecx
jmp 0x46c349
push 0xa0
call fcn.00431473
add esp, 4
mov dword [ebp + 0x38], eax
test eax, eax
je 0x46be16
mov ecx, eax
call fcn.0046ae20
mov esi, eax
mov dword [ebp + 0x6c], eax
jmp 0x46be1b
xor esi, esi
mov dword [ebp + 0x6c], esi
lea eax, [ebp - 0x84]
cmp esi, eax
je 0x46be31
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00403de0
push 0x486490
lea ecx, [ebp + 0x3c]
call fcn.00402cc0
push str.__Name
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0x15
call fcn.00402cc0
mov ebx, dword [ebp + 0x70]
lea edx, [ebp + 0x3c]
push edi
push edx
lea edx, [ebp + 0x54]
mov byte [ebp - 4], 0x16
mov ecx, dword [ebx + 0x24]
push edx
lea edx, [ebp + 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.00402dd0
lea ecx, [ebp + 8]
call fcn.004058c0
lea ecx, [ebp + 0x54]
call fcn.004058c0
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0x14
call fcn.004058c0
push 0x486490
lea ecx, [ebp + 0x3c]
call fcn.00402cc0
push str.__ProgramGroup
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0x17
call fcn.00402cc0
mov ecx, dword [ebx + 0x24]
lea edx, [ebp + 0x3c]
push edi
push edx
lea edx, [ebp + 0x54]
mov byte [ebp - 4], 0x18
mov eax, dword [ecx]
push edx
lea edx, [ebp + 8]
push edx
call dword [eax + 0x18]
push eax
lea ecx, [esi + 0x30]
call fcn.00402dd0
lea ecx, [ebp + 8]
call fcn.004058c0
lea ecx, [ebp + 0x54]
call fcn.004058c0
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0x14
call fcn.004058c0
push 0x486490
lea ecx, [ebp + 0x3c]
call fcn.00402cc0
push str.__Server
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0x19
call fcn.00402cc0
mov ecx, dword [ebx + 0x24]
lea edx, [ebp + 0x3c]
push edi
push edx
lea edx, [ebp + 0x54]
mov byte [ebp - 4], 0x1a
mov eax, dword [ecx]
push edx
lea edx, [ebp + 8]
push edx
call dword [eax + 0x18]
push eax
lea ecx, [esi + 0x48]
call fcn.00402dd0
lea ecx, [ebp + 8]
call fcn.004058c0
lea ecx, [ebp + 0x54]
call fcn.004058c0
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0x14
call fcn.004058c0
push 0x486490
lea ecx, [ebp + 0x3c]
call fcn.00402cc0
push str.__Registration
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0x1b
call fcn.00402cc0
mov ecx, dword [ebx + 0x24]
lea edx, [ebp + 0x3c]
push edi
push edx
lea edx, [ebp + 0x54]
mov byte [ebp - 4], 0x1c
mov eax, dword [ecx]
push edx
lea edx, [ebp + 8]
push edx
call dword [eax + 0x18]
push eax
lea ecx, [esi + 0x60]
call fcn.00402dd0
lea ecx, [ebp + 8]
call fcn.004058c0
lea ecx, [ebp + 0x54]
call fcn.004058c0
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0x14
call fcn.004058c0
push 0x486490
lea ecx, [ebp + 0x3c]
call fcn.00402cc0
push str.__WebSite
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0x1d
call fcn.00402cc0
mov ecx, dword [ebx + 0x24]
lea edx, [ebp + 0x3c]
push edi
push edx
lea edx, [ebp + 0x54]
mov byte [ebp - 4], 0x1e
mov eax, dword [ecx]
push edx
lea edx, [ebp + 8]
push edx
call dword [eax + 0x18]
push eax
lea ecx, [esi + 0x78]
call fcn.00402dd0
lea ecx, [ebp + 8]
call fcn.004058c0
lea ecx, [ebp + 0x54]
call fcn.004058c0
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0x14
call fcn.004058c0
push str.false
lea ecx, [ebp + 0x3c]
call fcn.00402cc0
push str.__Development
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0x1f
call fcn.00402cc0
mov ecx, dword [ebx + 0x24]
mov byte [ebp - 4], 0x20
mov eax, dword [ecx]
lea edx, [ebp + 0x3c]
push edi
push edx
lea edx, [ebp + 0x54]
push edx
lea edx, [ebp - 0x9c]
push edx
call dword [eax + 0x18]
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x21
jb 0x46c046
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0xcc]
call fcn.00461420
lea ecx, [ebp - 0x9c]
call fcn.004058c0
lea ecx, [ebp + 0x54]
call fcn.004058c0
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0x25
call fcn.004058c0
cvttsd2si eax, qword [ebp - 0xac]
push str.__Certificate
push edi
test ax, ax
setne al
mov byte [esi + 0x90], al
call fcn.00476d30
mov esi, eax
add esp, 8
test esi, esi
je 0x46c278
mov edi, dword [ebp + 0x70]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
je 0x46c267
push 0x30
call fcn.00431473
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x26
test eax, eax
je 0x46c0d1
mov ecx, eax
call fcn.0046acb0
mov ebx, eax
jmp 0x46c0d3
xor ebx, ebx
push 0x486490
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x25
call fcn.00402cc0
push str.__CertificateID
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x27
call fcn.00402cc0
mov ecx, dword [edi + 0x24]
lea edx, [ebp + 8]
push esi
push edx
lea edx, [ebp + 0x20]
mov byte [ebp - 4], 0x28
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x5c]
push edx
call dword [eax + 0x18]
push eax
mov ecx, ebx
call fcn.00402dd0
lea ecx, [ebp - 0x5c]
call fcn.004058c0
lea ecx, [ebp + 0x20]
call fcn.004058c0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x25
call fcn.004058c0
push 0x486490
lea ecx, [ebp + 0x20]
call fcn.00402cc0
push str.__Subject
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x29
call fcn.00402cc0
mov ecx, dword [edi + 0x24]
lea edx, [ebp + 0x20]
push esi
push edx
lea edx, [ebp + 8]
mov byte [ebp - 4], 0x2a
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x5c]
push edx
call dword [eax + 0x18]
push eax
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 0x2b
call fcn.004161a0
lea ecx, [ebp - 0x5c]
call fcn.004058c0
lea ecx, [ebp + 8]
call fcn.004058c0
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x25
call fcn.004058c0
push 0x486490
lea ecx, [ebp + 0x20]
call fcn.00402cc0
push str.__PublicKey
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x2c
call fcn.00402cc0
mov ecx, dword [edi + 0x24]
lea edx, [ebp + 0x20]
push esi
push edx
lea edx, [ebp + 8]
mov byte [ebp - 4], 0x2d
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x5c]
push edx
call dword [eax + 0x18]
push eax
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0x2e
call fcn.004161a0
lea ecx, [ebp - 0x5c]
call fcn.004058c0
lea ecx, [ebp + 8]
call fcn.004058c0
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x25
call fcn.004058c0
push 0x486490
lea ecx, [ebp + 0x20]
call fcn.00402cc0
push str.__CertificateBody
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x2f
call fcn.00402cc0
mov ecx, dword [edi + 0x24]
lea edx, [ebp + 0x20]
push esi
push edx
lea edx, [ebp + 8]
mov byte [ebp - 4], 0x30
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x5c]
push edx
call dword [eax + 0x18]
push eax
lea ecx, [ebx + 0x28]
mov byte [ebp - 4], 0x31
call fcn.004161a0
lea ecx, [ebp - 0x5c]
call fcn.004058c0
lea ecx, [ebp + 8]
call fcn.004058c0
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x25
call fcn.004058c0
mov ecx, dword [ebp + 0x6c]
lea eax, [ebp + 0x38]
push eax
mov dword [ebp + 0x38], ebx
lea ecx, [ecx + 0x94]
call fcn.0046c400
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x46c0a2
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp + 0x70]
push 0
push ebx
lea ecx, [ebp - 0x64]
call fcn.0042daf0
mov esi, dword [ebp + 0x6c]
lea ecx, [ebx + 0x40]
push esi
mov byte [ebp - 4], 0x32
call fcn.0046b270
lea ecx, [ebp - 0x64]
mov dword [eax], esi
call fcn.0042dbb0
lea ecx, [ebp - 0xcc]
call fcn.00464e40
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 8
call fcn.004058c0
jmp 0x46bd9d
lea eax, [ebp + 0x20]
mov ecx, 0x4a9a88
push eax
call fcn.004046a0
mov dword [0x4a9f24], 1
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x33
jb 0x46c2e0
mov eax, dword [eax]
push eax
push 0x48649c
push 0x4a9a88
call fcn.0040e7e0
push str.WARNING:_Could_not_resolve_ServiceAlias_for__
push 0x48649c
push eax
call fcn.0040e7e0
add esp, 0x18
cmp dword [edi + 0x14], 0x10
jb 0x46c30b
mov edi, dword [edi]
push edi
push 0x48649c
push eax
call fcn.0040e7e0
push 0x486730
push 0x48649c
push eax
call fcn.0040e7e0
push eax
call fcn.0040d5b0
mov eax, dword [ebp + 0x34]
add esp, 0x1c
mov byte [ebp - 4], 8
cmp eax, 0x10
jb 0x46c349
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.00404120
cmp byte [esi + 0xd], 0
jne 0x46c389
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x46c36e
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x46c389
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x46c362
jmp 0x46c389
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x46c387
cmp esi, dword [eax + 8]
jne 0x46c387
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x46c377
mov esi, eax
mov eax, dword [ebp]
cmp esi, eax
jne 0x46bdc0
mov bl, 1
push eax
push dword [eax]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x35
push eax
lea ecx, [ebp]
call fcn.0040d9f0
push dword [ebp]
call fcn.004314a6
add esp, 4
pop esi
mov eax, dword [ebp - 0x18]
pop edi
cmp eax, 0x10
jb 0x46c3cb
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00404120
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x6c]
call fcn.0042dbb0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x78]
pop ebp
ret