Function at 0x30021b23
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.300213ac
cmp dword [ebp - 0x14], 2
jne 0x30021b5b
cmp dword [ebp - 8], 5
jb 0x30021b5b
cmp dword [ebp - 0xc], 1
jb 0x30021b5b
cmp dword [ebp - 0x10], 0xe24
jae 0x30021b74
mov dword [0x30032144], 0x30021a9d
mov dword [0x30032140], 0x30021aae
jmp 0x30021c05
cmp dword [0x30032150], 0
jne 0x30021b8d
push 0x30001e08
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [0x30032150], eax
cmp dword [0x30032150], 0
je 0x30021bb6
cmp dword [0x30032144], 0
jne 0x30021bb6
push 0x30001df8
mov ecx, dword [0x30032150]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032144], eax
cmp dword [0x30032144], 0
jne 0x30021bc9
mov dword [0x30032144], 0x30021a9d
cmp dword [0x30032150], 0
je 0x30021bf2
cmp dword [0x30032140], 0
jne 0x30021bf2
push 0x30001dec
mov edx, dword [0x30032150]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032140], eax
cmp dword [0x30032140], 0
jne 0x30021c05
mov dword [0x30032140], 0x30021aae
push 0x30001de0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x30021c36
cmp dword [0x3003213c], 0
jne 0x30021c36
push 0x30001dd0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x3003213c], eax
cmp dword [0x3003213c], 0
jne 0x30021c49
mov dword [0x3003213c], 0x30021ad0
cmp dword [ebp - 4], 0
je 0x30021c6c
cmp dword [0x30032138], 0
jne 0x30021c6c
push 0x30001db4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032138], eax
cmp dword [0x30032138], 0
jne 0x30021c7f
mov dword [0x30032138], 0x30021ad0
cmp dword [ebp - 4], 0
je 0x30021ca2
cmp dword [0x30032134], 0
jne 0x30021ca2
push 0x30001d98
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032134], eax
cmp dword [0x30032134], 0
jne 0x30021cb5
mov dword [0x30032134], 0x30021ae4
cmp dword [ebp - 4], 0
je 0x30021cd8
cmp dword [0x30032130], 0
jne 0x30021cd8
push 0x30001d7c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032130], eax
cmp dword [0x30032130], 0
jne 0x30021ceb
mov dword [0x30032130], 0x30021ae4
cmp dword [ebp - 4], 0
je 0x30021d0e
cmp dword [0x3003212c], 0
jne 0x30021d0e
push 0x30001d6c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x3003212c], eax
cmp dword [0x3003212c], 0
jne 0x30021d21
mov dword [0x3003212c], 0x30021ae4
cmp dword [ebp - 4], 0
je 0x30021d44
cmp dword [0x30032128], 0
jne 0x30021d44
push 0x30001d60
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032128], eax
cmp dword [0x30032128], 0
jne 0x30021d57
mov dword [0x30032128], 0x30021af8
push 0x30001d50
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x30021d88
cmp dword [0x30032124], 0
jne 0x30021d88
push 0x30001d44
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032124], eax
cmp dword [0x30032124], 0
jne 0x30021d9b
mov dword [0x30032124], 0x30021b01
cmp dword [ebp - 0x18], 0
je 0x30021dbe
cmp dword [0x30032120], 0
jne 0x30021dbe
push 0x30001d34
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032120], eax
cmp dword [0x30032120], 0
jne 0x30021dd1
mov dword [0x30032120], 0x30021b12
cmp dword [ebp - 0x18], 0
je 0x30021df4
cmp dword [0x3003211c], 0
jne 0x30021df4
push 0x30001d24
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x3003211c], eax
cmp dword [0x3003211c], 0
jne 0x30021e07
mov dword [0x3003211c], 0x30021b12
cmp dword [ebp - 0x18], 0
je 0x30021e2a
cmp dword [0x30032118], 0
jne 0x30021e2a
push 0x30001d14
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032118], eax
cmp dword [0x30032118], 0
jne 0x30021e3d
mov dword [0x30032118], 0x30021b12
cmp dword [ebp - 0x18], 0
je 0x30021e60
cmp dword [0x30032114], 0
jne 0x30021e60
push 0x30001d04
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032114], eax
cmp dword [0x30032114], 0
jne 0x30021e73
mov dword [0x30032114], 0x30021b12
cmp dword [ebp - 0x18], 0
je 0x30021e96
cmp dword [0x30032110], 0
jne 0x30021e96
push 0x30001cf4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032110], eax
cmp dword [0x30032110], 0
jne 0x30021ea9
mov dword [0x30032110], 0x30021b12
cmp dword [ebp - 0x18], 0
je 0x30021ecc
cmp dword [0x3003210c], 0
jne 0x30021ecc
push 0x30001ce4
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x3003210c], eax
cmp dword [0x3003210c], 0
jne 0x30021edf
mov dword [0x3003210c], 0x30021b12
cmp dword [ebp - 0x18], 0
je 0x30021f02
cmp dword [0x30032108], 0
jne 0x30021f02
push 0x30001cc8
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032108], eax
cmp dword [0x30032108], 0
jne 0x30021f15
mov dword [0x30032108], 0x30021b12
cmp dword [0x3003214c], 0
jne 0x30021f2e
push 0x30001cbc
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [0x3003214c], eax
cmp dword [0x3003214c], 0
jne 0x30021f6a
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.300213ac
cmp dword [ebp - 0x20], 2
jne 0x30021f6a
cmp dword [ebp - 0x1c], 4
jne 0x30021f6a
mov dword [0x30032104], fcn.30022f1a
mov dword [0x30032100], 0x300230b6
cmp dword [0x3003214c], 0
je 0x30021f93
cmp dword [0x30032104], 0
jne 0x30021f93
push 0x30001ca8
mov ecx, dword [0x3003214c]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032104], eax
cmp dword [0x30032104], 0
jne 0x30021fa6
mov dword [0x30032104], 0x30021abf
cmp dword [0x3003214c], 0
je 0x30021fcf
cmp dword [0x30032100], 0
jne 0x30021fcf
push 0x30001c90
mov edx, dword [0x3003214c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x30032100], eax
cmp dword [0x30032100], 0
jne 0x30021fe2
mov dword [0x30032100], 0x30021abf
mov esp, ebp
pop ebp
ret