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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48884d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4a701c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov esi, ecx
mov dword [ebp - 0x20], esi
mov edi, dword [ebx + 8]
mov ecx, edi
call fcn.0042dba0
test eax, eax
je 0x42e387
push edi
push str.int_guild:_guild_with_same_name_exists___s__n
call fcn.00442790
add esp, 8
test esi, esi
je 0x42e337
mov ecx, dword [esi*4 + 0x4b5420]
mov eax, dword [ecx + 0x1c]
add eax, 0xa
cmp eax, dword [ecx + 0x14]
jbe 0x42e337
push str.mapif_guild_created
push 0x3a9
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
mov edx, 0xa
mov ecx, esi
call fcn.00440270
add esp, 0xc
mov eax, dword [esi*4 + 0x4b5420]
mov edx, 0x3830
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov word [ecx + eax], dx
mov eax, dword [esi*4 + 0x4b5420]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ecx + eax + 2], edx
mov edx, 0xa
mov eax, dword [esi*4 + 0x4b5420]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ecx + eax + 6], 0
mov ecx, esi
call fcn.004403f0
jmp 0x42e87e
mov eax, dword [0x4a9df8]
cmp eax, 1
jne 0x42e688
xor edi, edi
mov eax, dword [ebx + 8]
mov al, byte [edi + eax]
test al, al
je 0x42e3c0
movsx eax, al
push eax
push 0x4a99f5
call fcn.00460b00
add esp, 8
test eax, eax
je 0x42e604
inc edi
cmp edi, 0x18
jl 0x42e397
push 0x2c88
call fcn.0045f6ff
mov edi, eax
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x18], edi
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
movq qword [edi], xmm0
lea esi, [edi + 0x10]
mov dword [edi + 8], 0
push 0x2c78
mov dword [eax], 1
lea eax, [edi + 8]
push 0
push esi
mov dword [ebp - 0x30], eax
mov dword [eax], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_CharGuild_.0
call fcn.00461440
add esp, 0xc
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
mov eax, dword [ebx + 8]
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 0
mov edi, 1
mov dword [ebp - 0x28], ecx
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [ebx + 0xc]
movq qword [ecx + 0x10], xmm0
lea edx, [eax + 0x24]
movups xmm0, xmmword [edx]
lea ecx, [esi + 0x3c]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], ecx
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x58], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x68], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x78], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esi + 0x88], xmm0
movq xmm0, qword [eax + 0x40]
movq qword [esi + 0x98], xmm0
mov byte [esi + 0x98], 1
mov dword [esi + 0x15d0], 0x111
movq xmm0, qword [str.GuildMaster]
movq qword [esi + 0x15b8], xmm0
mov eax, dword [0x49d6d8]
mov dword [esi + 0x15c0], eax
mov eax, dword [str.Newbie]
mov dword [esi + 0x1864], eax
mov ax, word [0x49d6e0]
mov word [esi + 0x1868], ax
mov al, byte [0x49d6e2]
mov byte [esi + 0x186a], al
mov byte [esi + 0x1884], 1
mov byte [esi + 0x15d8], 1
add esi, 0x15fc
nop dword [eax]
inc edi
lea eax, [esi - 0x20]
push edi
push str.Position__d
push eax
call fcn.00401e60
add esp, 0xc
mov byte [esi], 1
lea esi, [esi + 0x24]
cmp edi, 0x13
jl 0x42e4f0
mov edi, dword [ebp - 0x18]
mov ecx, 0x10
mov eax, dword [ebx + 0xc]
add edi, ecx
mov esi, dword [ebp - 0x20]
mov word [edi + 8], cx
lea edx, [edi + 0x2bc4]
mov ax, word [eax + 0x10]
xor ecx, ecx
mov word [edi + 0xa], ax
mov eax, 1
mov word [edi + 6], ax
nop dword [eax + eax]
lea eax, [ecx + 0x2710]
inc ecx
mov dword [edx], eax
lea edx, [edx + 8]
cmp ecx, 0x14
jl 0x42e540
mov edx, 0x27
mov dword [edi], 0xffffffff
mov ecx, edi
call fcn.0042a290
test eax, eax
jne 0x42e745
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
push str.Failed_to_create_Guild__s__Guild_Master:__s__n
call fcn.00442810
add esp, 0xc
test esi, esi
je 0x42e5b4
mov ecx, dword [esi*4 + 0x4b5420]
mov eax, dword [ecx + 0x1c]
add eax, 0xa
cmp eax, dword [ecx + 0x14]
jbe 0x42e5b4
push str.mapif_guild_created
push 0x3a9
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
mov edx, 0xa
mov ecx, esi
call fcn.00440270
add esp, 0xc
mov eax, dword [esi*4 + 0x4b5420]
mov edx, 0x3830
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov word [ecx + eax], dx
mov eax, dword [esi*4 + 0x4b5420]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ecx + eax + 2], edx
mov edx, 0xa
mov eax, dword [esi*4 + 0x4b5420]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ecx + eax + 6], 0
mov ecx, esi
call fcn.004403f0
jmp 0x42e856
test esi, esi
je 0x42e638
mov ecx, dword [esi*4 + 0x4b5420]
mov eax, dword [ecx + 0x1c]
add eax, 0xa
cmp eax, dword [ecx + 0x14]
jbe 0x42e638
push str.mapif_guild_created
push 0x3a9
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
mov edx, 0xa
mov ecx, esi
call fcn.00440270
add esp, 0xc
mov eax, dword [esi*4 + 0x4b5420]
mov edx, 0x3830
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov word [ecx + eax], dx
mov eax, dword [esi*4 + 0x4b5420]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ecx + eax + 2], edx
mov edx, 0xa
mov eax, dword [esi*4 + 0x4b5420]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ecx + eax + 6], 0
mov ecx, esi
call fcn.004403f0
jmp 0x42e87e
cmp eax, 2
jne 0x42e3c0
xor edi, edi
mov eax, dword [ebx + 8]
mov al, byte [edi + eax]
test al, al
je 0x42e3c0
movsx eax, al
push eax
push 0x4a99f5
call fcn.00460b00
add esp, 8
test eax, eax
jne 0x42e6c1
inc edi
cmp edi, 0x18
jl 0x42e693
jmp 0x42e3c0
test esi, esi
je 0x42e6f5
mov ecx, dword [esi*4 + 0x4b5420]
mov eax, dword [ecx + 0x1c]
add eax, 0xa
cmp eax, dword [ecx + 0x14]
jbe 0x42e6f5
push str.mapif_guild_created
push 0x3a9
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
mov edx, 0xa
mov ecx, esi
call fcn.00440270
add esp, 0xc
mov eax, dword [esi*4 + 0x4b5420]
mov edx, 0x3830
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov word [ecx + eax], dx
mov eax, dword [esi*4 + 0x4b5420]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ecx + eax + 2], edx
mov edx, 0xa
mov eax, dword [esi*4 + 0x4b5420]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ecx + eax + 6], 0
mov ecx, esi
call fcn.004403f0
jmp 0x42e87e
lea eax, [edi + 0x3c]
push eax
lea eax, [edi + 0x24]
push eax
push dword [edi]
push str.Created_Guild__d____s__Guild_Master:__s__n
call fcn.00442790
add esp, 0x10
push edi
call fcn.00431010
mov ecx, dword [ebp - 0x1c]
lock inc dword [ecx]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov dword [eax], edi
mov dword [ebp - 0x28], ecx
mov dword [eax + 4], edx
test ecx, ecx
je 0x42e79a
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x42e79a
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x28]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x42e79a
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x42e7ce
mov ecx, dword [esi*4 + 0x4b5420]
mov eax, dword [ecx + 0x1c]
add eax, 0xa
cmp eax, dword [ecx + 0x14]
jbe 0x42e7ce
push str.mapif_guild_created
push 0x3a9
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
mov edx, 0xa
mov ecx, esi
call fcn.00440270
add esp, 0xc
mov eax, dword [esi*4 + 0x4b5420]
mov edx, 0x3830
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov word [ecx + eax], dx
mov eax, dword [esi*4 + 0x4b5420]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ecx + eax + 2], edx
mov eax, dword [esi*4 + 0x4b5420]
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0xc]
mov eax, dword [edi]
mov dword [edx + ecx + 6], eax
lea eax, [edi + 0x24]
push eax
push dword [edi]
push str.int_guild:_Guild_created___d____s__n
call fcn.00442790
add esp, 0xc
mov edx, 0xa
mov ecx, esi
call fcn.004403f0
mov edx, edi
mov ecx, esi
call fcn.0042e100
cmp dword [0x4a9e20], 0
je 0x42e856
mov eax, dword [ebx + 0xc]
push dword [eax]
push dword [ebp - 0x2c]
push dword [edi]
push dword [ebx + 8]
push str.guild__s__id_d__created_by_master__s__id_d__n
call fcn.00420c10
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx], eax
jne 0x42e87e
mov edi, dword [ebp - 0x18]
mov ecx, edi
mov eax, dword [edi]
call dword [eax]
mov eax, dword [ebp - 0x30]
lock xadd dword [eax], esi
dec esi
jne 0x42e87e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret