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

Disassembly:
push 0xffffffffffffffff
push 0x4af596
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
mov eax, dword [0x4cb400]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x168], eax
lea eax, [esp + 0xe8]
push 0x4b6cbc
push eax
mov edi, ecx
call fcn.00496d86
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 4]
lea ebp, [edi + 4]
add esp, 8
push edx
mov ecx, ebp
call fcn.00464680
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
xor ebx, ebx
mov dword [ebp + 8], ebx
mov dword [eax], eax
mov eax, dword [ebp + 4]
push 1
mov dword [eax + 8], eax
mov ecx, dword [0x4d5fd4]
push ebx
lea eax, [esp + 0xf0]
push eax
push str.publicsell
push str.id_roldDataId_priceStep_priceOne_currentPrice_currentRoleId_priceGold_source_name_item_id_sell_time_phyle_backdata
add ecx, 0xbe0
call fcn.0047c890
test al, al
je 0x467075
mov ecx, dword [0x4d5fd4]
add ecx, 0xbe0
call fcn.0047bfe0
test eax, eax
jle 0x467075
mov ecx, dword [0x4d5fd4]
add ecx, 0xbe0
call fcn.0047bfe0
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x174], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], bl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ecx
jle 0x467056
mov edi, edi
cmp ecx, ebx
je 0x466cad
mov ecx, dword [0x4d5fd4]
add ecx, 0xbe0
call fcn.0047c030
test al, al
je 0x467056
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4d5fd4]
lea edx, [esp + 0x14]
push edx
push ebx
add ecx, 0xbe0
call fcn.0047c660
test al, al
je 0x466cde
mov eax, dword [esp + 0x10]
push eax
call fcn.00497eca
add esp, 4
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4d5fd4]
lea edx, [esp + 0x14]
push edx
push 1
add ecx, 0xbe0
call fcn.0047c660
test al, al
je 0x466d10
mov eax, dword [esp + 0x10]
push eax
call fcn.00497eca
add esp, 4
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4d5fd4]
lea edx, [esp + 0x14]
push edx
push 2
add ecx, 0xbe0
call fcn.0047c660
test al, al
je 0x466d42
mov eax, dword [esp + 0x10]
push eax
call fcn.00497eca
add esp, 4
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4d5fd4]
lea edx, [esp + 0x14]
push edx
push 3
add ecx, 0xbe0
call fcn.0047c660
test al, al
je 0x466d74
mov eax, dword [esp + 0x10]
push eax
call fcn.00497eca
add esp, 4
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4d5fd4]
lea edx, [esp + 0x14]
push edx
push 4
add ecx, 0xbe0
call fcn.0047c660
test al, al
je 0x466da6
mov eax, dword [esp + 0x10]
push eax
call fcn.00497eca
add esp, 4
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4d5fd4]
lea edx, [esp + 0x14]
push edx
push 5
add ecx, 0xbe0
call fcn.0047c660
test al, al
je 0x466dd8
mov eax, dword [esp + 0x10]
push eax
call fcn.00497eca
add esp, 4
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4d5fd4]
lea edx, [esp + 0x14]
push edx
push 6
add ecx, 0xbe0
call fcn.0047c660
test al, al
je 0x466e0a
mov eax, dword [esp + 0x10]
push eax
call fcn.00497eca
add esp, 4
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4d5fd4]
lea edx, [esp + 0x14]
push edx
push 7
add ecx, 0xbe0
call fcn.0047c660
test al, al
je 0x466e64
mov edx, dword [esp + 0x10]
cmp edx, ebx
je 0x466e64
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x466e38
sub eax, esi
mov dword [esp + 0x48], eax
je 0x466e64
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x466e50
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x54]
call fcn.00404fa0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4d5fd4]
push 8
add ecx, 0xbe0
call fcn.0047c660
test al, al
je 0x466e96
mov edx, dword [esp + 0x10]
push edx
call fcn.00497eca
add esp, 4
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4d5fd4]
push 9
add ecx, 0xbe0
call fcn.0047c660
test al, al
je 0x466ec8
mov edx, dword [esp + 0x10]
push edx
call fcn.00497eca
add esp, 4
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4d5fd4]
push 0xa
add ecx, 0xbe0
call fcn.0047c660
test al, al
je 0x466efa
mov edx, dword [esp + 0x10]
push edx
call fcn.00497eca
add esp, 4
mov byte [esp + 0x1a], al
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x4d5fd4]
push 0xb
add ecx, 0xbe0
call fcn.0047c660
test al, al
je 0x466f2c
mov edx, dword [esp + 0x10]
push edx
call fcn.00497eca
add esp, 4
mov byte [esp + 0x1b], al
mov esi, 0xf
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x80], eax
mov al, byte [esp + 0x1a]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x20]
mov byte [esp + 0xb9], al
mov eax, dword [esp + 0x3c]
push 0xffffffffffffffff
mov dword [esp + 0x78], ecx
push ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x180], 1
mov dword [esp + 0xbc], ebx
mov word [esp + 0x78], bx
mov word [esp + 0x7a], bx
mov word [esp + 0x98], bx
mov word [esp + 0x7c], bx
mov dword [esp + 0x74], edx
mov dword [esp + 0xc0], eax
call fcn.00404d80
mov dl, byte [esp + 0x1b]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
mov byte [esp + 0xc0], dl
call fcn.00465690
mov ecx, eax
call fcn.00464090
cmp dword [esp + 0xac], 0x10
mov byte [esp + 0x174], bl
jb 0x46702c
mov edx, dword [esp + 0x98]
push edx
call fcn.00496b1d
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
inc ecx
cmp ecx, eax
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov dword [esp + 0x2c], ecx
jl 0x466c90
cmp dword [esp + 0x64], 0x10
mov dword [esp + 0x174], 0xffffffff
jb 0x467075
mov eax, dword [esp + 0x50]
push eax
call fcn.00496b1d
add esp, 4
mov ecx, dword [edi + 0x14]
mov edx, dword [ecx + 4]
lea esi, [edi + 0x10]
push edx
mov ecx, esi
call fcn.00465f60
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x1c]
push ecx
mov ecx, esi
call fcn.00465fa0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov edx, dword [edi + 0x2c]
mov eax, dword [edx + 4]
lea esi, [edi + 0x28]
push eax
mov ecx, esi
call fcn.00465fa0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + 4]
lea esi, [edi + 0x34]
push edx
mov ecx, esi
call fcn.00465fa0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x40]
push ecx
mov ecx, esi
call fcn.00465fa0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov eax, dword [edi + 8]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x1c], esi
je 0x46723a
nop
mov ecx, dword [0x4d620c]
call fcn.004583e0
mov edx, dword [esi + 0x38]
push edx
mov ecx, eax
mov dword [esi + 0x58], eax
call fcn.0045c770
mov ecx, dword [esi + 0x58]
cmp ecx, ebx
je 0x4671ef
call fcn.0045c830
test eax, eax
je 0x4671ef
mov ecx, dword [esi + 0x58]
mov ax, word [ecx + 0xc]
mov word [esi + 0x14], ax
call fcn.0045c830
xor ecx, ecx
mov cx, word [eax + 0x64]
push ecx
call fcn.00442f90
mov ecx, eax
call fcn.00444ef0
mov ecx, dword [esi + 0x58]
mov word [esi + 0x16], ax
call fcn.0045c830
mov dx, word [eax + 0x64]
mov ecx, dword [esi + 0x58]
mov word [esi + 0x34], dx
call fcn.0045c830
movsx eax, word [eax + 0x88]
xor ecx, ecx
mov cx, word [esi + 0x34]
xor edx, edx
mov dx, word [esi + 0x14]
mov word [esi + 0x18], ax
push ecx
mov ecx, dword [esi + 0x1c]
push eax
xor eax, eax
mov ax, word [esi + 0x16]
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
mov ecx, edi
call fcn.004668c0
lea ecx, [esp + 0x1c]
call fcn.00463520
mov esi, dword [esp + 0x1c]
jmp 0x467231
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x10]
push eax
push ecx
lea edx, [esp + 0x70]
push str._d:_d
push edx
call fcn.00496d86
mov eax, dword [0x524e14]
mov ecx, dword [eax]
lea edx, [esp + 0x78]
push edx
push 0x4b6c2c
push eax
call dword [ecx + pe_nt_image_headers32]
add esp, 0x1c
push esi
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.004643a0
mov esi, dword [eax]
mov dword [esp + 0x1c], esi
cmp esi, dword [edi + 8]
jne 0x467140
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x15c]
pop ebx
call fcn.00496e0f
add esp, 0x168
ret