Function at 0x10001a40
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x100cf3f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.10001890
add esp, 4
push esi
test eax, eax
je 0x10001a96
push str.Module__s_is_already_loaded_
lea eax, [ebp - 0x444]
push eax
call fcn.10002170
lea eax, [ebp - 0x444]
push eax
call sym.D2ESRutils.dll_GamePrintError
add esp, 0x10
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100461c3
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
push str._s.d2h
push eax
call fcn.10002170
push 0x104
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x444]
push eax
call sym.D2ESRutils.dll_D2FindFile
add esp, 0x18
test eax, eax
jne 0x10001af6
push esi
lea eax, [ebp - 0x44]
push str._s.dll
push eax
call fcn.10002170
push 0x104
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x444]
push eax
call sym.D2ESRutils.dll_D2FindFile
add esp, 0x18
test eax, eax
jne 0x10001af6
push esi
push str.Unable_to_load_module__s_:_file_not_found_
jmp 0x10001a6a
push ebx
lea eax, [ebp - 0x444]
mov dword [0x100d10a8], 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x10001b47
push esi
lea eax, [ebp - 0x444]
push str.Unable_to_load_module__s_
push eax
call fcn.10002170
lea eax, [ebp - 0x444]
push eax
call sym.D2ESRutils.dll_GamePrintError
add esp, 0x10
xor eax, eax
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100461c3
mov esp, ebp
pop ebp
ret
push edi
push 0x6c
call fcn.10045e63
mov edi, eax
push 0x68
push 0
lea ecx, [edi + 4]
push ecx
call fcn.10047d10
mov dword [edi], ebx
add esp, 0x10
mov ecx, dword [0x100d10a8]
mov dword [edi + 8], ecx
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001b71
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.10045ea1
add esp, 4
mov dword [edi + 4], eax
nop dword [eax]
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x10001b90
lea eax, [ebp - 0x444]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001ba7
sub eax, edx
je 0x10001bc5
cmp byte [ebp + eax - 0x444], 0x5c
je 0x10001d48
sub eax, 1
jne 0x10001bb2
lea ecx, [ebp - 0x444]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001bd0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.10045ea1
add esp, 4
mov dword [edi + 0x44], eax
lea edx, [ebp - 0x444]
nop
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x10001bf0
mov eax, dword [0x100d10c4]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [eax + 0xb54], 0
je 0x10001c3e
push str.OnBnetPacketBeforeSent
push ebx
call esi
push str.OnBnetPacketBeforeReceived
push ebx
mov dword [edi + 0x48], eax
call esi
push str.OnRealmPacketBeforeSent
push ebx
mov dword [edi + 0x4c], eax
call esi
push str.OnRealmPacketBeforeReceived
push ebx
mov dword [edi + 0x50], eax
call esi
mov dword [edi + 0x54], eax
push str.OnGamePacketBeforeSent
push ebx
call esi
push str.OnGamePacketBeforeReceived
push ebx
mov dword [edi + 0xc], eax
call esi
push str.OnGamePacketAfterReceived
push ebx
mov dword [edi + 0x10], eax
call esi
push str.OnGameCommandLine
push ebx
mov dword [edi + 0x14], eax
call esi
push str.OnGameJoin
push ebx
mov dword [edi + 0x18], eax
call esi
push str.OnGameLeave
push ebx
mov dword [edi + 0x20], eax
call esi
push str.OnGameTimerTick
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.OnClientStart
push ebx
mov dword [edi + 0x38], eax
call esi
push str.OnClientStop
push ebx
mov dword [edi + 0x3c], eax
call esi
push str.OnUnitMessage
push ebx
mov dword [edi + 0x40], eax
call esi
push str.OnThisPlayerMessage
push ebx
mov dword [edi + 0x5c], eax
call esi
push str.OnQueryModuleData
push ebx
mov dword [edi + 0x60], eax
call esi
push str.OnGameKeyDown
push ebx
mov dword [edi + 0x64], eax
call esi
push str.GetModuleAuthor
push ebx
mov dword [edi + 0x68], eax
call esi
push str.GetModuleWebsite
push ebx
mov dword [edi + 0x24], eax
call esi
push str.GetModuleEmail
push ebx
mov dword [edi + 0x28], eax
call esi
push str.GetModuleDescription
push ebx
mov dword [edi + 0x2c], eax
call esi
push str.GetModuleVersion
push ebx
mov dword [edi + 0x30], eax
call esi
push edi
mov ecx, 0x100d1208
mov dword [edi + 0x34], eax
call fcn.10004a70
mov esi, eax
mov ecx, esi
call fcn.10004d00
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x10001d60
call eax
test eax, eax
jne 0x10001d60
mov ecx, esi
call fcn.10004e60
push esi
call fcn.10001fe0
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100461c3
mov esp, ebp
pop ebp
ret
cmp eax, 0x400
jae 0x10001dd7
mov byte [ebp + eax - 0x444], 0
jmp 0x10001bc5
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x10001d77
mov eax, dword [0x100d10cc]
cmp dword [eax], 0
je 0x10001d77
push eax
call ecx
add esp, 4
mov ecx, esi
call fcn.10004e60
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10001d89
call eax
jmp 0x10001d8e
mov eax, 0x100b2360
cmp dword [edi + 0x24], 0
mov ecx, 0x100b2360
push eax
mov eax, str._by
cmove eax, ecx
push eax
push dword [edi + 4]
lea eax, [ebp - 0x444]
push 0x100b25ec
push eax
call fcn.10002170
lea eax, [ebp - 0x444]
push eax
call sym.D2ESRutils.dll_GamePrintInfo
mov ecx, dword [ebp - 4]
add esp, 0x18
mov eax, esi
xor ecx, ebp
pop edi
pop ebx
pop esi
call fcn.100461c3
mov esp, ebp
pop ebp
ret
call fcn.10045fd1
int3