Function at 0x411250
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x370], 0
push 0x103
push 0
lea eax, [ebp - 0x36f]
push eax
call fcn.005454d0
add esp, 0xc
lea ecx, [ebp - 0x370]
push ecx
push str..init.ini
call fcn.00534340
add esp, 8
push eax
lea ecx, [ebp - 0x210]
call fcn.0043bed0
mov edx, dword [str.Kingmir3.dll]
mov dword [ebp - 0x22c], edx
mov eax, dword [0x576050]
mov dword [ebp - 0x228], eax
mov ecx, dword [0x576054]
mov dword [ebp - 0x224], ecx
mov dl, byte [0x576058]
mov byte [ebp - 0x220], dl
mov eax, dword [str.Config]
mov dword [ebp - 0x21c], eax
mov cx, word [0x576048]
mov word [ebp - 0x218], cx
mov dl, byte [0x57604a]
mov byte [ebp - 0x216], dl
lea eax, [ebp - 0x22c]
push eax
push 0x32
lea ecx, [ebp - 0x260]
push ecx
push str.DllName
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x210]
call fcn.0043bf00
cmp dword [0x663c44], 0
jne 0x411336
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x663c44], eax
cmp dword [0x663c44], 0
jne 0x411363
push 0
push 0
push 0x57602c
mov ecx, 0x69ec08
call fcn.004edfb0
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41164e
push str.GetCharInfo
mov ecx, dword [0x663c44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d474], eax
push str.GetCharInfoEx
mov edx, dword [0x663c44]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d470], eax
push str.ReceiveMSG
mov eax, dword [0x663c44]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d484], eax
push str.GetMsgProcess
mov ecx, dword [0x663c44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d480], eax
push str.LoadPlayerConfig
mov edx, dword [0x663c44]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d4a8], eax
push str.SetAutoDrinkMode
mov eax, dword [0x663c44]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d4a4], eax
push str.SavePlayerConfig
mov ecx, dword [0x663c44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d4a0], eax
push str.RegMsgProcess
mov edx, dword [0x663c44]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d49c], eax
push str.GetItemInfo
mov eax, dword [0x663c44]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d48c], eax
push str.GetMonInfo
mov ecx, dword [0x663c44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d498], eax
push str.PlayerNpcMonInfo
mov edx, dword [0x663c44]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d47c], eax
push str.UpdateMagicInfo
mov eax, dword [0x663c44]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d494], eax
push str.WhereIAM
mov ecx, dword [0x663c44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d478], eax
push str.WGWriteString
mov edx, dword [0x663c44]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d490], eax
push str.SetUserHp
mov eax, dword [0x663c44]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d488], eax
push str.SetCharInfo
mov ecx, dword [0x663c44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d468], eax
push str.GetBlockList
mov edx, dword [0x663c44]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d464], eax
push str.ShowWgForm
mov eax, dword [0x663c44]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d4ac], eax
push str.UpdateMonInfo
mov ecx, dword [0x663c44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69d460], eax
cmp dword [0x69d4a8], 0
je 0x41157e
cmp dword [0x69d4a0], 0
je 0x41157e
cmp dword [0x69d49c], 0
je 0x41157e
cmp dword [0x69d48c], 0
je 0x41157e
cmp dword [0x69d498], 0
je 0x41157e
cmp dword [0x69d490], 0
je 0x41157e
cmp dword [0x69d488], 0
je 0x41157e
cmp dword [0x69d4ac], 0
je 0x41157e
cmp dword [0x69d47c], 0
je 0x41157e
cmp dword [0x69d494], 0
je 0x41157e
cmp dword [0x69d490], 0
je 0x41157e
cmp dword [0x69d460], 0
jne 0x41159d
push 0
push 0
push 0x575ef0
mov ecx, 0x69ec08
call fcn.004edfb0
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41164e
push fcn.00432600
call dword [0x69d49c]
mov ecx, 0x7c0f70
call fcn.004f24b0
mov byte [ebp - 0x214], 0x44
mov byte [ebp - 0x213], 0
lea edx, [ebp - 0x22c]
push edx
push 0x32
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x210]
call fcn.0043bf00
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x41164e
mov byte [ebp - 0x214], 0x50
lea ecx, [ebp - 0x22c]
push ecx
push 0x32
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0043bf00
lea edx, [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x663c34], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret