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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x513b68
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x570be0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x570be0]
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 [0x571ba4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x571ba4
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 0x47a77a
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 [0x571ba4]
mov ecx, 0x571ba4
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.004215a0
add esp, 4
mov byte [esp + 0xa0], 4
cmp dword [esi + 0x24], 0
je 0x47a695
push 2
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.004216b0
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 0x47a6bd
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 0x47a6de
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 0x47a703
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 0x47a728
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 0x47a752
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.004e6e0a
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.00439cf0
mov esi, eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x30]
call fcn.00439230
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.004393a0
lea ecx, [esp + 0x74]
mov byte [esp + 0xa0], 6
call fcn.004393a0
push ecx
push str.params
lea ecx, [esp + 0x4c]
call fcn.00439cf0
push edi
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.00439230
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.004393a0
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
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.00439e70
cmp eax, 0x5781c0
je 0x47a93a
push str.function
mov ecx, edi
call fcn.00439e70
cmp byte [eax + 8], 4
jne 0x47a93a
push str.function
mov ecx, edi
call fcn.00439e70
mov esi, eax
cmp byte [esi + 8], 4
je 0x47a92f
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004eb62b
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 [0x571ba4]
mov ecx, 0x571ba4
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.0043bb60
mov edx, eax
mov byte [esp + 0xa0], 0xb
cmp dword [edx + 0x14], 0x10
jb 0x47a9a5
mov edx, dword [edx]
test edx, edx
jne 0x47a9ad
xor ecx, ecx
jmp 0x47a9bb
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47a9b2
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.0042c870
mov byte [esp + 0xa0], 0xa
cmp dword [esp + 0x88], 0x10
jb 0x47a9e4
push dword [esp + 0x74]
call fcn.004e71fd
add esp, 4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x40]
call fcn.0042bf30
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jne 0x47aa0f
push 2
push 0x552098
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 0x47ae17
cmp eax, ecx
jg 0x47ae17
or edi, 0xffffffff
cmp word [esi + eax*2], 0xa
jne 0x47aac9
lea eax, [ecx - 1]
push eax
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.004243a0
mov byte [esp + 0xa0], 0xc
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x47aaa4
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x47aa93
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x47aa93
call fcn.00420750
mov dword [esp + 0x1c], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x47aa8a
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 0x47aaa4
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 0x47aac9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
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 0x47ab0c
movzx ebx, ax
mov ecx, ebx
call fcn.0041fcd0
test eax, eax
je 0x47ab1c
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x47ab1c
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 0x47ab55
cmp ecx, dword [esi]
jne 0x47ab55
mov ebx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x47ab92
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x47ab69
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.004e82bf
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 0x47abd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [esp + 0x23], 0
je 0x47ad84
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 [0x571ba4]
mov ecx, 0x571ba4
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.004215a0
add esp, 4
mov byte [esp + 0xa0], 0x12
cmp dword [ebx + 0x24], 0
je 0x47ac5f
push 2
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.004216b0
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 0x47ac84
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 0x47aca9
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 0x47acce
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 0x47acf3
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 0x47ad11
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 0x47ad2c
push dword [esp + 0x58]
call fcn.004e71fd
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 0x47ad6e
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.004393a0
jmp 0x47a728
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 0x47ada4
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 0x47adbf
push dword [esp + 0x58]
call fcn.004e71fd
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 0x47ae01
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.004393a0
jmp 0x47a72c
push 0x80070057
call fcn.0041fba0
int3