Function at 0x411510
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443afa
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x454350]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x7244
call fcn.0043519f
add esp, 4
mov dword [ebp - 0x184], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x184], 0
je 0x411571
mov ecx, dword [ebp - 0x184]
call fcn.00408540
mov dword [ebp - 0x1bc], eax
jmp 0x41157b
mov dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x180], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x18], ecx
push 0x7244
call fcn.0043519f
add esp, 4
mov dword [ebp - 0x18c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18c], 0
je 0x4115cd
mov ecx, dword [ebp - 0x18c]
call fcn.00408540
mov dword [ebp - 0x1c0], eax
jmp 0x4115d7
mov dword [ebp - 0x1c0], 0
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x188], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x10], eax
push 0x7244
call fcn.0043519f
add esp, 4
mov dword [ebp - 0x194], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x194], 0
je 0x411629
mov ecx, dword [ebp - 0x194]
call fcn.00408540
mov dword [ebp - 0x1c4], eax
jmp 0x411633
mov dword [ebp - 0x1c4], 0
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x190], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
add eax, 0xefdc
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xefc8
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf004
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00408690
mov eax, dword [ebp + 8]
add eax, 0xefdc
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xefc8
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf004
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00408690
mov eax, dword [ebp + 8]
add eax, 0xefdc
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xefc8
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf004
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00408690
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00408880
add esp, 8
test eax, eax
jne 0x4116f9
push str._ExDB__MuOnlineDB__Guild_Info_is_missing
push 2
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [eax + 4]
call edx
add esp, 0xc
mov ecx, dword [ebp - 0x18]
call fcn.00408a80
xor eax, eax
jmp 0x411b82
mov ecx, dword [ebp - 0x18]
call fcn.00408ad0
cwde
cmp eax, 0x64
je 0x4119e3
mov byte [ebp - 0xb8], 0
xor ecx, ecx
mov dword [ebp - 0xb7], ecx
mov dword [ebp - 0xb3], ecx
mov word [ebp - 0xaf], cx
mov byte [ebp - 0x28], 0
xor edx, edx
mov dword [ebp - 0x27], edx
mov dword [ebp - 0x23], edx
mov word [ebp - 0x1f], dx
mov byte [ebp - 0x16c], 0
push 0x7f
push 0
lea eax, [ebp - 0x16b]
push eax
call fcn.00433530
add esp, 0xc
mov byte [ebp - 0xd8], 0
xor ecx, ecx
mov dword [ebp - 0xd7], ecx
mov dword [ebp - 0xd3], ecx
mov dword [ebp - 0xcf], ecx
mov dword [ebp - 0xcb], ecx
mov dword [ebp - 0xc7], ecx
mov dword [ebp - 0xc3], ecx
mov dword [ebp - 0xbf], ecx
mov word [ebp - 0xbb], cx
mov byte [ebp - 0xb9], cl
mov dword [ebp - 0xe4], 0
push str.Number
mov ecx, dword [ebp - 0x18]
call fcn.00408c10
mov dword [ebp - 0xdc], eax
push 0xa
lea edx, [ebp - 0xb8]
push edx
push str.G_Name
mov ecx, dword [ebp - 0x18]
call fcn.00408b70
push 0xa
lea eax, [ebp - 0x28]
push eax
push str.G_Master
mov ecx, dword [ebp - 0x18]
call fcn.00408b70
push 0x7f
lea ecx, [ebp - 0x16c]
push ecx
push str.G_Notice
mov ecx, dword [ebp - 0x18]
call fcn.00408b70
push str.G_Score
mov ecx, dword [ebp - 0x18]
call fcn.00408c10
mov dword [ebp - 0x2c], eax
push str.G_Type
mov ecx, dword [ebp - 0x18]
call fcn.00408c10
mov dword [ebp - 0xe8], eax
lea edx, [ebp - 0xb8]
push edx
push str.SELECT_G_Mark_FROM_Guild_WHERE_G_Name___s
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xac]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00408e20
mov eax, dword [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0xdc]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004129d0
add esp, 0x20
test eax, eax
je 0x4118d9
lea edx, [ebp - 0xb8]
push edx
call fcn.00411240
add esp, 4
mov dword [ebp - 0xe4], eax
push str.G_Rival
mov ecx, dword [ebp - 0x18]
call fcn.00408c10
mov ecx, dword [ebp - 0xe4]
mov dword [ecx + 0x29], eax
push str.G_Union
mov ecx, dword [ebp - 0x18]
call fcn.00408c10
mov edx, dword [ebp - 0xe4]
mov dword [edx + 0x2d], eax
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 0x2d]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
call fcn.00415b50
add esp, 8
jmp 0x4118fc
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xb8]
push ecx
push str._ExDB_Cant_add_guild___s___s_
push 2
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [eax + 4]
call edx
add esp, 0x14
lea eax, [ebp - 0xb8]
push eax
push str.SELECT__FROM_GuildMember_WHERE_G_Name___s
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00408880
add esp, 0xc
mov dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0x50
jge 0x4119bf
mov ecx, dword [ebp - 0x10]
call fcn.00408ad0
movsx edx, ax
cmp edx, 0x64
je 0x4119bf
mov byte [ebp - 0x17c], 0
xor eax, eax
mov dword [ebp - 0x17b], eax
mov dword [ebp - 0x177], eax
mov word [ebp - 0x173], ax
push str.G_Status
mov ecx, dword [ebp - 0x10]
call fcn.00408c10
mov dword [ebp - 0x170], eax
push 0xa
lea ecx, [ebp - 0x17c]
push ecx
push str.Name
mov ecx, dword [ebp - 0x10]
call fcn.00408b70
push 0xff
movzx edx, byte [ebp - 0x170]
push edx
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00413020
add esp, 0x14
mov eax, dword [ebp - 0xe0]
add eax, 1
mov dword [ebp - 0xe0], eax
jmp 0x41191e
mov ecx, dword [ebp - 0x14]
call fcn.00408a80
mov ecx, dword [ebp - 0x10]
call fcn.00408a80
mov ecx, dword [ebp - 0x18]
call fcn.00408ad0
movsx ecx, ax
cmp ecx, 0x64
jne 0x41170b
mov ecx, dword [ebp - 0x18]
call fcn.00408a80
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x198], ecx
cmp dword [ebp - 0x198], 0
je 0x411a67
mov edx, dword [ebp - 0x198]
cmp dword [edx - 4], 0
je 0x411a3d
push 3
mov eax, dword [ebp - 0x19c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x19c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x1c8], eax
jmp 0x411a59
mov ecx, dword [ebp - 0x198]
sub ecx, 4
push ecx
call fcn.0043521f
add esp, 4
mov dword [ebp - 0x1c8], 0
mov edx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], edx
jmp 0x411a71
mov dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1a8], ecx
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1a4], edx
cmp dword [ebp - 0x1a4], 0
je 0x411aed
mov eax, dword [ebp - 0x1a4]
cmp dword [eax - 4], 0
je 0x411ac3
push 3
mov ecx, dword [ebp - 0x1a8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1a8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x1d0], eax
jmp 0x411adf
mov ecx, dword [ebp - 0x1a4]
sub ecx, 4
push ecx
call fcn.0043521f
add esp, 4
mov dword [ebp - 0x1d0], 0
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], edx
jmp 0x411af7
mov dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1b4], ecx
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b0], edx
cmp dword [ebp - 0x1b0], 0
je 0x411b73
mov eax, dword [ebp - 0x1b0]
cmp dword [eax - 4], 0
je 0x411b49
push 3
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1b4]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x1d8], eax
jmp 0x411b65
mov ecx, dword [ebp - 0x1b0]
sub ecx, 4
push ecx
call fcn.0043521f
add esp, 4
mov dword [ebp - 0x1d8], 0
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], edx
jmp 0x411b7d
mov dword [ebp - 0x1dc], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00434051
mov esp, ebp
pop ebp
ret