Function at 0x435450
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff78
mov eax, dword [0x4b59e0]
cmp dword [0x4d36d8], 1
mov esi, 0x4b59e6
mov dword [esp + 0x10], eax
mov ebx, 0x4d5a08
mov ax, word [0x4b59e4]
mov word [esp + 0x14], ax
jne 0x43548d
mov eax, 1
jmp 0x43576d
mov eax, dword [ebx]
test eax, eax
jne 0x43549b
or eax, 0xffffffff
jmp 0x43576d
lea edx, [esi + 0x152e]
push edx
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov ebp, eax
lea eax, [esi + 0x153e]
push eax
mov edx, dword [ebx]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x1c], eax
lea ecx, [esi + 0x154e]
push ecx
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x20], eax
lea edx, [esi + 0x1567]
push edx
mov ecx, dword [ebx]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x24], eax
lea eax, [esi + 0x156f]
push eax
mov edx, dword [ebx]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x28], eax
lea ecx, [esi + 0x158c]
push ecx
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x2c], eax
lea edx, [esi + 0x1599]
push edx
mov ecx, dword [ebx]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x30], eax
lea eax, [esi + 0x15a7]
push eax
mov edx, dword [ebx]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x34], eax
lea ecx, [esi + 0x15bb]
push ecx
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x38], eax
lea edx, [esi + 0x15d5]
push edx
mov ecx, dword [ebx]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x3c], eax
lea eax, [esi + 0x15f0]
push eax
mov edx, dword [ebx]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x40], eax
lea ecx, [esi + 0x160b]
push ecx
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x44], eax
lea edx, [esi + 0x1625]
push edx
mov ecx, dword [ebx]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x48], eax
lea eax, [esi + 0x1631]
push eax
mov edx, dword [ebx]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x4c], eax
test ebp, ebp
je 0x435600
cmp dword [esp + 0x1c], 0
je 0x435600
cmp dword [esp + 0x20], 0
je 0x435600
cmp dword [esp + 0x24], 0
je 0x435600
cmp dword [esp + 0x28], 0
je 0x435600
cmp dword [esp + 0x2c], 0
je 0x435600
cmp dword [esp + 0x30], 0
je 0x435600
cmp dword [esp + 0x34], 0
je 0x435600
cmp dword [esp + 0x38], 0
je 0x435600
cmp dword [esp + 0x3c], 0
je 0x435600
cmp dword [esp + 0x40], 0
je 0x435600
cmp dword [esp + 0x44], 0
je 0x435600
cmp dword [esp + 0x48], 0
je 0x435600
cmp dword [esp + 0x4c], 0
jne 0x435608
or eax, 0xffffffff
jmp 0x43576d
or edi, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], eax
xor ebx, ebx
push 2
call ebp
lea eax, [esp + 0xc]
push eax
push 0
push 8
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call dword [esp + 0x2c]
test eax, eax
je 0x43574d
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x38]
push ecx
call dword [esp + 0x4c]
test eax, eax
je 0x43574d
lea esi, [esp + 0x50]
push 1
push esi
call dword [esp + 0x30]
test eax, eax
je 0x43574d
mov eax, dword [esp + 0x18]
push eax
call dword [esp + 0x30]
mov ebp, eax
add ebp, 0x14
sub ebp, 4
push ebp
push pe_nt_image_headers32
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test ebx, ebx
je 0x43574d
push 2
push ebp
push ebx
call dword [esp + 0x3c]
test eax, eax
je 0x43574d
mov eax, dword [esp + 0x18]
push eax
push 3
push 2
push ebx
call dword [esp + 0x44]
test eax, eax
je 0x43574d
push 0
push ebx
push 1
push esi
call dword [esp + 0x48]
test eax, eax
je 0x43574d
push 0
mov edx, dword [esp + 0x1c]
push edx
push esi
call dword [esp + 0x48]
push 0
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call dword [esp + 0x4c]
push esi
call dword [esp + 0x48]
test eax, eax
je 0x43574d
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 2
xor eax, eax
mov dword [esp + 0x6c], eax
mov eax, 1
mov dword [esp + 0x70], 3
mov dword [esp + 4], 0x14
push esp
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x74]
push ecx
push eax
mov eax, dword [esp + 0x24]
push eax
push esi
call dword [esp + 0x68]
test eax, eax
je 0x43574d
cmp dword [esp], 0
je 0x43574b
mov edi, 1
jmp 0x43574d
xor edi, edi
call dword [esp + 0x4c]
test ebx, ebx
je 0x43575b
push ebx
call sub.KERNEL32.DLL_GlobalFree
cmp dword [esp + 0x18], 0
je 0x43576b
mov eax, dword [esp + 0x18]
push eax
call dword [esp + 0x28]
mov eax, edi
add esp, 0x88
pop ebp
pop edi
pop esi
pop ebx
ret