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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x595c2e
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
mov ebp, ecx
cmp eax, dword [ebp + 8]
push esi
push edi
jge 0x482ba3
mov edi, edi
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp eax, ebx
jne 0x482982
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], esi
jmp 0x482988
mov dword [esp + 0x10], eax
mov esi, eax
mov eax, dword [ebp + 0xc]
lea edi, [esi + eax]
cmp edi, ebx
jl 0x482a8e
mov ecx, edi
imul ecx, ecx, 0x1f
push ecx
call fcn.00571a12
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0xf0], 5
cmp eax, ebx
je 0x4829d4
lea edx, [edi - 1]
cmp edx, ebx
mov ecx, eax
jl 0x4829ce
inc edx
mov byte [ecx], 0
mov byte [ecx + 0x1e], 0
add ecx, 0x1f
dec edx
jne 0x4829c1
mov dword [esp + 0x14], eax
jmp 0x4829d8
mov dword [esp + 0x14], ebx
mov dword [esp + 0xf0], 0xffffffff
mov edx, dword [ebp]
cmp edx, dword [ebp + 4]
jg 0x482a55
jmp 0x4829f0
mov ecx, dword [ebp + 8]
mov eax, edx
sub eax, ecx
lea ecx, [eax + esi]
mov esi, dword [esp + 0x14]
imul ecx, ecx, 0x1f
lea ebx, [ecx + esi]
mov esi, ebx
mov ecx, 7
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, eax
mov eax, dword [ebp + 0x34]
imul esi, esi, 0x1f
add esi, eax
mov edi, ebx
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x34]
mov edi, edx
sub edi, ebx
imul edi, edi, 0x1f
add edi, esi
mov ecx, 7
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0x10]
inc edx
cmp edx, eax
jle 0x4829f0
xor ebx, ebx
mov eax, dword [ebp + 0x34]
push eax
call fcn.00571a0d
mov edx, dword [esp + 0x18]
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0xfc]
sub edi, esi
mov dword [ebp + 0x34], edx
mov edx, dword [ebp + 0xc]
add edx, esi
mov ecx, edi
add esp, 4
cmp eax, ecx
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edx
jl 0x482970
jmp 0x482ba5
mov edi, 0xf
push edi
push str.spaceextend_0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], 0
call fcn.00403280
mov dword [esp + 0xf0], ebx
push 6
push str.extend
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], 0
call fcn.00403280
mov byte [esp + 0xf0], 1
push 5
push str.space
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], 0
call fcn.00403280
mov byte [esp + 0xf0], 2
push 0x10
push str.assertion_failed
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], 0
call fcn.00403280
mov byte [esp + 0xf0], 3
push 0x1d
push str.c:projects_tibiaContainer.h
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], 0
call fcn.00403280
mov byte [esp + 0xf0], 4
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x74]
push ecx
push esi
lea edx, [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0x1c1
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xcc]
call fcn.0054fb40
push 0x5e02c8
lea ecx, [esp + 0xb0]
push ecx
call fcn.00560081
xor ebx, ebx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 8]
cmp eax, edx
jge 0x482c50
cmp eax, dword [ebp]
jge 0x482be7
mov edx, dword [ebp]
mov cl, byte [ebp + 0x14]
dec edx
test cl, cl
mov dword [ebp], edx
mov edi, edx
je 0x482be2
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x34]
sub edi, edx
imul edi, edi, 0x1f
add edi, ecx
lea esi, [ebp + 0x15]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp eax, dword [ebp]
jl 0x482bb8
cmp eax, dword [ebp + 4]
jle 0x482c1f
lea esp, [esp]
mov edx, dword [ebp + 4]
mov cl, byte [ebp + 0x14]
inc edx
test cl, cl
mov dword [ebp + 4], edx
mov edi, edx
je 0x482c1a
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x34]
sub edi, edx
imul edi, edi, 0x1f
add edi, ecx
lea esi, [ebp + 0x15]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp eax, dword [ebp + 4]
jg 0x482bf0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x34]
sub eax, edx
imul eax, eax, 0x1f
pop edi
pop esi
add eax, ecx
mov ecx, dword [esp + 0xe0]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe4
ret 4
xor ebx, ebx
lea esp, [esp]
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jne 0x482c60
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x14], ebx
jmp 0x482c66
mov dword [esp + 0x14], eax
mov ebx, eax
mov eax, dword [ebp + 0xc]
lea esi, [ebx + eax]
test esi, esi
jl 0x482d61
mov ecx, esi
imul ecx, ecx, 0x1f
push ecx
call fcn.00571a12
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0xf0], 0xb
test eax, eax
je 0x482cb3
lea edx, [esi - 1]
test edx, edx
mov ecx, eax
jl 0x482cad
inc edx
nop
mov byte [ecx], 0
mov byte [ecx + 0x1e], 0
add ecx, 0x1f
dec edx
jne 0x482ca0
mov dword [esp + 0x10], eax
jmp 0x482cbb
mov dword [esp + 0x10], 0
mov dword [esp + 0xf0], 0xffffffff
mov edx, dword [ebp]
cmp edx, dword [ebp + 4]
jg 0x482d2b
mov edi, edi
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov eax, edx
sub eax, esi
imul eax, eax, 0x1f
lea ebx, [eax + ecx]
mov esi, ebx
mov ecx, 7
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x34]
add esi, eax
mov edi, ebx
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x34]
mov edi, edx
sub edi, ebx
imul edi, edi, 0x1f
add edi, esi
mov ecx, 7
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
inc edx
cmp edx, eax
jle 0x482cd0
mov ebx, dword [esp + 0x14]
mov edx, dword [ebp + 0x34]
push edx
call fcn.00571a0d
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x14]
add esi, ebx
mov dword [ebp + 0x34], eax
mov eax, dword [esp + 0xfc]
mov dword [ebp + 0xc], esi
mov edx, dword [ebp + 8]
mov ecx, esi
add ecx, edx
add esp, 4
cmp eax, ecx
jge 0x482c47
jmp 0x482bb3
mov edi, 0xf
push edi
xor esi, esi
push str.spaceextend_0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call fcn.00403280
mov dword [esp + 0xf0], 6
push 6
push str.extend
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], esi
mov byte [esp + 0x64], 0
call fcn.00403280
mov byte [esp + 0xf0], 7
push 5
push str.space
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], esi
mov byte [esp + 0x9c], 0
call fcn.00403280
mov byte [esp + 0xf0], 8
push 0x10
push str.assertion_failed
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
call fcn.00403280
mov byte [esp + 0xf0], 9
push 0x1d
push str.c:projects_tibiaContainer.h
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], esi
mov byte [esp + 0x80], 0
call fcn.00403280
mov byte [esp + 0xf0], 0xa
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x1c]
push edx
push ebx
lea eax, [esp + 0x60]
push eax
push ecx
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x50]
push eax
push 0x1cf
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0xcc]
call fcn.0054fb40
push 0x5e02c8
lea edx, [esp + 0xb0]
push edx
call fcn.00560081
int3