Function at 0x4499bc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff5b8
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, 0x5230c2
call fcn.004d57f0
mov dword [ebp - 0x28], 0xffffffff
mov word [ebp - 0x14], 8
push esi
push edi
lea edi, [ebp - 0x448]
mov esi, 0x5226c2
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov word [ebp - 0x14], 8
push esi
push edi
lea edi, [ebp - 0x848]
mov esi, 0x522ac2
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
lea edi, [ebp - 0xa48]
mov esi, 0x522ec2
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
pop edi
xor eax, eax
pop esi
mov dword [ebp - 0x34], eax
test edi, edi
jne 0x449a4a
mov eax, 0xffffff92
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x449e3e
mov cl, byte [edi]
test cl, cl
jne 0x449a64
mov eax, 0xffffff91
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x449e3e
xor ebx, ebx
test ebx, ebx
jne 0x449a76
push 0x5215a5
call sub.KERNEL32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
jne 0x449a86
mov dword [ebp - 0x28], 0xffffff88
jmp case.0x449b19.0
push 0x5ec240
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x40], eax
push 0x5ec251
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x3c], eax
push 0x5ec262
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x38], eax
push 0x5ec278
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x44], eax
push 0x5ec28f
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x48], eax
push 0x5ec2a6
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x449afe
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x449afe
mov edx, dword [ebp - 0x44]
test edx, edx
je 0x449afe
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x449afe
test eax, eax
je 0x449afe
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x449b0a
mov dword [ebp - 0x28], 0xffffff7e
jmp case.0x449b19.0
mov eax, dword [ebp + 0x10]
and eax, 0xf
cmp eax, 0xb
ja case.0x449b19.0
jmp dword [eax*4 + 0x449b20]
test esi, esi
jne 0x449b60
mov dword [ebp - 0x28], 0xffffff78
jmp case.0x449b19.0
lea edx, [ebp - 0x448]
push edx
push edi
call fcn.00403494
add esp, 8
mov byte [esi], 0
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x2c]
push ecx
push eax
lea edx, [ebp - 0x34]
push 0xffffffffffffffff
push edx
push 1
lea ecx, [ebp - 0x448]
push 0
push ecx
push 0
call dword [ebp - 0x38]
test eax, eax
je 0x449b9d
mov dword [ebp - 0x28], eax
jmp case.0x449b19.0
xor edi, edi
mov eax, dword [ebp - 0x2c]
cmp edi, eax
jae 0x449bdb
mov dl, byte [esi]
test dl, dl
je 0x449bba
push 0x5ec2b7
push esi
call fcn.004d2e40
add esp, 8
push esi
call fcn.004d2f1c
pop ecx
add eax, esi
push eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + edi*4]
push eax
call fcn.004033e0
add esp, 8
inc edi
mov edx, dword [ebp - 0x2c]
cmp edi, edx
jb 0x449ba6
xor ecx, ecx
mov dword [ebp - 0x28], ecx
jmp case.0x449b19.0
test esi, esi
jne 0x449bf5
mov dword [ebp - 0x28], 0xffffff76
jmp case.0x449b19.0
lea eax, [ebp - 0x448]
push eax
push edi
call fcn.00403494
add esp, 8
mov byte [esi], 0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push edx
push ecx
lea eax, [ebp - 0x34]
push 0xffffffffffffffff
push eax
lea edx, [ebp - 0x448]
push 0
push edx
push 0
call dword [ebp - 0x3c]
test eax, eax
je 0x449c30
mov dword [ebp - 0x28], eax
jmp case.0x449b19.0
xor edi, edi
mov eax, dword [ebp - 0x2c]
cmp edi, eax
jae 0x449c6e
mov dl, byte [esi]
test dl, dl
je 0x449c4d
push 0x5ec2b9
push esi
call fcn.004d2e40
add esp, 8
push esi
call fcn.004d2f1c
pop ecx
add eax, esi
push eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + edi*4]
push eax
call fcn.004033e0
add esp, 8
inc edi
mov edx, dword [ebp - 0x2c]
cmp edi, edx
jb 0x449c39
xor ecx, ecx
mov dword [ebp - 0x28], ecx
jmp case.0x449b19.0
test esi, esi
je 0x449c82
mov al, byte [esi]
test al, al
jne 0x449c8e
mov dword [ebp - 0x28], 0xffffff74
jmp case.0x449b19.0
push 0x200
lea edx, [ebp - 0xa48]
push edx
push edi
call fcn.00447450
add esp, 0xc
test al, al
jne 0x449cb3
mov dword [ebp - 0x28], 0xffffff71
jmp case.0x449b19.0
lea ecx, [ebp - 0x848]
push ecx
push esi
call fcn.00403494
add esp, 8
lea eax, [ebp - 0xa48]
push eax
lea edx, [ebp - 0x848]
push edx
push 0
call dword [ebp - 0x48]
test eax, eax
je 0x449ce2
mov dword [ebp - 0x28], eax
jmp case.0x449b19.0
xor ecx, ecx
mov dword [ebp - 0x28], ecx
jmp case.0x449b19.0
test esi, esi
je 0x449cf6
mov al, byte [esi]
test al, al
jne 0x449d02
mov dword [ebp - 0x28], 0xffffff6a
jmp case.0x449b19.0
push 0x200
lea edx, [ebp - 0xa48]
push edx
push edi
call fcn.00447450
add esp, 0xc
test al, al
jne 0x449d27
mov dword [ebp - 0x28], 0xffffff67
jmp case.0x449b19.0
lea ecx, [ebp - 0x848]
push ecx
push esi
call fcn.00403494
add esp, 8
lea eax, [ebp - 0xa48]
push eax
lea edx, [ebp - 0x848]
push edx
push 0
call dword [ebp - 0x44]
test eax, eax
je 0x449d56
mov dword [ebp - 0x28], eax
jmp case.0x449b19.0
xor ecx, ecx
mov dword [ebp - 0x28], ecx
jmp case.0x449b19.0
test esi, esi
je 0x449d67
mov byte [esi], 0
push 0x200
lea eax, [ebp - 0xa48]
push eax
push edi
call fcn.00447450
add esp, 0xc
test al, al
jne 0x449d89
mov dword [ebp - 0x28], 0xffffff5d
jmp case.0x449b19.0
lea edx, [ebp - 0x448]
push edx
push edi
call fcn.00403494
add esp, 8
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x34]
push ecx
push eax
push 0xffffffffffffffff
push edx
push 1
lea ecx, [ebp - 0x448]
push 0
push ecx
push 0
call dword [ebp - 0x38]
test eax, eax
je 0x449dc0
mov dword [ebp - 0x28], eax
jmp case.0x449b19.0
xor edi, edi
mov eax, dword [ebp - 0x2c]
cmp edi, eax
jae 0x449ded
lea edx, [ebp - 0xa48]
push edx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + edi*4]
push eax
push 0
call dword [ebp - 0x44]
test eax, eax
je 0x449de5
mov dword [ebp - 0x28], eax
jmp case.0x449b19.0
inc edi
mov edx, dword [ebp - 0x2c]
cmp edi, edx
jb 0x449dc9
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x449e00
mov edx, dword [ebp - 0x34]
push edx
call dword [ebp - 0x40]
test ebx, ebx
je 0x449e0a
push ebx
call sub.KERNEL32.dll_FreeLibrary
mov word [ebp - 0x14], 0
jmp 0x449e31
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0xa54]
mov esi, dword [ebp - 0xa50]
mov ebx, dword [ebp - 0xa4c]
pop ebp
ret