Function at 0x10051fb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1029ad64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push edi
push eax
mov ecx, 0x101cf480
call fcn.10050590
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a003c]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb30], eax
cmp edx, 0x10
jb 0x10052028
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005201e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005201e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf498
call fcn.1004fb10
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a006c]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb38], eax
cmp edx, 0x10
jb 0x1005208e
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10052084
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052084
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf4b8
call fcn.10050830
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0054]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb3c], eax
cmp edx, 0x10
jb 0x100520f4
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100520ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100520ea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf4d0
call fcn.1004fbf0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0044]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb40], eax
cmp edx, 0x10
jb 0x1005215a
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10052150
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052150
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf4f0
call fcn.1004fe90
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a003c]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb44], eax
cmp edx, 0x10
jb 0x100521c0
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100521b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100521b6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf510
call fcn.1004fbf0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0044]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb48], eax
cmp edx, 0x10
jb 0x10052226
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005221c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005221c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf530
call fcn.1004ff70
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0058]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb4c], eax
cmp edx, 0x10
jb 0x1005228c
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10052282
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052282
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf550
call fcn.1004fe90
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0044]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb54], eax
cmp edx, 0x10
jb 0x100522f2
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100522e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100522e8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf570
call fcn.1004fb10
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0044]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb58], eax
cmp edx, 0x10
jb 0x10052358
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005234e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005234e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf590
call fcn.1004fcd0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0048]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb5c], eax
cmp edx, 0x10
jb 0x100523be
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100523b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100523b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf5b0
call fcn.1004fbf0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0068]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb60], eax
cmp edx, 0x10
jb 0x10052424
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005241a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005241a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf5d0
call fcn.10050750
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0060]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb64], eax
cmp edx, 0x10
jb 0x1005248a
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10052480
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052480
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf5e8
call fcn.10050910
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a005c]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb6c], eax
cmp edx, 0x10
jb 0x100524f0
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100524e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100524e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf608
call fcn.1004fb10
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a003c]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb78], eax
cmp edx, 0x10
jb 0x10052556
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005254c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005254c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf628
call fcn.1004fe90
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a003c]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb68], eax
cmp edx, 0x10
jb 0x100525bc
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100525b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100525b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf648
call fcn.1004fe90
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0044]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb7c], eax
cmp edx, 0x10
jb 0x10052622
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10052618
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052618
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf668
call fcn.1004fdb0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0044]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb90], eax
cmp edx, 0x10
jb 0x10052688
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005267e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005267e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf688
call fcn.10050130
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0070]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb94], eax
cmp edx, 0x10
jb 0x100526ee
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100526e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100526e4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf6b0
call fcn.1004ff70
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0044]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bba0], eax
cmp edx, 0x10
jb 0x10052754
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005274a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005274a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf6d0
call fcn.10050670
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0064]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bba4], eax
cmp edx, 0x10
jb 0x100527ba
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100527b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100527b0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf6e8
call fcn.1004fe90
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0044]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bba8], eax
cmp edx, 0x10
jb 0x10052820
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10052816
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052816
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf708
call fcn.100503d0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0044]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bbb4], eax
cmp edx, 0x10
jb 0x10052886
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005287c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005287c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov esi, dword [0x102a032c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x101cf730
call fcn.10050050
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [0x102a0044]
lea eax, [ebp - 0x20]
push eax
call fcn.1006d390
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bbc0], eax
cmp edx, 0x10
jb 0x100528ec
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100528e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100528e2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov eax, dword [0x102a00b4]
mov eax, dword [eax]
mov dword [0x1029bbc8], eax
mov eax, dword [0x102a02f0]
mov eax, dword [eax]
mov dword [0x1029bb50], eax
mov eax, dword [0x102a00f0]
mov eax, dword [eax]
mov dword [0x1029bb80], eax
mov eax, dword [0x102a01dc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x1029bb98], eax
mov eax, dword [0x102a0228]
mov eax, dword [eax]
mov dword [0x1029bb9c], eax
mov eax, dword [0x102a00ec]
test eax, eax
je 0x10052936
inc eax
jmp 0x10052938
xor eax, eax
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x1029bb8c], eax
mov eax, dword [0x102a0234]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x1029bb74], eax
mov eax, dword [0x102a0130]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x1029bbc4], eax
mov eax, dword [0x102a00c4]
call eax
add eax, 4
mov ecx, 0x101cf758
mov dword [0x1029bbb8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10050670
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [0x102a004c]
call edi
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x1029bb88], eax
cmp edx, 0x10
jb 0x100529d1
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100529c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100529c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
mov eax, dword [0x102a017c]
mov ecx, 0x101cf770
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x1029bb34], eax
mov eax, dword [0x1029bb30]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 5]
mov eax, dword [eax]
mov dword [0x1029bb70], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1004fb10
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [0x102a005c]
call edi
call eax
mov edx, dword [ebp - 8]
mov dword [0x1029bbb0], eax
cmp edx, 0x10
jb 0x10052a52
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10052a48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052a48
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
cmp byte [0x101cf006], 0
jne 0x10052a81
cmp byte [0x101cf47e], 0
jne 0x10052a9f
mov dword [0x1029bb84], 0
mov dword [0x1029bbac], 0
mov byte [0x101cf47e], 1
jmp 0x10052a9f
cmp byte [0x101cf47e], 0
je 0x10052a9f
mov eax, dword [0x102a0314]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x1029bbac], eax
mov byte [0x101cf47e], 0
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 [0x1029bcf8], 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 [0x1029bcf8]
mov dword [0x1029bd08], eax
push str.SteamUser019
push edi
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x1029bcf8]
mov dword [0x1029bcfc], eax
push str.SteamFriends015
push edi
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [0x1029bd10]
mov dword [0x1029bd00], eax
test cl, 1
jne 0x10052b65
or ecx, 1
mov dword [0x1029bd10], ecx
mov ecx, dword [0x1029bcf8]
push str.STEAMINVENTORY_INTERFACE_V002
push edi
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov dword [0x1029bd0c], eax
mov eax, dword [0x1029bd00]
mov eax, dword [eax]
lea edx, [ebp - 0x24]
mov ecx, dword [0x1029bcfc]
push edx
mov esi, dword [eax + 0x90]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [0x1029bd00]
push dword [eax + 4]
push dword [eax]
call esi
mov ecx, dword [0x1029bcf8]
push str.SteamUtils009
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x1029bd04], eax
pop esi
call fcn.10139242
mov esp, ebp
pop ebp
ret