Function at 0x10028370
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d8ad
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10004a90
push 0
push 0x1008946c
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.10007910
mov ebx, eax
lea ecx, [ebp - 0x40]
lea esi, [ebx + 1]
push esi
push 0x1008946c
call fcn.10007910
cmp dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x40]
mov edx, ebx
mov dword [ebp - 0x28], 0
cmovb edx, dword [ebp - 0x30]
mov edi, eax
cmp dword [ebp - 0x2c], 0x10
push edx
cmovae ecx, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.10004a90
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__atoi64]
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x44], eax
cmp edx, 0x10
jb 0x1002846a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10028460
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10028460
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp edx, esi
jb 0x10028693
mov ecx, edi
lea eax, [ebp - 0x40]
sub ecx, ebx
sub edx, esi
dec ecx
cmp edx, ecx
cmovb ecx, edx
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
add eax, esi
push eax
call fcn.10004a90
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__atoi64]
mov edx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
cmp edx, 0x10
jb 0x100284fa
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100284f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100284f0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov eax, dword [ebp - 0x30]
lea edx, [edi + 1]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp eax, edx
jb 0x10028698
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
add eax, edx
lea ecx, [ebp - 0x28]
push eax
call fcn.10004a90
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov edx, dword [ebp - 0x14]
add esp, 4
fstp dword [ebp - 0x48]
cmp edx, 0x10
jb 0x1002858d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10028583
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10028583
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1004d7a1
add esp, 8
call dword [sym.imp.Common.dll_class_BaseDataList____cdecl_BaseDataList_get_void_]
push dword [ebp - 0x44]
mov ecx, eax
call dword [sym.imp.Common.dll_public:_class_BaseData____thiscall_BaseDataList::get_base_data_unsigned_int_const]
test eax, eax
je 0x10028641
mov ecx, eax
call dword [sym.imp.Common.dll_public:_class_std::map_unsigned_int__struct_MarketGoodInfo__struct_std::less_unsigned_int___class_std::allocator_struct_MarketGoodInfo___const____thiscall_BaseData::get_market_void_const]
mov ecx, dword [eax]
mov edi, ecx
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x100285d4
nop dword [eax + eax]
cmp dword [eax + 0x10], esi
jae 0x100285ca
mov eax, dword [eax + 8]
jmp 0x100285ce
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x100285c0
cmp byte [edi + 0xd], 0
jne 0x10028641
cmp esi, dword [edi + 0x10]
jb 0x10028641
cmp edi, ecx
je 0x10028641
add edi, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [ebp - 0x44]
push eax
push 0x40
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
push 4
lea eax, [ebp - 0x48]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x101db646], 0
je 0x10028641
cmp dword [0x101db6bc], 0
je 0x10028641
mov ecx, dword [0x101db6bc]
push 0
push 0
call fcn.100260e0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10028677
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002866d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002866d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d763
mov esp, ebp
pop ebp
ret
call fcn.10007ea0
call fcn.10007ea0
int3