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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5171c8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x574be0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x3c], esi
mov eax, dword [0x575ba4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0xa0], 0
mov byte [esp + 0x13], 0
cmp ecx, 1
jge 0x47fa9a
push str.callbackid_error
lea ecx, [esp + 0x18]
call fcn.00420550
push str.RunJSCallbackFunction
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 1
call fcn.004204a0
mov byte [esp + 0xa0], 2
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 3
call fcn.00421890
add esp, 4
mov byte [esp + 0xa0], 4
cmp dword [esi + 0x24], 0
je 0x47f9b5
push 2
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.004219a0
mov byte [esp + 0xa0], 3
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x47f9dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0xa0], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f9fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 1
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47fa23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47fa48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, byte [esp + 0x13]
mov dword [esp + 0xa0], 0xffffffff
mov esi, dword [esp + 0x40]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x47fa72
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004e9eea
mov esp, ebp
pop ebp
ret 8
and dword [esp + 0x4c], 0xfffffe00
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x7c]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x74], ecx
push ecx
push str.listenerId
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 7
call fcn.00439ec0
mov esi, eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x30]
call fcn.00439400
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x34]
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
mov eax, ebx
xor eax, ecx
mov ecx, dword [esi]
and eax, 0xff
xor ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x2c]
mov dword [esi + 8], eax
mov dword [esp + 0x34], ebx
call fcn.00439570
lea ecx, [esp + 0x74]
mov byte [esp + 0xa0], 6
call fcn.00439570
push ecx
push str.params
lea ecx, [esp + 0x4c]
call fcn.00439ec0
push edi
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.00439400
movsx edx, byte [esi + 8]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, ebx
xor ecx, edx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x30], edx
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x2c]
mov dword [esi + 8], eax
mov dword [esp + 0x34], ebx
call fcn.00439570
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
push str.function
mov ecx, edi
mov byte [esp + 0xa4], 8
call fcn.0043a040
cmp eax, 0x57c240
je 0x47fc5a
push str.function
mov ecx, edi
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x47fc5a
push str.function
mov ecx, edi
call fcn.0043a040
mov esi, eax
cmp byte [esi + 8], 4
je 0x47fc4f
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ee70b
add esp, 0xc
push dword [esi]
lea ecx, [esp + 0x2c]
call fcn.00420650
mov dword [esp + 0x54], vtable.Json::FastWriter.0
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
mov byte [esp + 0x70], 0
mov byte [esp + 0xa0], 9
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa8], 0xa
call fcn.0043bd30
mov edx, eax
mov byte [esp + 0xa0], 0xb
cmp dword [edx + 0x14], 0x10
jb 0x47fcc5
mov edx, dword [edx]
test edx, edx
jne 0x47fccd
xor ecx, ecx
jmp 0x47fcdb
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47fcd2
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.0042ca60
mov byte [esp + 0xa0], 0xa
cmp dword [esp + 0x88], 0x10
jb 0x47fd04
push dword [esp + 0x74]
call fcn.004ea2dd
add esp, 4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x40]
call fcn.0042c120
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jne 0x47fd2f
push 2
push 0x555f24
lea ecx, [esp + 0x1c]
call fcn.00420c80
mov esi, dword [esp + 0x14]
mov ecx, dword [esi - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x480137
cmp eax, ecx
jg 0x480137
or edi, 0xffffffff
cmp word [esi + eax*2], 0xa
jne 0x47fde9
lea eax, [ecx - 1]
push eax
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.00424690
mov byte [esp + 0xa0], 0xc
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x47fdc4
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x47fdb3
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x47fdb3
call fcn.00420750
mov dword [esp + 0x1c], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x47fdaa
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
jmp 0x47fdc4
push dword [edx - 0xc]
lea ecx, [esp + 0x18]
push edx
call fcn.00420c80
mov esi, dword [esp + 0x14]
mov byte [esp + 0xa0], 0xa
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47fde9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.__GLOBAL_INSTALLER_CPP_CB_FUNCTION__
mov byte [esp + 0xa0], 0xd
test eax, 0xffff0000
jne 0x47fe2c
movzx ebx, ax
mov ecx, ebx
call fcn.0041fcd0
test eax, eax
je 0x47fe3c
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x47fe3c
push 0x24
push str.__GLOBAL_INSTALLER_CPP_CB_FUNCTION__
lea ecx, [esp + 0x20]
call fcn.00420c80
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xa4], 0xe
push ecx
mov ecx, dword [esi - 0x10]
add esi, 0xfffffff0
mov eax, dword [ecx]
mov dword [esp + 0x24], esp
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x47fe75
cmp ecx, dword [esi]
jne 0x47fe75
mov ebx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x47feb2
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x47fe89
call fcn.004208f0
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.004eb39f
add esp, 0x10
mov ecx, dword [esp + 0x24]
lea eax, [ebx + 0x10]
mov ebx, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
mov eax, dword [eax]
push ecx
mov ecx, ebx
call eax
test al, al
mov byte [esp + 0xa0], 0xa
mov edx, dword [esp + 0x18]
sete byte [esp + 0x23]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47fef8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [esp + 0x23], 0
je 0x4800a4
push str.__GLOBAL_INSTALLER_CPP_CB_FUNCTION___error
lea ecx, [esp + 0x20]
call fcn.00420550
push str.RunJSCallbackFunction
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0xf
call fcn.004204a0
mov byte [esp + 0xa0], 0x10
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x40]
mov byte [esp + 0xa4], 0x11
call fcn.00421890
add esp, 4
mov byte [esp + 0xa0], 0x12
cmp dword [ebx + 0x24], 0
je 0x47ff7f
push 2
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.004219a0
mov byte [esp + 0xa0], 0x11
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ffa4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0x10
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ffc9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0xf
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ffee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0xa
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480013
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 9
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480031
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x54], vtable.Json::FastWriter.0
jb 0x48004c
push dword [esp + 0x58]
call fcn.004ea2dd
add esp, 4
mov byte [esp + 0xa0], 6
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
mov dword [esp + 0x54], vtable.Json::Writer.0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48008e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x44]
mov byte [esp + 0xa0], 0
call fcn.00439570
jmp 0x47fa48
mov bl, 1
mov byte [esp + 0xa0], 9
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4800c4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x54], vtable.Json::FastWriter.0
jb 0x4800df
push dword [esp + 0x58]
call fcn.004ea2dd
add esp, 4
mov byte [esp + 0xa0], 6
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
mov dword [esp + 0x54], vtable.Json::Writer.0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480121
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x44]
mov byte [esp + 0xa0], 0
call fcn.00439570
jmp 0x47fa4c
push 0x80070057
call fcn.0041fba0
int3