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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58640a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp eax, dword [ebx + 8]
push esi
push edi
jge 0x42d391
mov eax, dword [ebx + 0x10]
xor edi, edi
cmp eax, edi
jne 0x42d154
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x14], esi
jmp 0x42d15a
mov dword [esp + 0x14], eax
mov esi, eax
mov eax, dword [ebx + 0xc]
add eax, esi
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x42d26c
imul eax, eax, 0x70
push eax
call fcn.00571a12
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x124], 5
cmp eax, edi
je 0x42d1af
mov edx, dword [esp + 0x10]
dec edx
cmp edx, edi
jl 0x42d1a9
lea ecx, [eax + 0xc]
inc edx
mov dword [ecx - 8], edi
mov dword [ecx - 0xc], edi
mov byte [ecx], 0
mov dword [ecx - 4], edi
add ecx, 0x70
dec edx
jne 0x42d197
mov dword [esp + 0x10], eax
jmp 0x42d1b3
mov dword [esp + 0x10], edi
mov dword [esp + 0x124], 0xffffffff
mov edx, dword [ebx]
cmp edx, dword [ebx + 4]
jg 0x42d230
mov edi, dword [ebx + 8]
mov eax, edx
sub eax, edi
lea ecx, [eax + esi]
mov esi, dword [esp + 0x10]
imul ecx, ecx, 0x70
add esi, ecx
mov dword [esp + 0x18], esi
mov ecx, 0x1c
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x88]
mov edi, dword [esp + 0x18]
mov esi, eax
imul esi, esi, 0x70
add esi, ecx
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x88]
mov edi, edx
sub edi, eax
imul edi, edi, 0x70
add edi, esi
mov ecx, 0x1c
lea esi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x14]
inc edx
cmp edx, eax
jle 0x42d1c5
xor edi, edi
mov eax, dword [ebx + 0x88]
push eax
call fcn.00571a0d
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 8]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0xc]
sub eax, esi
add edx, esi
mov dword [ebx + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], edx
mov ecx, dword [ebx + 8]
add esp, 4
cmp eax, ecx
jl 0x42d142
jmp 0x42d393
push 0xf
push str.spaceextend_0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], edi
mov byte [esp + 0x60], 0
call fcn.00403280
mov dword [esp + 0x124], edi
push 6
push str.extend
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
call fcn.00403280
mov byte [esp + 0x124], 1
push 5
push str.space
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], edi
mov byte [esp + 0x98], 0
call fcn.00403280
mov byte [esp + 0x124], 2
push 0x10
push str.assertion_failed
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
call fcn.00403280
mov byte [esp + 0x124], 3
push 0x1d
push str.c:projects_tibiaContainer.h
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], edi
mov byte [esp + 0x7c], 0
call fcn.00403280
mov byte [esp + 0x124], 4
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0x54]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x4c]
push edx
push 0x1c1
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xc8]
call fcn.0054fb40
push 0x5e02c8
lea ecx, [esp + 0xac]
push ecx
call fcn.00560081
xor edi, edi
mov edx, dword [ebx + 0xc]
add edx, dword [ebx + 8]
cmp eax, edx
jl 0x42d4b3
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x42d3ab
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0xc]
mov edx, eax
lea esi, [edx + ecx]
cmp esi, edi
mov dword [esp + 0x14], eax
jl 0x42d53e
mov eax, esi
imul eax, eax, 0x70
push eax
call fcn.00571a12
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x124], 0xb
cmp eax, edi
je 0x42d408
lea edx, [esi - 1]
cmp edx, edi
jl 0x42d402
lea ecx, [eax + 0xc]
inc edx
jmp 0x42d3f0
mov dword [ecx - 8], edi
mov dword [ecx - 0xc], edi
mov byte [ecx], 0
mov dword [ecx - 4], edi
add ecx, 0x70
dec edx
jne 0x42d3f0
mov dword [esp + 0x10], eax
jmp 0x42d40c
mov dword [esp + 0x10], edi
mov dword [esp + 0x124], 0xffffffff
mov edx, dword [ebx]
cmp edx, dword [ebx + 4]
jg 0x42d480
mov edi, edi
mov esi, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
mov eax, edx
sub eax, esi
imul eax, eax, 0x70
lea esi, [eax + ecx]
mov dword [esp + 0x18], esi
mov ecx, 0x1c
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x88]
mov edi, dword [esp + 0x18]
add esi, eax
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x88]
mov edi, edx
sub edi, eax
imul edi, edi, 0x70
add edi, esi
mov ecx, 0x1c
lea esi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 4]
inc edx
cmp edx, eax
jle 0x42d420
xor edi, edi
mov edx, dword [ebx + 0x88]
push edx
call fcn.00571a0d
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x14]
add edx, ecx
mov dword [ebx + 0x88], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], edx
add edx, dword [ebx + 8]
add esp, 4
cmp eax, edx
jge 0x42d3a1
cmp eax, dword [ebx]
jge 0x42d4e3
mov edx, dword [ebx]
mov cl, byte [ebx + 0x14]
dec edx
test cl, cl
mov dword [ebx], edx
mov edi, edx
je 0x42d4df
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0x88]
sub edi, edx
imul edi, edi, 0x70
add edi, ecx
lea esi, [ebx + 0x18]
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
cmp eax, dword [ebx]
jl 0x42d4b7
cmp eax, dword [ebx + 4]
jle 0x42d517
mov edx, dword [ebx + 4]
mov cl, byte [ebx + 0x14]
inc edx
test cl, cl
mov dword [ebx + 4], edx
mov edi, edx
je 0x42d512
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0x88]
sub edi, edx
imul edi, edi, 0x70
add edi, ecx
lea esi, [ebx + 0x18]
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
cmp eax, dword [ebx + 4]
jg 0x42d4e8
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0x88]
sub eax, edx
imul eax, eax, 0x70
pop edi
add eax, ecx
mov ecx, dword [esp + 0x118]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, 0xf
push esi
push str.spaceextend_0
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], edi
mov byte [esp + 0x7c], 0
call fcn.00403280
mov dword [esp + 0x124], 6
push 6
push str.extend
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
call fcn.00403280
mov byte [esp + 0x124], 7
push 5
push str.space
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], edi
mov byte [esp + 0x98], 0
call fcn.00403280
mov byte [esp + 0x124], 8
push 0x10
push str.assertion_failed
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
call fcn.00403280
mov byte [esp + 0x124], 9
push 0x1d
push str.c:projects_tibiaContainer.h
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edi
mov byte [esp + 0x60], 0
call fcn.00403280
mov byte [esp + 0x124], 0xa
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
mov eax, dword [ebx + 0xc]
push ecx
lea edx, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x30]
push edx
push 0x1cf
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xc8]
call fcn.0054fb40
push 0x5e02c8
lea ecx, [esp + 0xac]
push ecx
call fcn.00560081
int3