Function at 0x597a2a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
xor eax, eax
push esi
push edi
push 0xe
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
call fcn.00597eba
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop ecx
push eax
call edi
push 0x11
mov ebx, eax
call fcn.00597eba
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ecx
push eax
push ebx
call esi
push 0x12
mov dword [ebp - 0x28], eax
call fcn.00597eba
pop ecx
push eax
push ebx
call esi
push 0xf
mov dword [ebp - 0x48], eax
call fcn.00597eba
pop ecx
push eax
call edi
push 0x13
mov ebx, eax
call fcn.00597eba
pop ecx
push eax
push ebx
call esi
push 0x10
mov dword [ebp - 0x1c], eax
call fcn.00597eba
pop ecx
push eax
call edi
mov ebx, eax
push 0x19b
push ebx
call esi
push 0x17
push ebx
mov dword [ebp - 0x24], eax
call esi
push 0x18
push ebx
mov dword [ebp - 0x30], eax
call esi
push 8
push ebx
mov dword [ebp - 0x38], eax
call esi
push 0x10
push ebx
mov dword [ebp - 0x20], eax
call esi
push 0xf
push ebx
mov dword [ebp - 0x2c], eax
call esi
push 0x1a
push ebx
mov dword [ebp - 0x50], eax
call esi
push 8
mov dword [ebp - 0x44], eax
call fcn.00597eba
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x16
mov ebx, eax
call fcn.00597eba
pop ecx
push eax
push ebx
call esi
push 0x15
mov dword [ebp - 0x4c], eax
call fcn.00597eba
pop ecx
push eax
call edi
push 0x17
call fcn.00597eba
pop ecx
push eax
push ebx
call esi
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x40], eax
je 0x597e71
cmp dword [ebp - 0x48], 0
je 0x597e71
cmp dword [ebp - 0x1c], 0
je 0x597e71
cmp dword [ebp - 0x24], 0
je 0x597e71
cmp dword [ebp - 0x30], 0
je 0x597e71
cmp dword [ebp - 0x38], 0
je 0x597e71
cmp dword [ebp - 0x20], 0
je 0x597e71
cmp dword [ebp - 0x2c], 0
je 0x597e71
xor edi, edi
push edi
call dword [ebp - 0x28]
mov esi, eax
cmp esi, edi
jge 0x597bc3
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x597b88
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x597b95
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x597ba2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x597baf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x597bbc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x597eb5
lea eax, [ebp - 4]
push eax
push 0x5960ec
push 0x5960dc
push edi
push 0x596158
push edi
call dword [ebp - 0x1c]
mov esi, eax
cmp esi, edi
jl 0x597b7b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov esi, eax
cmp esi, edi
jl 0x597b7b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x34]
mov esi, eax
cmp esi, edi
mov eax, dword [ebp - 0x10]
jl 0x597b7e
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x596138
push eax
call dword [ecx]
mov esi, eax
cmp esi, edi
jl 0x597b7b
push dword [ebp + 0xc]
push edi
push 0x11
call dword [ebp - 0x24]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x28], ebx
jne 0x597c72
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x597c41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x597c4e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x597c5b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x597c68
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, edi
jmp 0x597eaa
lea eax, [ebp - 0x34]
push eax
push ebx
mov dword [ebp - 0x34], edi
call dword [ebp - 0x30]
mov esi, eax
cmp esi, edi
jl 0x597dcd
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x34]
call fcn.0059641c
add esp, 0xc
push ebx
call dword [ebp - 0x38]
mov esi, eax
cmp esi, edi
jl 0x597dcd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push ebx
push eax
call dword [ecx + 0xb4]
mov esi, eax
cmp esi, edi
jl 0x597dcd
push ebx
call dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
mov dword [ebp - 0x28], edi
call dword [ecx + 0x40]
mov esi, eax
cmp esi, edi
jl 0x597dda
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x48]
mov esi, eax
cmp esi, edi
jl 0x597dda
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x38]
push edx
push 0x596148
mov word [ebp - 0x60], 9
mov dword [ebp - 0x38], edi
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x80]
push eax
call dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10], edi
je 0x597da5
cmp word [eax], di
je 0x597da5
xor esi, esi
inc esi
push esi
push edi
push pe_nt_image_headers32
call dword [ebp - 0x24]
xor ebx, ebx
cmp dword [ebp - 0x40], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esi
je 0x597d55
lea eax, [ebp - 0x20]
push eax
call dword [ebp - 0x4c]
push eax
call dword [ebp - 0x40]
mov ebx, eax
mov eax, dword [ebp - 0x20]
and dword [ebp - 0x38], edi
dec eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push esi
push 8
call dword [ebp - 0x50]
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x20], esi
mov edi, eax
jle 0x597d88
push dword [ebx + esi*4]
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [ebp - 0x44]
inc dword [ebp - 0x1c]
inc esi
cmp esi, dword [ebp - 0x20]
jl 0x597d74
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
mov word [ebp - 0x70], 0x2008
mov dword [ebp - 0x68], edi
call dword [ebp - 0x44]
jmp 0x597da8
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x80]
push edx
push dword [ebp - 0x18]
lea esi, [ebp - 0x60]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
mov esi, eax
test esi, esi
jge 0x597de2
xor edi, edi
cmp dword [ebp - 0x28], edi
je 0x597dda
push dword [ebp - 0x28]
call dword [ebp - 0x2c]
call dword [ebp - 0x48]
jmp 0x597b7b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov esi, eax
test esi, esi
mov eax, dword [ebp - 0x10]
jge 0x597e2f
test eax, eax
je 0x597dfe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x597e0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x597e18
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x597e25
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
jmp 0x597bb4
test eax, eax
je 0x597e39
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x597e46
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x597e53
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x597e60
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x597e6d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x597eb5
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x597e7e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x597e8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x597e98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x597ea5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x597eb2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret