Function at 0x10001950
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x100d1580]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.100017a0
add esp, 4
push esi
test eax, eax
je 0x100019a6
push str.Module__s_is_already_loaded_
lea eax, [ebp - 0x444]
push eax
call fcn.10002080
lea eax, [ebp - 0x444]
push eax
call sym.D2HackIt.dll_GamePrintError
add esp, 0x10
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10049f5b
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
push str._s.d2h
push eax
call fcn.10002080
push 0x104
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x444]
push eax
call sym.D2HackIt.dll_D2FindFile
add esp, 0x18
test eax, eax
jne 0x10001a06
push esi
lea eax, [ebp - 0x44]
push str._s.dll
push eax
call fcn.10002080
push 0x104
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x444]
push eax
call sym.D2HackIt.dll_D2FindFile
add esp, 0x18
test eax, eax
jne 0x10001a06
push esi
push str.Unable_to_load_module__s_:_file_not_found_
jmp 0x1000197a
push ebx
lea eax, [ebp - 0x444]
mov dword [0x100d3258], 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x10001a57
push esi
lea eax, [ebp - 0x444]
push str.Unable_to_load_module__s_
push eax
call fcn.10002080
lea eax, [ebp - 0x444]
push eax
call sym.D2HackIt.dll_GamePrintError
add esp, 0x10
xor eax, eax
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10049f5b
mov esp, ebp
pop ebp
ret
push edi
push 0x6c
call fcn.10049bfd
mov edi, eax
push 0x68
push 0
lea ecx, [edi + 4]
push ecx
call fcn.1004bae0
mov dword [edi], ebx
add esp, 0x10
mov ecx, dword [0x100d3258]
mov dword [edi + 8], ecx
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001a81
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.10049c3b
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 0x10001aa0
lea eax, [ebp - 0x444]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001ab7
sub eax, edx
je 0x10001ad5
cmp byte [ebp + eax - 0x444], 0x5c
je 0x10001c58
sub eax, 1
jne 0x10001ac2
lea ecx, [ebp - 0x444]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001ae0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.10049c3b
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 0x10001b00
mov eax, dword [0x100d3274]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [eax + 0xb54], 0
je 0x10001b4e
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, 0x100d33b8
mov dword [edi + 0x34], eax
call fcn.10004990
mov esi, eax
mov ecx, esi
call fcn.10004c20
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x10001c70
call eax
test eax, eax
jne 0x10001c70
mov ecx, esi
call fcn.10004d80
push esi
call fcn.10001ef0
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10049f5b
mov esp, ebp
pop ebp
ret
cmp eax, 0x400
jae 0x10001ce7
mov byte [ebp + eax - 0x444], 0
jmp 0x10001ad5
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x10001c87
mov eax, dword [0x100d327c]
cmp dword [eax], 0
je 0x10001c87
push eax
call ecx
add esp, 4
mov ecx, esi
call fcn.10004d80
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10001c99
call eax
jmp 0x10001c9e
mov eax, 0x100b6360
cmp dword [edi + 0x24], 0
mov ecx, 0x100b6360
push eax
mov eax, str._by
cmove eax, ecx
push eax
push dword [edi + 4]
lea eax, [ebp - 0x444]
push 0x100b65ec
push eax
call fcn.10002080
lea eax, [ebp - 0x444]
push eax
call sym.D2HackIt.dll_GamePrintInfo
mov ecx, dword [ebp - 4]
add esp, 0x18
mov eax, esi
xor ecx, ebp
pop edi
pop ebx
pop esi
call fcn.10049f5b
mov esp, ebp
pop ebp
ret
call fcn.10049d6b
int3