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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x419b38
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x423018]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
jne 0x416e80
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x58], esi
mov ebx, dword [0x41b224]
push edi
call ebx
test eax, eax
jbe 0x416e4f
push edi
call ebx
push eax
push edi
call dword [0x41b244]
mov esi, dword [ebp + 8]
cmp byte [esi + 0x18], 0
je 0x417096
push 0x41d4b8
add esi, 0x1c
call dword [0x41b0b4]
push eax
push 0x41d4b8
push esi
call fcn.00401fc0
test eax, eax
jge 0x416e9f
push eax
call fcn.00405f30
push eax
mov eax, dword [ebp + 0x14]
push eax
call dword [0x41b1e0]
mov edi, eax
cmp edi, esi
mov dword [esp + 0x24], edi
jne 0x416e33
push 0x8007000e
call fcn.00405f30
push edi
call ebx
test eax, eax
je 0x416ecf
mov edx, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0
call fcn.0041858a
test eax, eax
jl 0x416e7a
mov eax, dword [esi]
push eax
call dword [0x41b220]
mov ecx, dword [esp + 0x2c]
mov dword [esi], ecx
mov edi, dword [ebp + 0x24]
mov edx, dword [edi]
mov ecx, dword [edx + 0xc]
lea eax, [esp + 0x20]
push eax
push edi
call ecx
xor ebx, ebx
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
jle 0x417071
jmp 0x416ef8
mov ebx, dword [esp + 0x28]
mov edi, dword [ebp + 0x24]
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
push ecx
push ebx
push edi
call edx
mov eax, dword [edi]
mov eax, dword [eax + 0x34]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x48]
push edx
push ebx
push edi
call eax
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x416f2e
xor ebx, ebx
mov dword [esp + 0x3c], ebx
jmp 0x416f48
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [0x41b1e0]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x3c], ebx
je 0x416e95
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x416f5d
xor edi, edi
mov dword [esp + 0x48], edi
jmp 0x416f77
mov edx, dword [esp + 0x44]
push eax
push edx
call dword [0x41b1e0]
mov edi, eax
test edi, edi
mov dword [esp + 0x48], edi
je 0x416e95
push 0x41d4bc
mov byte [esp + 0x5c], 2
call dword [0x41b0b4]
push eax
push 0x41d4bc
push esi
call fcn.00401fc0
test eax, eax
jl 0x416e7a
push ebx
call dword [0x41b224]
test eax, eax
je 0x416fd3
mov ecx, dword [esi]
lea eax, [esp + 0x2c]
push eax
push ebx
push ecx
mov dword [esp + 0x38], 0
call fcn.0041858a
test eax, eax
jl 0x416e7a
mov edx, dword [esi]
push edx
call dword [0x41b220]
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
push 0x41d4c0
call dword [0x41b0b4]
push eax
push 0x41d4c0
push esi
call fcn.00401fc0
test eax, eax
jl 0x416e7a
push edi
call dword [0x41b224]
test eax, eax
je 0x41702a
mov edx, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push edi
push edx
mov dword [esp + 0x28], 0
call fcn.0041858a
test eax, eax
jl 0x416e7a
mov eax, dword [esi]
push eax
call dword [0x41b220]
mov ecx, dword [esp + 0x1c]
mov dword [esi], ecx
push 0x41d4c8
call dword [0x41b0b4]
push eax
push 0x41d4c8
push esi
call fcn.00401fc0
test eax, eax
jl 0x416e7a
push edi
call dword [0x41b220]
push ebx
mov byte [esp + 0x5c], 0
call dword [0x41b220]
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
jl 0x416ef1
push 0x41d4cc
call dword [0x41b0b4]
push eax
push 0x41d4cc
push esi
call fcn.00401fc0
test eax, eax
jge 0x4178ab
push eax
call fcn.00405f30
push 0x41d4d0
call dword [0x41b228]
mov ebx, eax
test ebx, ebx
jne 0x4170b1
push 0x8007000e
call fcn.00405f30
push 0
push 0x400
push ebx
push edi
call fcn.00418584
cmp eax, 1
push ebx
sete byte [esp + 0x1b]
call dword [0x41b220]
cmp byte [esp + 0x17], 0
je 0x4171f1
add esi, 0xc
cmp dword [esi], 0
mov dword [esp + 0x28], esi
jne 0x4178ab
mov edx, esi
push edx
push 0x41b554
push 0x17
push 0
push 0x41b544
call dword [0x41b270]
test eax, eax
mov dword [esp + 0x18], eax
jl 0x4178ab
mov eax, esi
cmp dword [eax], 0
je 0x4178ab
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jle 0x4178ab
mov esi, dword [ebp + 0x24]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x14]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x48]
push eax
push ebx
push esi
call ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x38]
push ecx
push ebx
push esi
call edx
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x41716c
xor edi, edi
mov dword [esp + 0x40], edi
jmp 0x417186
push eax
mov eax, dword [esp + 0x48]
push eax
call dword [0x41b1e0]
mov edi, eax
test edi, edi
mov dword [esp + 0x40], edi
je 0x416e95
mov byte [esp + 0x58], 3
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x41719b
xor esi, esi
mov dword [esp + 0x30], esi
jmp 0x4171b5
mov ecx, dword [esp + 0x34]
push eax
push ecx
call dword [0x41b1e0]
mov esi, eax
test esi, esi
mov dword [esp + 0x30], esi
je 0x416e95
mov byte [esp + 0x58], 4
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push esi
push edi
push eax
call edx
push esi
mov esi, dword [0x41b220]
mov dword [esp + 0x1c], eax
call esi
push edi
mov byte [esp + 0x5c], 0
call esi
add ebx, 1
cmp ebx, dword [esp + 0x20]
jl 0x417133
jmp 0x4178ab
lea eax, [esp + 0x24]
push eax
mov eax, str.CHANNEL
call fcn.0040a9d0
test al, al
je 0x417512
lea edi, [esi + 0x10]
push edi
push 0x41b3bc
push 0x17
push 0
push 0x41b37c
call dword [0x41b270]
test eax, eax
mov dword [esp + 0x18], eax
jl 0x4178ab
mov esi, dword [ebp + 0x24]
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
lea edx, [esp + 0x20]
push edx
push esi
call eax
xor ebx, ebx
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
jle 0x4178ab
jmp 0x417257
mov esi, dword [ebp + 0x24]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x14]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x48]
push eax
push ebx
push esi
call ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push esi
call edx
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x41728b
mov dword [esp + 0x1c], eax
jmp 0x4172a3
push eax
mov eax, dword [esp + 0x48]
push eax
call dword [0x41b1e0]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x416e95
mov byte [esp + 0x58], 5
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4172b8
xor ebx, ebx
mov dword [esp + 0x3c], ebx
jmp 0x4172d2
mov ecx, dword [esp + 0x28]
push eax
push ecx
call dword [0x41b1e0]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x3c], ebx
je 0x416e95
mov byte [esp + 0x58], 6
mov esi, dword [esp + 0x1c]
push esi
call dword [0x41b224]
test eax, eax
jbe 0x4172f5
push esi
call dword [0x41b224]
push eax
push esi
call dword [0x41b244]
lea edx, [esp + 0x1c]
push edx
mov eax, 0x41c9d4
call fcn.0040a9d0
test al, al
je 0x41731c
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push ebx
push eax
call edx
mov dword [esp + 0x18], eax
jmp 0x4174e3
lea eax, [esp + 0x1c]
push eax
mov eax, str.TYPE
call fcn.0040a9d0
test al, al
je 0x417357
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x41b19c]
movzx ecx, ax
mov eax, dword [edi]
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
movsx ecx, cx
add esp, 4
push ecx
push eax
call edx
mov dword [esp + 0x18], eax
jmp 0x4174e3
lea eax, [esp + 0x1c]
push eax
mov eax, str.DEFAULTON
call fcn.0040a9d0
test al, al
je 0x41739d
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x41b19c]
mov ecx, dword [edi]
mov edx, dword [ecx]
movzx eax, ax
sub ax, 1
add esp, 4
neg ax
sbb eax, eax
neg eax
sub eax, 1
push eax
mov eax, dword [edx + 0x40]
push ecx
call eax
mov dword [esp + 0x18], eax
jmp 0x4174e3
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.DESCRIPTION
call fcn.0040a9d0
test al, al
je 0x4173c4
mov eax, dword [edi]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x38]
call eax
mov dword [esp + 0x18], eax
jmp 0x4174e3
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.DISPLAYSTRING
call fcn.0040a9d0
test al, al
je 0x4173eb
mov eax, dword [edi]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x30]
call eax
mov dword [esp + 0x18], eax
jmp 0x4174e3
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.USERSIGNEDUP
call fcn.0040a9d0
test al, al
je 0x417431
mov edx, dword [esp + 0x28]
push edx
call dword [0x41b19c]
mov ecx, dword [edi]
mov edx, dword [ecx]
movzx eax, ax
sub ax, 1
add esp, 4
neg ax
sbb eax, eax
neg eax
sub eax, 1
push eax
mov eax, dword [edx + 0x48]
push ecx
call eax
mov dword [esp + 0x18], eax
jmp 0x4174e3
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.LANDINGPAGEURL
call fcn.0040a9d0
test al, al
je 0x417458
mov eax, dword [edi]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x54]
call eax
mov dword [esp + 0x18], eax
jmp 0x4174e3
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.LANDINGPAGEREMOTEFORMATTER
call fcn.0040a9d0
test al, al
je 0x417496
mov eax, dword [edi]
lea esi, [esp + 0x30]
call fcn.00410d00
mov byte [esp + 0x58], 7
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4174d4
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x20]
call eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
jmp 0x4174d2
lea eax, [esp + 0x1c]
push eax
mov eax, str.LANDINGPAGELOCALFORMATTER
call fcn.0040a9d0
test al, al
je 0x4174e3
mov eax, dword [edi]
lea esi, [esp + 0x34]
call fcn.00410d00
mov byte [esp + 0x58], 8
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4174d4
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push ebx
push eax
call edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
test eax, eax
mov byte [esp + 0x58], 6
je 0x4174e3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [0x41b220]
push ebx
call esi
mov byte [esp + 0x58], 0
mov eax, dword [esp + 0x1c]
push eax
call esi
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
jl 0x417250
jmp 0x4178ab
lea ecx, [esp + 0x24]
push ecx
mov eax, str.MAINTENANCE_PATCH
call fcn.0040a9d0
test al, al
jne 0x4175e0
lea edx, [esp + 0x24]
push edx
mov eax, str.EXTENSION
call fcn.0040a9d0
test al, al
jne 0x4175e0
lea eax, [esp + 0x24]
push eax
mov eax, str.MESSAGE
call fcn.0040a9d0
test al, al
jne 0x4175e0
lea ecx, [esp + 0x24]
push ecx
mov eax, str.STATUSSTRING
call fcn.0040a9d0
test al, al
je 0x4175a2
cmp byte [esi + 4], 0
je 0x4178ab
cmp dword [esi + 0x10], 0
je 0x4178ab
cmp dword [esi + 0x14], 0
je 0x4178ab
mov byte [esi + 0x18], 1
mov edx, dword [esi + 0x1c]
push edx
call dword [0x41b220]
mov dword [esi + 0x1c], 0
jmp 0x4178ab
lea eax, [esp + 0x24]
push eax
mov eax, str.PARAM
call fcn.0040a9d0
test al, al
je 0x4178ab
cmp byte [esi + 4], 0
je 0x4178ab
cmp dword [esi + 0x10], 0
je 0x4178ab
cmp dword [esi + 0x14], 0
je 0x4178ab
mov byte [esi + 0x24], 1
jmp 0x4178ab
cmp byte [esi + 4], 0
je 0x4178ab
cmp dword [esi + 0x10], 0
je 0x4178ab
lea edi, [esi + 0x14]
push edi
push 0x41b720
push 0x17
push 0
push 0x41b710
call dword [0x41b270]
test eax, eax
mov dword [esp + 0x18], eax
jl 0x4178ab
lea ecx, [esp + 0x24]
push ecx
mov eax, str.MAINTENANCE_PATCH
call fcn.0040a9d0
test al, al
je 0x417639
mov eax, dword [edi]
mov edx, dword [eax]
push 1
push eax
mov eax, dword [edx + 0x78]
call eax
jmp 0x417685
lea ecx, [esp + 0x24]
push ecx
mov eax, str.EXTENSION
call fcn.0040a9d0
test al, al
je 0x41765a
mov eax, dword [edi]
mov edx, dword [eax]
push 2
push eax
mov eax, dword [edx + 0x78]
call eax
jmp 0x417685
lea ecx, [esp + 0x24]
push ecx
mov eax, str.MESSAGE
call fcn.0040a9d0
test al, al
mov eax, dword [edi]
je 0x41767b
mov edx, dword [eax]
push 3
push eax
mov eax, dword [edx + 0x78]
call eax
jmp 0x417685
mov ecx, dword [eax]
mov edx, dword [ecx + 0x78]
push 0
push eax
call edx
mov ebx, dword [ebp + 0x24]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push ecx
push ebx
call edx
cmp dword [esp + 0x20], 0
mov dword [esp + 0x2c], 0
jle 0x4178ab
lea esp, [esp]
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x4c]
push edx
push esi
push ebx
call eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x34]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
push ebx
call ecx
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push edx
lea esi, [esp + 0x20]
call fcn.0040c400
mov byte [esp + 0x58], 9
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x44]
lea esi, [esp + 0x40]
call fcn.0040c400
lea esi, [esp + 0x1c]
mov byte [esp + 0x58], 0xa
call fcn.00411cf0
mov ecx, esi
push ecx
mov eax, 0x41c9d4
call fcn.0040a9d0
test al, al
mov esi, dword [esp + 0x3c]
je 0x417734
mov eax, dword [edi]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x20]
jmp 0x417879
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.DESCRIPTION
call fcn.0040a9d0
test al, al
je 0x417755
mov eax, dword [edi]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x30]
jmp 0x417879
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.LAUNCHDATE
call fcn.0040a9d0
test al, al
je 0x41778e
mov edx, dword [esp + 0x28]
push edx
call dword [0x41b1a4]
mov ecx, dword [edi]
add esp, 4
mov dword [esp + 0x38], edx
push dword [esp + 0x38]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x58]
push ecx
call eax
jmp 0x41787b
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.NAME
call fcn.0040a9d0
test al, al
je 0x4177af
mov eax, dword [edi]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x28]
jmp 0x417879
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.STATUSCODE
call fcn.0040a9d0
test al, al
je 0x4177e1
mov edx, dword [esp + 0x28]
push edx
call dword [0x41b19c]
movzx ecx, ax
mov eax, dword [edi]
mov edx, dword [eax]
add esp, 4
push ecx
push eax
mov eax, dword [edx + 0x68]
jmp 0x417879
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.SWCLASSGUID
call fcn.0040a9d0
test al, al
je 0x417802
mov eax, dword [edi]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x40]
jmp 0x417879
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.SWCLASSPROGID
call fcn.0040a9d0
test al, al
je 0x417820
mov eax, dword [edi]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x38]
jmp 0x417879
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.TARGETURL
call fcn.0040a9d0
test al, al
je 0x41783e
mov eax, dword [edi]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x50]
jmp 0x417879
lea ecx, [esp + 0x1c]
push ecx
mov eax, str.VALIDURL
call fcn.0040a9d0
test al, al
je 0x41787f
mov edx, dword [esp + 0x28]
push edx
call dword [0x41b19c]
mov ecx, dword [edi]
mov edx, dword [ecx]
movzx eax, ax
sub ax, 1
add esp, 4
neg ax
sbb eax, eax
neg eax
sub eax, 1
push eax
mov eax, dword [edx + 0x60]
push ecx
call eax
mov dword [esp + 0x18], eax
push esi
call dword [0x41b220]
mov byte [esp + 0x58], 0
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x41b220]
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
jl 0x4176b0
mov edx, dword [esp + 0x24]
push edx
call dword [0x41b220]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20