Function at 0x4f90c17e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f919454]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x100
lea eax, [ebp - 0x104]
push ebx
xor esi, esi
mov edi, ecx
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x20c], ebx
push 0x4f9018f0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4f90c3f3
push ecx
push edi
push ecx
mov edx, ebx
lea ecx, [ebp - 0x204]
call fcn.4f9043f7
test eax, eax
js 0x4f90c3f3
push 0x4f9018f8
mov edx, ebx
lea ecx, [ebp - 0x204]
call fcn.4f904392
test eax, eax
js 0x4f90c3f3
lea eax, [ebp - 0x20c]
push eax
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x204]
call fcn.4f914299
test eax, eax
je 0x4f90c220
or eax, 0xffffffff
jmp 0x4f90c3f5
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
movzx edi, ax
test di, di
je 0x4f90c25e
mov edx, dword [0x4f91982c]
xor eax, eax
inc eax
cmp edx, eax
jl 0x4f90c25e
push 0x2c
pop ecx
cmp ecx, 0x528
jae 0x4f90c25e
cmp word [ecx + 0x4f919b00], di
je 0x4f90c2c2
inc eax
add ecx, 0x2c
cmp eax, edx
jle 0x4f90c245
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov ecx, dword [0x4f91982c]
xor ebx, ebx
inc ebx
movzx eax, ax
mov dword [ebp - 0x208], eax
cmp ecx, ebx
jl 0x4f90c29c
push 0x2c
pop eax
cmp eax, 0x528
jae 0x4f90c29c
cmp word [eax + 0x4f919b00], si
je 0x4f90c2e2
inc ebx
add eax, 0x2c
cmp ebx, ecx
jle 0x4f90c284
mov ebx, dword [ebp - 0x208]
test bx, bx
je 0x4f90c2ae
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
test esi, esi
je 0x4f90c218
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4f90c218
imul ecx, eax, 0x2c
mov edx, eax
sub edx, dword [0x4f91981c]
inc dword [ecx + 0x4f919b08]
neg edx
sbb edx, edx
and dword [0x4f91981c], edx
jmp 0x4f90c3f5
cmp ebx, 0x1d
ja 0x4f90c29c
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4f90c29c
push 0x4f90191c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
imul edi, ebx, 0x2c
mov dword [edi + 0x4f919b0c], eax
test eax, eax
je 0x4f90c29c
push 0x4f901930
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x4f919b10], eax
test eax, eax
je 0x4f90c29c
push 0x4f901944
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x4f919b14], eax
test eax, eax
je 0x4f90c29c
push 0x4f90195c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x4f919b18], eax
test eax, eax
je 0x4f90c29c
push 0x4f901974
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x4f919b1c], eax
test eax, eax
je 0x4f90c29c
push 0x4f901980
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x4f919b20], eax
test eax, eax
je 0x4f90c29c
push 0x4f901994
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x4f919b24], eax
test eax, eax
je 0x4f90c29c
push 0x4f9019ac
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x4f91982c]
mov dword [edi + 0x4f919b28], eax
mov eax, dword [ebp - 0x208]
mov word [edi + 0x4f919b00], ax
mov dword [edi + 0x4f919b08], 1
mov dword [edi + 0x4f919b04], esi
cmp ebx, ecx
jle 0x4f90c3ef
inc ecx
mov dword [0x4f91982c], ecx
mov eax, ebx
jmp 0x4f90c3f5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4f916670
leave
ret