Function at 0x402030
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
jmp 0x4020e5
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 - 0x198]
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 - 0x194]
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.0040432a
add esp, 0x10
mov ecx, dword [ebp - 0x198]
push ecx
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + 0xa]
add eax, dword [ebp - 0x3ec]
push eax
mov ecx, dword [ebp - 0x198]
push ecx
mov edx, dword [ebp - 0x3f4]
push edx
call fcn.0040432a
add esp, 0x10
jmp 0x402458
push 0x2010515a
push 0x9f58c8cc
push 0x2010515a
push 0x2010515a
push 0x853cf704
push 0x8982c4fc
push 0x69f49ca4
push 0x209c3482
push 0x447e24ac
push 0x8982c4fc
push 0x828558a
push 0xfe041ab2
push 0xc
lea eax, [ebp - 0x190]
push eax
call fcn.00401df0
add esp, 0x38
lea ecx, [ebp - 0x190]
push ecx
mov edx, dword [0x40dfe8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0xf3a8e27e
push 0x9fe070c2
push 0x853cf704
push 0x828558a
push 0x1066d5c6
push 0x2010515a
push 0xd9b45e00
push 0x9f58c8cc
push 0x69f49ca4
push 0x828558a
push 0x25ac3970
push 0x4aadbd8
push 0x2dd68ef8
push 0xb1a816c4
push 0x84be8740
push 0xf
lea eax, [ebp - 0xd0]
push eax
call fcn.00401df0
add esp, 0x44
lea ecx, [ebp - 0xd0]
push ecx
mov edx, dword [0x40dfe8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x328], 0x714
push 0xf3a8e27e
push 0x828558a
push 0x1066d5c6
push 0x2010515a
push 0xd9b45e00
push 0x9f58c8cc
push 0x69f49ca4
push 0x828558a
push 0x25ac3970
push 0x4aadbd8
push 0x2dd68ef8
push 0xb1a816c4
push 0x84be8740
push 0xd
lea eax, [ebp - 0x320]
push eax
call fcn.00401df0
add esp, 0x3c
push 0x828558a
push 0x1066d5c6
push 0x2010515a
push 0xd9b45e00
push 0x9f58c8cc
push 0x69f49ca4
push 0x828558a
push 0x25ac3970
push 0x4aadbd8
push 0x209c3482
push 0x9f58c8cc
push 0x447e24ac
push 0xc
lea ecx, [ebp - 0x3e8]
push ecx
call fcn.00401df0
add esp, 0x38
push 0x828558a
push 0x1066d5c6
push 0x2010515a
push 0xd9b45e00
push 0x9f58c8cc
push 0x69f49ca4
push 0x828558a
push 0x25ac3970
push 0x88b27b98
push 0x1066d5c6
push 0x9f58c8cc
push 0x447e24ac
push 0xc
lea edx, [ebp - 0x258]
push edx
call fcn.00401df0
add esp, 0x38
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
imul eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x14]
imul eax, eax, 0xa
cmp eax, dword [ebp - 0x10]
jle 0x4024af
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x404], ecx
lea edx, [ebp - 0x320]
push edx
mov eax, dword [0x40dfe8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3f8], eax
push 0x17
push 1
mov ecx, dword [ebp - 0x404]
push ecx
call dword [ebp - 0x3f8]
mov dword [ebp - 0x3f0], eax
lea edx, [ebp - 0x3e8]
push edx
mov eax, dword [0x40dfe8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x400], eax
mov ecx, dword [ebp - 0x3f0]
push ecx
mov edx, dword [ebp - 0x404]
push edx
call dword [ebp - 0x400]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [0x40dfe8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3fc], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [ebp - 0x3fc]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx + 2]
sub edx, 0x36
mov dword [ebp - 4], edx
call dword [0x40dff4]
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x3ec]
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x198]
mov dword [0x40dfec], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp + 0x14]
cmp dword [ebp - 0x10], edx
je 0x402453
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 - 0x198]
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 - 0x194]
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.004043b0
add esp, 0xc
mov edx, dword [ebp - 0x198]
push edx
mov eax, dword [ebp - 0x194]
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.004043b0
add esp, 0xc
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x40247e
jmp 0x402043
mov eax, dword [ebp - 0x3ec]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
mov edx, dword [ebp - 0x198]
push edx
mov eax, dword [ebp - 0x3f4]
push eax
call fcn.00401f10
add esp, 0x10
jmp 0x4024af
mov ecx, dword [ebp - 0x3ec]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call fcn.00402010
add esp, 8
mov eax, dword [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x3f4]
push ecx
call fcn.00402010
add esp, 8
jmp 0x4022bc
mov eax, dword [ebp - 0x3f4]
mov esp, ebp
pop ebp
ret