Function at 0x100529c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10273240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push edi
push eax
mov ecx, 0x101ac350
call fcn.100511b0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a4c]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274030], eax
cmp ecx, 0xf
jbe 0x10052a38
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052a2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052a2e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac368
call fcn.100507f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a7c]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274038], eax
cmp ecx, 0xf
jbe 0x10052a9e
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052a94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052a94
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac388
call fcn.10051420
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a64]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1027403c], eax
cmp ecx, 0xf
jbe 0x10052b04
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052afa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052afa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac3a0
call fcn.100508c0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a54]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274040], eax
cmp ecx, 0xf
jbe 0x10052b6a
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052b60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052b60
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac3c0
call fcn.10050b30
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a4c]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274044], eax
cmp ecx, 0xf
jbe 0x10052bd0
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052bc6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052bc6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac3e0
call fcn.100508c0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a54]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274048], eax
cmp ecx, 0xf
jbe 0x10052c36
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052c2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052c2c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac400
call fcn.10050c00
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a68]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1027404c], eax
cmp ecx, 0xf
jbe 0x10052c9c
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052c92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052c92
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac420
call fcn.10050b30
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a54]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274054], eax
cmp ecx, 0xf
jbe 0x10052d02
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052cf8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052cf8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac440
call fcn.100507f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a54]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274058], eax
cmp ecx, 0xf
jbe 0x10052d68
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052d5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052d5e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac460
call fcn.10050990
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a58]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1027405c], eax
cmp ecx, 0xf
jbe 0x10052dce
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052dc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052dc4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac480
call fcn.100508c0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a78]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274060], eax
cmp ecx, 0xf
jbe 0x10052e34
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052e2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052e2a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac4a0
call fcn.10051350
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a70]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274064], eax
cmp ecx, 0xf
jbe 0x10052e9a
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052e90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052e90
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac4b8
call fcn.100514f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a6c]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1027406c], eax
cmp ecx, 0xf
jbe 0x10052f00
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052ef6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052ef6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac4d8
call fcn.100507f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a4c]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274078], eax
cmp ecx, 0xf
jbe 0x10052f66
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052f5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052f5c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac4f8
call fcn.10050b30
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a4c]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274068], eax
cmp ecx, 0xf
jbe 0x10052fcc
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052fc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052fc2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac518
call fcn.10050b30
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a54]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1027407c], eax
cmp ecx, 0xf
jbe 0x10053032
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10053028
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10053028
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac538
call fcn.10050a60
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a54]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274090], eax
cmp ecx, 0xf
jbe 0x10053098
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005308e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005308e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac558
call fcn.10050da0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a80]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274094], eax
cmp ecx, 0xf
jbe 0x100530fe
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100530f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100530f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac580
call fcn.10050c00
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a54]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x102740a0], eax
cmp ecx, 0xf
jbe 0x10053164
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005315a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005315a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac5a0
call fcn.10051280
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a74]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x102740a4], eax
cmp ecx, 0xf
jbe 0x100531ca
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100531c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100531c0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac5b8
call fcn.10050b30
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a54]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x102740a8], eax
cmp ecx, 0xf
jbe 0x10053230
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10053226
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10053226
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac5d8
call fcn.10051010
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a54]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x102740b4], eax
cmp ecx, 0xf
jbe 0x10053296
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005328c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005328c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [0x10274d40]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101ac600
call fcn.10050cd0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x10274a54]
lea eax, [ebp - 0x20]
push eax
call fcn.1006c1d0
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x102740c0], eax
cmp ecx, 0xf
jbe 0x100532fc
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100532f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100532f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov eax, dword [0x10274ac4]
mov eax, dword [eax]
mov dword [0x102740c8], eax
mov eax, dword [0x10274d04]
mov eax, dword [eax]
mov dword [0x10274050], eax
mov eax, dword [0x10274b00]
mov eax, dword [eax]
mov dword [0x10274080], eax
mov eax, dword [0x10274bf0]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x10274098], eax
mov eax, dword [0x10274c3c]
mov eax, dword [eax]
mov dword [0x1027409c], eax
mov eax, dword [0x10274afc]
test eax, eax
je 0x10053346
inc eax
jmp 0x10053348
xor eax, eax
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x1027408c], eax
mov eax, dword [0x10274c48]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x10274074], eax
mov eax, dword [0x10274b40]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x102740c4], eax
mov eax, dword [0x10274ad4]
call eax
add eax, 4
mov ecx, 0x101ac628
mov dword [0x102740b8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10051280
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmova eax, dword [ebp - 0x1c]
push eax
push dword [0x10274a5c]
call edi
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x10274088], eax
cmp ecx, 0xf
jbe 0x100533e1
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100533d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100533d7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov eax, dword [0x10274b8c]
mov ecx, 0x101ac640
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x10274034], eax
mov eax, dword [0x10274030]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 5]
mov eax, dword [eax]
mov dword [0x10274070], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100507f0
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
push eax
push dword [0x10274a6c]
call edi
call eax
mov ecx, dword [ebp - 8]
mov dword [0x102740b0], eax
cmp ecx, 0xf
jbe 0x10053462
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10053458
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10053458
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.SteamAPI_GetHSteamUser
push str.steam_api.dll
call esi
push eax
call edi
call eax
push str.SteamAPI_GetHSteamPipe
push str.steam_api.dll
mov dword [ebp - 0x20], eax
call esi
push eax
call edi
call eax
push str.SteamClient
push str.steam_api.dll
mov edi, eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov esi, dword [ebp - 0x20]
mov dword [0x102741e8], eax
push str.SteamGameCoordinator001
mov ecx, dword [eax]
push edi
push esi
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
mov ecx, dword [0x102741e8]
mov dword [0x102741f8], eax
push str.SteamUser019
push edi
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x102741e8]
mov dword [0x102741ec], eax
push str.SteamFriends015
push edi
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [0x10274200]
mov dword [0x102741f0], eax
test cl, 1
jne 0x10053528
or ecx, 1
mov dword [0x10274200], ecx
mov ecx, dword [0x102741e8]
push str.STEAMINVENTORY_INTERFACE_V002
push edi
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov dword [0x102741fc], eax
mov eax, dword [0x102741f0]
mov eax, dword [eax]
lea edx, [ebp - 0x24]
mov ecx, dword [0x102741ec]
push edx
mov esi, dword [eax + 0x90]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [0x102741f0]
push dword [eax + 4]
push dword [eax]
call esi
mov ecx, dword [0x102741e8]
push str.SteamUtils009
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
cmp byte [0x101ac005], 0
mov dword [0x102741f4], eax
jne 0x100535a3
cmp byte [0x101ac34e], 0
jne 0x100535c1
pop edi
mov dword [0x10274084], 0
mov dword [0x102740ac], 0
mov byte [0x101ac34e], 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10106b52
mov esp, ebp
pop ebp
ret
cmp byte [0x101ac34e], 0
je 0x100535c1
mov eax, dword [0x10274d28]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x102740ac], eax
mov byte [0x101ac34e], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10106b52
mov esp, ebp
pop ebp
ret