Function at 0x406d00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
push edi
lea edi, [ebp - 0x154]
mov ecx, 0x55
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [0x4365c5], 1
push 0x435578
lea eax, [ebp - 0x104]
push eax
call fcn.0041cd30
add esp, 8
push 0x42e174
lea eax, [ebp - 0x104]
push eax
call fcn.0041cd40
add esp, 8
mov esi, esp
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365c0], eax
cmp dword [0x4365c0], 0
jne 0x406df7
mov esi, esp
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0x400
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, esp
call fcn.0041df73
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
cmp esi, esp
call fcn.0041df73
mov esi, esp
mov eax, dword [ebp - 0x108]
push eax
push 0x429bd8
push 0x435680
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.0041df73
mov esi, esp
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x435680
mov ax, 3
jmp 0x407486
lea eax, [ebp - 0x104]
push eax
call fcn.004064d0
add esp, 4
and eax, 0xff
test eax, eax
jne 0x406e37
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429b78
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x429b5c
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365a8], eax
cmp dword [0x4365a8], 0
jne 0x406e87
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429b10
mov ax, 5
jmp 0x407486
mov esi, esp
call dword [0x4365a8]
cmp esi, esp
call fcn.0041df73
mov dword [ebp - 0x10c], eax
mov esi, esp
push 0x429af0
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x435e8c], eax
cmp dword [0x435e8c], 0
jne 0x406eec
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429aa8
mov ax, 5
jmp 0x407486
mov esi, esp
call dword [0x435e8c]
cmp esi, esp
call fcn.0041df73
mov dword [ebp - 0x110], eax
mov esi, esp
push 0x429a90
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x435e90], eax
cmp dword [0x435e90], 0
jne 0x406f51
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429a50
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x429a40
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x435574], eax
cmp dword [0x435574], 0
jne 0x406fa1
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429a04
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x4299e0
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x435e84], eax
cmp dword [0x435e84], 0
jne 0x406ff1
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429990
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x429974
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x435e88], eax
cmp dword [0x435e88], 0
jne 0x407041
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429930
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x42990c
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x435e94], eax
cmp dword [0x435e94], 0
jne 0x407091
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x4298c0
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x42989c
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x435570], eax
cmp dword [0x435570], 0
jne 0x4070e1
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429850
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x42982c
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x435560], eax
cmp dword [0x435560], 0
jne 0x407131
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x4297e0
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x4297cc
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x4362a0], eax
cmp dword [0x4362a0], 0
jne 0x407181
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429788
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x429768
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365ac], eax
cmp dword [0x4365ac], 0
jne 0x4071d1
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429720
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x42970c
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x43567c], eax
cmp dword [0x43567c], 0
jne 0x407221
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x4296cc
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x4296b4
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x435e80], eax
cmp dword [0x435e80], 0
jne 0x407271
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429670
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x42965c
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x435564], eax
cmp dword [0x435564], 0
jne 0x4072c1
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429618
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x4295fc
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x435568], eax
cmp dword [0x435568], 0
jne 0x407311
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x4295b8
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x429594
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x43629c], eax
cmp dword [0x43629c], 0
jne 0x407361
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429548
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x429524
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x436298], eax
cmp dword [0x436298], 0
jne 0x4073b1
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x4294d8
mov ax, 5
jmp 0x407486
mov esi, esp
push 0x4294b4
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041df73
mov dword [0x435558], eax
cmp dword [0x435558], 0
jne 0x407401
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov dword [0x4365b4], 0x429468
mov ax, 5
jmp 0x407486
cmp dword [0x435e90], 0
jne 0x407429
movsx eax, word [0x42e18c]
add eax, 0xc9
push eax
push 0x429390
push 0x42944c
call fcn.0041d943
add esp, 0xc
mov esi, esp
mov eax, dword [0x42e170]
push eax
mov cx, word [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x435e90]
add esp, 0x18
cmp esi, esp
call fcn.0041df73
mov word [ebp - 0x112], ax
xor eax, eax
mov ax, word [ebp - 0x112]
test eax, eax
je 0x40747f
mov esi, esp
mov eax, dword [0x4365c0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.0041df73
mov ax, word [ebp - 0x112]
pop edi
pop esi
pop ebx
add esp, 0x154
cmp ebp, esp
call fcn.0041df73
mov esp, ebp
pop ebp
ret