Function at 0x402020
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push 0x129eea10
push 0x39fcd9bc
push 0x129eea10
push 0x129eea10
push 0xa7ba8a0
push 0x154a4648
push 0x417c58d6
push 0xda64de6a
push 0x37a0c4da
push 0x154a4648
push 0x84ea87da
push 0x1b4081b2
push 0xc
lea eax, [ebp - 0x190]
push eax
call fcn.00401df0
add esp, 0x38
lea ecx, [ebp - 0x190]
push ecx
mov edx, dword [0x40dce8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0xc3fe8860
push 0xce70f3d6
push 0xa7ba8a0
push 0x84ea87da
push 0x78c6d83a
push 0x129eea10
push 0xb69e3886
push 0x39fcd9bc
push 0x417c58d6
push 0x84ea87da
push 0xf786d07c
push 0xf3563380
push 0x49308b4c
push 0x791e6904
push 0x1566f284
push 0xf
lea eax, [ebp - 0xd0]
push eax
call fcn.00401df0
add esp, 0x44
lea ecx, [ebp - 0xd0]
push ecx
mov edx, dword [0x40dce8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x328], 0x714
push 0xc3fe8860
push 0x84ea87da
push 0x78c6d83a
push 0x129eea10
push 0xb69e3886
push 0x39fcd9bc
push 0x417c58d6
push 0x84ea87da
push 0xf786d07c
push 0xf3563380
push 0x49308b4c
push 0x791e6904
push 0x1566f284
push 0xd
lea eax, [ebp - 0x320]
push eax
call fcn.00401df0
add esp, 0x3c
push 0x84ea87da
push 0x78c6d83a
push 0x129eea10
push 0xb69e3886
push 0x39fcd9bc
push 0x417c58d6
push 0x84ea87da
push 0xf786d07c
push 0xf3563380
push 0xda64de6a
push 0x39fcd9bc
push 0x37a0c4da
push 0xc
lea ecx, [ebp - 0x3e8]
push ecx
call fcn.00401df0
add esp, 0x38
push 0x84ea87da
push 0x78c6d83a
push 0x129eea10
push 0xb69e3886
push 0x39fcd9bc
push 0x417c58d6
push 0x84ea87da
push 0xf786d07c
push 0x91e299b4
push 0x78c6d83a
push 0x39fcd9bc
push 0x37a0c4da
push 0xc
lea edx, [ebp - 0x258]
push edx
call fcn.00401df0
add esp, 0x38
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
imul eax, dword [ebp + 0x10]
imul eax, eax, 0xa
cmp dword [ebp - 0xc], eax
jge 0x40249f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x40c], ecx
lea edx, [ebp - 0x320]
push edx
mov eax, dword [0x40dce8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3f8], eax
push 0x17
push 1
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [ebp - 0x3f8]
mov dword [ebp - 0x3f0], eax
lea edx, [ebp - 0x3e8]
push edx
mov eax, dword [0x40dce8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x408], eax
mov ecx, dword [ebp - 0x3f0]
push ecx
mov edx, dword [ebp - 0x40c]
push edx
call dword [ebp - 0x408]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [0x40dce8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x404], eax
mov edx, dword [ebp - 8]
push edx
call dword [ebp - 0x404]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x400], eax
mov ecx, dword [ebp - 0x400]
mov edx, dword [ecx + 2]
sub edx, 0x36
mov dword [ebp - 0x3fc], edx
call dword [0x40dcf4]
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x3fc]
sub eax, dword [ebp - 0x3ec]
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
mov dword [0x40dcec], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 8]
je 0x40239a
push 4
push 0x3000
mov eax, dword [ebp - 0x3ec]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x25c], eax
push 4
push 0x3000
mov ecx, dword [ebp - 0x194]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x3f4], eax
mov edx, dword [ebp - 0x3ec]
push edx
mov eax, dword [ebp - 0x400]
mov ecx, dword [eax + 0xa]
mov edx, dword [ebp - 0x324]
lea eax, [edx + ecx + 2]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.00403bb0
add esp, 0xc
mov edx, dword [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x400]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + 0xa]
mov edx, dword [ebp - 0x3ec]
lea eax, [ecx + edx + 2]
push eax
mov ecx, dword [ebp - 0x3f4]
push ecx
call fcn.00403bb0
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x40246e
push 4
push 0x3000
mov eax, dword [ebp - 0x3ec]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x25c], eax
push 4
push 0x3000
mov ecx, dword [ebp - 0x194]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x3f4], eax
mov edx, dword [ebp - 0x3ec]
push edx
mov eax, dword [ebp - 0x400]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + 0xa]
push ecx
mov edx, dword [ebp - 0x3ec]
push edx
mov eax, dword [ebp - 0x25c]
push eax
call fcn.00403b2a
add esp, 0x10
mov ecx, dword [ebp - 0x194]
push ecx
mov edx, dword [ebp - 0x400]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + 0xa]
add eax, dword [ebp - 0x3ec]
push eax
mov ecx, dword [ebp - 0x194]
push ecx
mov edx, dword [ebp - 0x3f4]
push edx
call fcn.00403b2a
add esp, 0x10
mov eax, dword [ebp - 0x3ec]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
mov edx, dword [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x3f4]
push eax
call fcn.00401f00
add esp, 0x10
mov ecx, dword [ebp - 0x3ec]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call fcn.00402000
add esp, 8
jmp 0x40249f
mov eax, dword [ebp - 0x3ec]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.00402000
add esp, 8
mov edx, dword [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x3f4]
push eax
call fcn.00402000
add esp, 8
jmp 0x402200
mov eax, dword [ebp - 0x3f4]
mov esp, ebp
pop ebp
ret