Function at 0x47be40
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x240
mov eax, dword [0x57f7c4]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x24c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov ebx, ecx
call esi
mov dword [esp + 0x14], eax
movzx eax, word [ebx]
add eax, 0xfffffaff
cmp eax, 0xf
ja case.0x47be7e.1294
jmp dword [eax*4 + 0x47cfdc]
mov eax, dword [ebx + 6]
mov dword [ebp + 0x128], eax
movzx ecx, byte [ebx + 0xa]
mov byte [ebp + 0x12d], cl
movzx edx, byte [ebx + 0xb]
mov byte [ebp + 0x12e], dl
movzx eax, byte [ebx + 0xc]
mov byte [ebp + 0x12f], al
movzx ecx, byte [ebx + 0xf]
mov byte [ebp + 0x134], cl
movzx edx, byte [ebx + 0x10]
mov byte [ebp + 0x135], dl
movzx eax, byte [ebx + 0xd]
mov byte [ebp + 0x131], al
movzx ecx, byte [ebx + 0xe]
mov byte [ebp + 0x132], cl
mov dx, word [ebx + 0x11]
mov word [ebp + 0x136], dx
mov ax, word [ebx + 0x13]
mov word [ebp + 0x138], ax
mov cx, word [ebx + 0x15]
mov word [ebp + 0x13a], cx
mov edx, dword [ebx + 0x17]
mov dword [ebp + 0x13c], edx
mov eax, dword [ebx + 0x1b]
mov dword [ebp + 0x140], eax
mov ecx, dword [ebx + 0x1f]
mov dword [ebp + 0x144], ecx
mov edx, dword [ebx + 0x23]
mov dword [ebp + 0x148], edx
mov eax, dword [ebx + 0x27]
mov dword [ebp + 0x14c], eax
mov ecx, dword [ebx + 0x2b]
movzx eax, byte [ebp + 0x12f]
mov dword [ebp + 0x150], ecx
mov edx, dword [ebx + 0x2f]
mov dword [ebp + 0x154], edx
call fcn.0049cd10
cmp eax, dword [ebx + 0x33]
jae 0x47bf48
mov dword [ebx + 0x33], eax
movzx eax, byte [ebp + 0x12f]
mov ecx, dword [ebx + 0x33]
call fcn.0049cf60
mov dword [ebp + 0x158], eax
mov eax, dword [ebx + 0x37]
call fcn.0049cfa0
mov dword [ebp + 0x15c], eax
movzx eax, word [ebx + 0x3b]
mov word [ebp + 0x16c], ax
movzx ecx, word [ebx + 0x3d]
mov word [ebp + 0x16e], cx
movzx edx, word [ebx + 0x3f]
mov word [ebp + 0x174], dx
movzx eax, word [ebx + 0x41]
mov word [ebp + 0x170], ax
movzx ecx, word [ebx + 0x43]
mov word [ebp + 0x172], cx
movzx edx, word [ebx + 0x45]
mov word [ebp + 0x176], dx
movzx eax, word [ebx + 0x47]
mov word [ebp + 0x164], ax
movzx ecx, word [ebx + 0x49]
mov word [ebp + 0x166], cx
mov dl, byte [ebx + 0x4b]
mov byte [ebp + 0x168], dl
mov al, byte [ebx + 0x4c]
mov byte [ebp + 0x169], al
mov cl, byte [ebx + 0x4d]
mov byte [ebp + 0x16a], cl
movzx edx, word [ebx + 0x4e]
mov dword [ebp + 0x1234], edx
movzx eax, word [ebx + 0x50]
mov dword [ebp + 0x1238], eax
movzx ecx, word [ebx + 0x52]
mov dword [ebp + 0x123c], ecx
movzx edx, word [ebx + 0x50]
movzx eax, word [ebx + 0x52]
movzx ecx, word [ebx + 0x4e]
push edx
push eax
push ecx
mov eax, ebp
call fcn.0047d580
movzx edx, word [ebx + 0x54]
mov word [ebp + 0x160], dx
movzx eax, word [ebx + 0x56]
mov word [ebp + 0x162], ax
lea esi, [ebp + 0xd0]
fld dword [ebx + 0x58]
lea edi, [ebp + 0x184]
lea eax, [ebx + 0x64]
fstp dword [esi]
mov edx, edi
fld dword [ebx + 0x5c]
sub edx, eax
fstp dword [ebp + 0xd4]
fld dword [ebx + 0x60]
fstp dword [ebp + 0xd8]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x47c052
mov cl, byte [ebx + 0x79]
mov eax, dword [0x582784]
mov byte [ebp + 0x58e8], cl
mov dl, byte [ebx + 0x7a]
movzx ecx, cl
cmp ecx, eax
mov byte [ebp + 0x58e9], dl
mov byte [ebp + 0x58ea], 0
mov byte [ebp + 0x58eb], 0
jle 0x47c08e
mov byte [ebp + 0x58e8], al
movzx edx, byte [ebp + 0x58e9]
mov eax, dword [0x582788]
cmp edx, eax
jle 0x47c0a4
mov byte [ebp + 0x58e9], al
call fcn.004e1a50
mov ebx, dword [ebx + 0x7b]
cmp ebx, eax
jae 0x47c0c3
test ebx, ebx
je 0x47c0c3
mov ecx, ebx
call fcn.004e1b40
mov dword [ebp + 0x58f8], eax
jmp 0x47c0cd
mov dword [ebp + 0x58f8], 0
cmp byte [ebp + 0x12d], 2
jb 0x47c0dd
mov byte [ebp + 0x12d], 1
cmp byte [ebp + 0x12e], 4
jb 0x47c0ed
mov byte [ebp + 0x12e], 3
cmp byte [ebp + 0x12f], 4
jb 0x47c102
mov al, byte [ebp + 0x130]
mov byte [ebp + 0x12f], al
cmp byte [ebp + 0x134], 6
jb 0x47c112
mov byte [ebp + 0x134], 0
cmp byte [ebp + 0x135], 1
jbe 0x47c122
mov byte [ebp + 0x135], 1
mov al, byte [ebp + 0x12e]
mov cl, byte [ebp + 0x12d]
mov dl, al
shr dl, 1
cmp dl, cl
je 0x47c180
push edi
lea edx, [ebp + 0x5834]
push edx
mov edx, dword [ebp + 0x128]
push edx
mov edx, dword [ebp + 0x582c]
push edx
mov edx, dword [0x587970]
movzx eax, al
push eax
movzx ecx, cl
push ecx
add edx, 0xe0
push str._DB_INFO_CHAR_CountryCheck_:_CTY_d__FMY_d__UID_u__CID_u__UM_s__CM_s
push edx
call fcn.004efdc0
add esp, 0x20
push 0
push 0x68
mov ecx, ebp
call fcn.004ec760
mov al, 1
jmp 0x47cfbf
movzx ebx, word [ebp + 0x136]
movzx edi, byte [ebp + 0x12f]
lea ecx, [ebx - 1]
mov eax, edi
mov dword [esp + 0x1c], ecx
call fcn.00464ff0
cmp dword [ebp + 0x13c], eax
mov eax, edi
jae 0x47c1b1
mov ecx, dword [esp + 0x1c]
call fcn.00464ff0
jmp 0x47c1ca
mov ecx, ebx
call fcn.00464ff0
cmp dword [ebp + 0x13c], eax
jb 0x47c1d7
mov ecx, ebx
mov eax, edi
call fcn.00464ff0
dec eax
mov dword [ebp + 0x13c], eax
mov eax, ebp
call fcn.0047aaa0
movzx eax, word [ebp + 0x160]
movzx edi, byte [ebp + 0x12d]
movzx ebx, word [ebp + 0x136]
push eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x18]
call fcn.0047a6a0
mov bl, al
add esp, 4
test bl, bl
je 0x47c223
mov cx, word [esp + 0x14]
fld dword [esp + 0x28]
mov word [ebp + 0x160], cx
fstp dword [esi]
fld dword [esp + 0x2c]
fstp dword [esi + 4]
fld dword [esp + 0x30]
fstp dword [esi + 8]
movzx eax, word [ebp + 0x160]
mov ecx, dword [0x587960]
movzx edi, ax
cmp edi, dword [ecx + 8]
jge 0x47c243
imul edi, edi, 0x208
add edi, dword [ecx + 0xc]
jne 0x47c29f
movzx eax, byte [ebp + 0x12e]
test eax, eax
jl 0x47c267
lea ecx, [ebp + 0x160]
push ecx
lea edi, [esp + 0x2c]
call fcn.0042dd90
mov ecx, dword [0x587960]
add esp, 4
movzx edi, word [ebp + 0x160]
cmp edi, dword [ecx + 8]
jge 0x47c787
imul edi, edi, 0x208
add edi, dword [ecx + 0xc]
je 0x47c787
fld dword [esp + 0x28]
fstp dword [esi]
fld dword [esp + 0x2c]
fstp dword [esi + 4]
fld dword [esp + 0x30]
fstp dword [esi + 8]
jmp 0x47c3d6
cmp ax, 0x30
je 0x47c31a
cmp ax, 0x31
je 0x47c31a
cmp ax, 0x3a
je 0x47c31a
cmp ax, 0x43
je 0x47c2f2
cmp ax, 0x3c
je 0x47c2f2
cmp dword [edi + 0x1a4], 0
je 0x47c374
movzx ecx, byte [ebp + 0x12d]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
push ecx
mov ebx, edi
call fcn.0042ff60
mov dx, word [esp + 0x14]
mov word [ebp + 0x160], dx
jmp 0x47c340
movzx edx, byte [ebp + 0x12d]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
push edx
mov ebx, edi
call fcn.0042ff60
mov ax, word [esp + 0x14]
mov word [ebp + 0x160], ax
jmp 0x47c340
movzx eax, byte [ebp + 0x12d]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
push eax
mov ebx, edi
call fcn.0042ff60
mov cx, word [esp + 0x14]
mov word [ebp + 0x160], cx
fld dword [esp + 0x28]
mov eax, dword [0x587960]
fstp dword [esi]
fld dword [esp + 0x2c]
fstp dword [esi + 4]
fld dword [esp + 0x30]
fstp dword [esi + 8]
movzx edi, word [ebp + 0x160]
cmp edi, dword [eax + 8]
jl 0x47c369
xor edi, edi
jmp 0x47c372
imul edi, edi, 0x208
add edi, dword [eax + 0xc]
mov bl, 1
mov al, byte [ebp + 0x12d]
cmp al, byte [edi + 0x1e6]
jne 0x47c3d8
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x2c]
push ecx
movzx edx, al
push esi
push edx
mov ebx, edi
call fcn.0042ff60
mov ax, word [esp + 0x14]
fld dword [esp + 0x28]
mov word [ebp + 0x160], ax
mov eax, dword [0x587960]
fstp dword [esi]
fld dword [esp + 0x2c]
fstp dword [esi + 4]
fld dword [esp + 0x30]
fstp dword [esi + 8]
movzx edi, word [ebp + 0x160]
cmp edi, dword [eax + 8]
jl 0x47c3cd
xor edi, edi
jmp 0x47c3d6
imul edi, edi, 0x208
add edi, dword [eax + 0xc]
mov bl, 1
test edi, edi
je 0x47c422
fld dword [ebp + 0xd8]
sub esp, 8
fstp dword [esp + 4]
fld dword [esi]
fstp dword [esp]
push edi
call fcn.0041bad0
test al, al
jne 0x47c422
movzx edx, byte [ebp + 0x12d]
lea ecx, [esp + 0x28]
push ecx
push esi
push edx
push edi
call fcn.0042fd40
mov bl, 1
fld dword [esp + 0x28]
fstp dword [esi]
fld dword [esp + 0x2c]
fstp dword [esi + 4]
fld dword [esp + 0x30]
fstp dword [esi + 8]
mov eax, 0x168
cmp word [ebp + 0x162], ax
jbe 0x47c439
xor ecx, ecx
mov word [ebp + 0x162], cx
test bl, bl
je 0x47c792
fld dword [esi]
mov eax, dword [ebp + 0x582c]
mov cx, word [ebp + 0x160]
fstp dword [esp + 0x32]
fld dword [ebp + 0xd4]
mov edx, 0x607
fstp dword [esp + 0x36]
mov dword [esp + 0x2a], eax
fld dword [ebp + 0xd8]
mov word [esp + 0x28], dx
mov dx, word [ebp + 0x162]
fstp dword [esp + 0x3a]
push 0x16
lea eax, [esp + 0x2c]
mov word [esp + 0x32], cx
mov ecx, dword [0x58796c]
push eax
mov word [esp + 0x38], dx
call fcn.004ed2d0
mov al, 1
jmp 0x47cfbf
cmp byte [ebx + 6], 0
mov dword [esp + 0x18], 0
jbe 0x47c792
lea esi, [ebx + 0x12]
jmp 0x47c4c0
movzx eax, byte [esi - 1]
cmp eax, 1
jl 0x47c6f6
movzx ecx, byte [esi]
call fcn.004059b0
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x47c6f6
mov al, byte [esi + 9]
test al, al
jne 0x47c5bf
mov edx, dword [ebp + 0x582c]
mov ecx, 0x702
mov word [esp + 0x28], cx
mov cl, byte [esi - 3]
mov byte [esp + 0x30], al
mov dword [esp + 0x2a], edx
mov dl, byte [esi - 2]
push 9
lea eax, [esp + 0x2c]
mov byte [esp + 0x32], cl
mov ecx, dword [0x58796c]
push eax
mov byte [esp + 0x37], dl
call fcn.004ed2d0
movzx ecx, byte [esi - 2]
movzx edx, byte [esi - 3]
movzx eax, byte [esi]
push ecx
movzx ecx, byte [esi - 1]
push edx
push eax
push ecx
add edi, 4
push edi
lea edx, [ebp + 0x184]
push edx
lea eax, [esp + 0x160]
push str.CharItemLoad_ItemCount0_:_Char_s__Item_s__d__d___Bag_d__Slot_d
push eax
call fcn.0051a8cd
mov edx, dword [0x587970]
lea ecx, [esp + 0x168]
push ecx
add edx, 0xe0
push edx
call fcn.004efdc0
mov eax, 0x80e
add esp, 0x28
mov word [esp + 0x40], ax
mov byte [esp + 0x43], 0
mov byte [esp + 0x142], 0
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x43], cl
inc eax
test cl, cl
jne 0x47c590
push 0x103
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [0x587968]
mov byte [esp + 0x4a], 1
call fcn.004ed2d0
jmp 0x47c6d7
call fcn.004116d0
mov edi, eax
test edi, edi
je 0x47c6d7
mov eax, dword [esp + 0x14]
mov dword [edi + 0x30], eax
mov edx, dword [esi - 0xb]
mov dword [edi + 0x38], edx
mov ecx, dword [esi - 7]
mov dword [edi + 0x3c], ecx
mov dl, byte [esi - 1]
mov byte [edi + 0x40], dl
mov cl, byte [esi]
mov byte [edi + 0x41], cl
mov dx, word [esi + 1]
mov word [edi + 0x44], dx
mov al, byte [eax + 0x4b]
cmp al, byte [esi + 9]
jae 0x47c69a
mov eax, edi
call fcn.00405960
test al, al
je 0x47c69a
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 0x4b]
movzx edx, byte [esi + 9]
movzx eax, byte [esi]
push ecx
movzx ecx, byte [esi - 1]
push edx
movzx edx, byte [esi - 2]
push eax
movzx eax, byte [esi - 3]
push ecx
push edx
mov edx, dword [0x587970]
push eax
lea ecx, [ebp + 0x184]
push ecx
add edx, 0xe0
push str.Error_Item_Count_:_Char_s__Bag_d__Slot_d__Type_d__TypeID_d__OldCount_d__FixedCount_d
push edx
call fcn.004efdc0
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 0x4b]
mov byte [esi + 9], cl
mov ecx, dword [ebp + 0x582c]
mov edx, 0x617
mov word [esp + 0x40], dx
movzx edx, byte [esi - 3]
mov dword [esp + 0x42], ecx
movzx ecx, byte [esi - 2]
add esp, 0x24
mov byte [esp + 0x22], dl
movzx edx, byte [eax + 0x4b]
push 9
lea eax, [esp + 0x20]
mov byte [esp + 0x27], cl
mov ecx, dword [0x58796c]
push eax
mov byte [esp + 0x2c], dl
call fcn.004ed2d0
mov cl, byte [esi + 9]
mov byte [edi + 0x42], cl
mov edx, dword [esi + 0xa]
mov dword [edi + 0x64], edx
mov al, byte [esi + 0xe]
mov byte [edi + 0x68], al
mov ecx, dword [esi + 3]
mov dword [edi + 0x46], ecx
mov dx, word [esi + 7]
lea eax, [esi + 0xf]
mov word [edi + 0x4a], dx
call fcn.004d27f0
movzx eax, byte [esi - 3]
movzx ecx, byte [esi - 2]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8]
mov dword [ebp + edx*4 + 0x1c0], edi
mov eax, dword [esp + 0x18]
movzx ecx, byte [ebx + 6]
inc eax
add esi, 0x2f
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x47c4c0
mov al, 1
jmp 0x47cfbf
mov eax, dword [esp + 0x18]
imul eax, eax, 0x2f
movzx edx, byte [ebx + eax + 0x12]
add ebx, eax
movzx eax, byte [ebx + 0x11]
push edx
push eax
lea ecx, [esp + 0x150]
push str.Error_Char_Load_:_InvenItem_type_d__typeid_d
push ecx
call fcn.0051a8cd
mov edx, 0x80e
add esp, 0x10
mov byte [esp + 0x43], 0
mov byte [esp + 0x142], 0
mov word [esp + 0x40], dx
xor eax, eax
jmp 0x47c740
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x43], cl
inc eax
test cl, cl
jne 0x47c740
mov ecx, dword [0x587968]
push 0x103
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x4a], 1
call fcn.004ed2d0
mov edx, dword [0x587970]
lea ecx, [esp + 0x148]
push ecx
add edx, 0xe0
push edx
call fcn.004efdc0
add esp, 8
push 0
push 0x68
mov ecx, ebp
call fcn.004ec760
mov al, 1
jmp 0x47cfbf
cmp byte [ebx + 6], 0
mov dword [esp + 0x14], 0
jbe 0x47c792
lea esi, [ebx + 0x11]
lea ebx, [ebx]
movzx eax, byte [esi - 1]
cmp eax, 1
jl 0x47c9b6
movzx ecx, byte [esi]
call fcn.004059b0
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x47c9b6
cmp byte [esi + 9], 0
jne 0x47c89f
mov ecx, dword [ebp + 0x582c]
mov dl, byte [esi - 2]
mov eax, 0x619
mov word [esp + 0x28], ax
push 7
lea eax, [esp + 0x2c]
mov dword [esp + 0x2e], ecx
mov ecx, dword [0x58796c]
push eax
mov byte [esp + 0x36], dl
call fcn.004ed2d0
movzx ecx, byte [esi - 2]
movzx edx, byte [esi]
movzx eax, byte [esi - 1]
push ecx
push edx
push eax
add edi, 4
push edi
lea ecx, [ebp + 0x184]
push ecx
lea edx, [esp + 0x15c]
push str.CharBankLoad_ItemCount0_:_Char_s__Item_s__d__d___Slot_d
push edx
call fcn.0051a8cd
mov ecx, dword [0x587970]
add esp, 0x1c
lea eax, [esp + 0x148]
push eax
add ecx, 0xe0
push ecx
call fcn.004efdc0
mov edx, 0x80e
add esp, 8
mov byte [esp + 0x43], 0
mov byte [esp + 0x142], 0
mov word [esp + 0x40], dx
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x43], cl
inc eax
test cl, cl
jne 0x47c870
mov ecx, dword [0x587968]
push 0x103
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x4a], 1
call fcn.004ed2d0
jmp 0x47c997
call fcn.004116d0
mov edi, eax
test edi, edi
je 0x47c997
mov eax, dword [esp + 0x18]
mov dword [edi + 0x30], eax
mov ecx, dword [esi - 0xa]
mov dword [edi + 0x38], ecx
mov edx, dword [esi - 6]
mov dword [edi + 0x3c], edx
mov cl, byte [esi - 1]
mov byte [edi + 0x40], cl
mov dl, byte [esi]
mov byte [edi + 0x41], dl
mov cx, word [esi + 1]
mov word [edi + 0x44], cx
mov al, byte [eax + 0x4b]
cmp al, byte [esi + 9]
jae 0x47c964
mov eax, edi
call fcn.00405960
test al, al
je 0x47c964
mov edx, dword [esp + 0x18]
movzx eax, byte [edx + 0x4b]
movzx ecx, byte [esi + 9]
movzx edx, byte [esi]
push eax
movzx eax, byte [esi - 1]
push ecx
movzx ecx, byte [esi - 2]
push edx
push eax
mov eax, dword [0x587970]
push ecx
lea edx, [ebp + 0x184]
push edx
add eax, 0xe0
push str.Error_BankItem_Count_:_Char_s__Slot_d__Type_d__TypeID_d__OldCount_d__FixedCount_d
push eax
call fcn.004efdc0
mov eax, dword [esp + 0x38]
mov cl, byte [eax + 0x4b]
mov byte [esi + 9], cl
mov ecx, dword [ebp + 0x582c]
mov al, byte [eax + 0x4b]
add esp, 0x20
mov edx, 0x618
mov dword [esp + 0x1e], ecx
push 8
lea ecx, [esp + 0x20]
mov word [esp + 0x20], dx
mov dl, byte [esi - 2]
push ecx
mov ecx, dword [0x58796c]
mov byte [esp + 0x2a], dl
mov byte [esp + 0x2b], al
call fcn.004ed2d0
mov dl, byte [esi + 9]
mov byte [edi + 0x42], dl
mov eax, dword [esi + 0xa]
mov dword [edi + 0x64], eax
mov cl, byte [esi + 0xe]
mov byte [edi + 0x68], cl
mov edx, dword [esi + 3]
mov dword [edi + 0x46], edx
mov ax, word [esi + 7]
mov word [edi + 0x4a], ax
lea eax, [esi + 0xf]
call fcn.004d27f0
movzx ecx, byte [esi - 2]
mov dword [ebp + ecx*4 + 0x400], edi
mov eax, dword [esp + 0x14]
movzx edx, byte [ebx + 6]
inc eax
add esi, 0x2e
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x47c7b0
mov al, 1
jmp 0x47cfbf
mov eax, dword [esp + 0x14]
imul eax, eax, 0x2e
movzx ecx, byte [ebx + eax + 0x10]
add ebx, eax
movzx eax, byte [ebx + 0x11]
push eax
push ecx
lea edx, [esp + 0x150]
push str.Error_Char_Load_:_BankItem_type_d__typeid_d
push edx
call fcn.0051a8cd
mov eax, 0x80e
add esp, 0x10
mov word [esp + 0x40], ax
mov byte [esp + 0x43], 0
mov byte [esp + 0x142], 0
xor eax, eax
jmp 0x47ca00
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x43], cl
inc eax
test cl, cl
jne 0x47ca00
push 0x103
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [0x587968]
mov byte [esp + 0x4a], 1
call fcn.004ed2d0
mov eax, dword [0x587970]
lea edx, [esp + 0x148]
push edx
add eax, 0xe0
push eax
jmp 0x47c77f
cmp byte [ebx + 6], 0
mov dword [esp + 0x18], 0
jbe 0x47c792
lea esi, [ebx + 7]
jmp 0x47ca60
movzx eax, word [esi]
movzx edx, byte [esi + 2]
movzx eax, ax
call fcn.0041bb30
mov edi, eax
test edi, edi
je 0x47cada
movzx eax, word [esi]
test ax, ax
je 0x47c787
call fcn.00411920
test eax, eax
je 0x47cabf
mov dword [eax + 0x34], edi
movzx ecx, word [esi]
mov dword [eax + 0xc], ecx
movzx edx, byte [esi + 2]
mov dword [eax + 0x10], edx
movzx ecx, byte [esi + 3]
mov dword [eax + 0x14], ecx
movzx edx, word [esi + 4]
imul edx, edx, 0x3e8
add edx, dword [esp + 0x14]
mov dword [eax + 0x1c], edx
mov dword [ebp + ecx*4 + 0xac0], eax
inc dword [ebp + 0xabc]
mov eax, dword [esp + 0x18]
movzx edx, byte [ebx + 6]
inc eax
add esi, 6
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x47ca60
mov al, 1
jmp 0x47cfbf
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*2]
movzx ecx, byte [ebx + eax*2 + 9]
movzx edx, word [ebx + eax*2 + 7]
lea ebx, [ebx + eax*2]
push ecx
push edx
lea eax, [esp + 0x150]
push str.Error_Char_Load_:_Skill_id_d__lv_d
push eax
call fcn.0051a8cd
mov ecx, 0x80e
add esp, 0x10
mov byte [esp + 0x43], 0
mov byte [esp + 0x142], 0
mov word [esp + 0x40], cx
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x43], cl
inc eax
test cl, cl
jne 0x47cb20
mov ecx, dword [0x587968]
push 0x103
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x4a], 1
call fcn.004ed2d0
mov ecx, dword [0x587970]
lea eax, [esp + 0x148]
push eax
add ecx, 0xe0
push ecx
jmp 0x47c77f
cmp byte [ebx + 6], 0
mov dword [esp + 0x18], 0
jbe 0x47c792
lea edx, [ebx + 9]
mov dword [esp + 0x14], edx
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
movzx esi, byte [eax]
movzx edi, word [eax - 2]
mov edx, esi
mov eax, edi
call fcn.0041bb30
test eax, eax
je 0x47cc42
movzx ecx, word [eax + 0x32]
cmp cx, 0x5a
jne 0x47cbe8
movzx ecx, word [eax + 0x98]
cmp cx, 0x64
je 0x47cbbf
cmp cx, 0x65
je 0x47cbbf
cmp cx, 0x66
jne 0x47cbfa
mov edx, dword [ebp + 0x582c]
mov ecx, 0x902
mov word [esp + 0x28], cx
mov cx, word [eax]
mov dword [esp + 0x2a], edx
mov dl, byte [eax + 2]
mov word [esp + 0x2e], cx
mov byte [esp + 0x30], dl
lea eax, [esp + 0x28]
jmp 0x47cc34
cmp cx, 0x4a
je 0x47cc0d
cmp cx, 0x4b
je 0x47cc0d
cmp cx, 0x4c
je 0x47cc0d
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 1]
push edx
push esi
push ebp
mov eax, edi
call fcn.00498010
jmp 0x47cc42
mov edx, dword [ebp + 0x582c]
mov ecx, 0x902
mov word [esp + 0x1c], cx
mov cx, word [eax]
mov dword [esp + 0x1e], edx
mov dl, byte [eax + 2]
mov word [esp + 0x22], cx
mov byte [esp + 0x24], dl
lea eax, [esp + 0x1c]
mov ecx, dword [0x58796c]
push 9
push eax
call fcn.004ed2d0
mov eax, dword [esp + 0x18]
movzx ecx, byte [ebx + 6]
add dword [esp + 0x14], 7
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x47cb80
mov al, 1
jmp 0x47cfbf
cmp byte [ebx + 6], 0
mov dword [esp + 0x1c], 0
jbe 0x47c792
lea edi, [ebx + 7]
mov dword [esp + 0x18], edi
lea esp, [esp]
movzx eax, word [edi]
test eax, eax
jle 0x47ccb0
cmp eax, dword [0x4093300]
jg 0x47ccb0
mov ecx, dword [0x4093304]
mov edx, eax
imul edx, edx, 0x1d0
lea esi, [edx + ecx - 0x1d0]
mov dword [esp + 0x28], esi
test esi, esi
jne 0x47cd2a
push eax
lea edx, [esp + 0x14c]
push str.Error_Char_Load_:_Quest_id_d
push edx
call fcn.0051a8cd
mov eax, 0x80e
add esp, 0xc
mov word [esp + 0x40], ax
mov byte [esp + 0x43], 0
mov byte [esp + 0x142], 0
xor eax, eax
nop
mov cl, byte [esp + eax + 0x148]
mov byte [esp + eax + 0x43], cl
inc eax
test cl, cl
jne 0x47cce0
push 0x103
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [0x587968]
mov byte [esp + 0x4a], 1
call fcn.004ed2d0
mov eax, dword [0x587970]
lea edx, [esp + 0x148]
push edx
add eax, 0xe0
push eax
call fcn.004efdc0
add esp, 8
jmp 0x47cdd9
call fcn.004119b0
test eax, eax
je 0x47cdd9
mov dword [eax + 0x20], esi
movzx ecx, word [edi]
xor edx, edx
mov dword [eax + 8], ecx
mov byte [eax + 0xc], 0
cmp dword [esi + 0x128], edx
jne 0x47cd66
mov dword [eax + 0x14], edx
movzx ecx, word [edi + 2]
mov edi, dword [esp + 0x14]
imul ecx, ecx, 0xea60
sub edi, ecx
mov dword [eax + 0x10], edi
jmp 0x47cd8a
movzx ecx, word [edi + 2]
mov edi, dword [esp + 0x14]
imul ecx, ecx, 0xea60
add ecx, edi
mov dword [eax + 0x14], ecx
mov edi, dword [esi + 0x128]
imul edi, edi, 0xea60
sub ecx, edi
mov dword [eax + 0x10], ecx
mov esi, dword [esi + 0x124]
cmp esi, edx
jne 0x47cd99
mov dword [eax + 0x18], edx
jmp 0x47cda5
imul esi, esi, 0xea60
add esi, dword [eax + 0x10]
mov dword [eax + 0x18], esi
mov esi, dword [esp + 0x18]
movzx edx, byte [esi + 4]
mov byte [eax + 0x1c], dl
mov cl, byte [esi + 5]
mov byte [eax + 0x1d], cl
movzx edx, byte [esi + 6]
lea esi, [ebp + 0x11f0]
mov edi, eax
mov byte [eax + 0x1e], dl
call fcn.0047d910
mov eax, dword [esp + 0x28]
mov ecx, ebp
call fcn.0048f0b0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
movzx ecx, byte [ebx + 6]
inc eax
add edi, 7
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
jl 0x47cc80
mov al, 1
jmp 0x47cfbf
cmp byte [ebx + 6], 0
mov dword [esp + 0x1c], 0
jbe 0x47c792
lea edx, [ebx + 7]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
test eax, eax
jle 0x47ce68
cmp eax, dword [0x4093300]
jg 0x47ce68
mov ecx, dword [0x4093304]
imul eax, eax, 0x1d0
lea esi, [eax + ecx - 0x1d0]
test esi, esi
je 0x47ce68
call fcn.004119b0
test eax, eax
je 0x47ce68
mov dword [eax + 0x20], esi
mov esi, dword [esp + 0x14]
movzx edx, word [esi]
mov dword [eax + 8], edx
mov cl, byte [esi + 2]
lea esi, [ebp + 0x11c4]
mov edi, eax
mov byte [eax + 0xc], cl
call fcn.0047d910
mov eax, dword [esp + 0x1c]
movzx edx, byte [ebx + 6]
add dword [esp + 0x14], 3
inc eax
cmp eax, edx
mov dword [esp + 0x1c], eax
jl 0x47ce15
mov al, 1
jmp 0x47cfbf
xor edi, edi
cmp byte [ebx + 6], 0
jbe 0x47cebf
lea esi, [ebp + 0xec5]
lea eax, [ebx + 8]
movzx ecx, byte [eax - 1]
mov byte [esi - 1], cl
mov dl, byte [eax]
mov byte [esi], dl
movzx ecx, byte [eax + 1]
mov byte [esi + 1], cl
mov dx, word [eax + 2]
mov word [esi + 3], dx
movzx ecx, byte [ebx + 6]
inc edi
add eax, 5
add esi, 6
cmp edi, ecx
jl 0x47ce96
movzx edx, byte [ebx + 6]
mov dword [ebp + 0xec0], edx
mov al, 1
jmp 0x47cfbf
mov byte [ebp + 0x58ea], 0
mov al, 1
jmp 0x47cfbf
mov byte [ebp + 0x58eb], 0
mov al, 1
jmp 0x47cfbf
cmp dword [ebx + 6], 0
je 0x47cf0c
call esi
mov ecx, dword [ebx + 6]
imul ecx, ecx, 0x36ee80
add eax, ecx
mov dword [ebp + 0x5580], eax
mov al, 1
jmp 0x47cfbf
mov dword [ebp + 0x5580], 0
mov al, 1
jmp 0x47cfbf
cmp dword [ebp + 0x6264], 0
jne 0x47cf58
mov esi, 0x3f93160
call fcn.0044cc40
mov dword [ebp + 0x6264], eax
test eax, eax
jne 0x47cf58
mov edx, dword [0x587970]
add edx, 0xe0
push str.PROTOCOL_DB_INFO_CONCERN_MARKET_CreateConcernMarket_Error
push edx
call fcn.004efdc0
add esp, 8
mov al, 1
jmp 0x47cfbf
cmp byte [ebx + 6], 0
mov dword [esp + 0x1c], 0
jbe 0x47c792
lea eax, [ebx + 7]
mov dword [esp + 0x18], eax
mov esi, dword [ebp + 0x6264]
mov edi, dword [esi + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 4]
add esi, 4
push ecx
push edx
push edi
call fcn.00449fe0
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.0044a070
mov eax, dword [esp + 0x28]
add dword [esp + 0x18], 4
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
movzx edx, byte [ebx + 6]
inc eax
cmp eax, edx
mov dword [esp + 0x1c], eax
jl 0x47cf71
mov al, 1
jmp 0x47cfbf
xor al, al
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051a8be
add esp, 0x240
ret 4