Function at 0x54e250
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x61c]
sub esp, 0x61c
push 0xfffffffffffffffe
push 0x674be8
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x618], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0x628]
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
mov byte [ebp + 0x514], bl
push 0x103
push ebx
lea eax, [ebp + 0x515]
push eax
call fcn.005dfd60
mov byte [ebp + 0x410], bl
push 0x103
push ebx
lea ecx, [ebp + 0x411]
push ecx
call fcn.005dfd60
add esp, 0x18
mov dword [ebp - 0x1c], ebx
cmp dword [0x75ec58], ebx
je 0x54e2f1
push 0x65729c
push ebx
call fcn.004f0f30
add esp, 8
call fcn.004d9cc0
test al, al
jne 0x54e33b
call fcn.004d9720
test eax, eax
jne 0x54e33b
call fcn.004d96c0
test eax, eax
jne 0x54e33b
push 0x657260
lea edx, [ebp + 0x208]
push edx
call fcn.005dfb23
lea eax, [ebp + 0x208]
push eax
push edi
call fcn.004f0f30
add esp, 0x10
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x54e65e
mov esi, dword [ebp + 0x624]
cmp byte [esi], 0
je 0x54e39b
mov ecx, esi
lea edx, [ebp + 0x514]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x54e350
lea ecx, [ebp + 0x514]
push ecx
call fcn.004e24e0
add esp, 4
lea eax, [ebp + 0x514]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x54e370
mov edx, dword [0x656ca8]
mov dword [eax], edx
mov ecx, dword [0x656cac]
mov dword [eax + 4], ecx
mov edx, dword [0x656cb0]
mov dword [eax + 8], edx
mov cl, byte [0x656cb4]
mov byte [eax + 0xc], cl
cmp byte [ebp + 0x514], 0
je 0x54e5fd
push 1
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp + 0x514]
push edx
call fcn.004e8950
add esp, 0x18
test eax, eax
jne 0x54e5fd
lea eax, [ebp + 0x514]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x54e426
mov byte [ebp + 0x104], al
push 0x104
lea ecx, [ebp + 0x104]
push ecx
call fcn.004d8c20
lea edx, [ebp + 0x104]
push edx
lea eax, [ebp + 0x514]
push eax
push 0x657234
lea ecx, [ebp + 0x208]
push ecx
call fcn.005dfb23
lea edx, [ebp + 0x208]
push edx
push edi
call fcn.004f0f30
add esp, 0x20
jmp 0x54e654
call fcn.004d9b00
test eax, eax
je 0x54e4b3
call fcn.004f79d0
test eax, eax
jne 0x54e4b3
mov ecx, esi
lea edx, [ebp + 0x410]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x54e444
lea eax, [ebp + 0x410]
push eax
call fcn.004e24e0
add esp, 4
lea eax, [ebp + 0x410]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x54e464
mov ecx, dword [0x656c38]
mov dword [eax], ecx
mov edx, dword [0x656c3c]
mov dword [eax + 4], edx
mov ecx, dword [0x656c40]
mov dword [eax + 8], ecx
cmp dword [0x75ec54], 1
je 0x54e4ac
push 1
push 0
push 0
push 0
push 0
lea edx, [ebp + 0x410]
push edx
call fcn.004e8950
add esp, 0x18
test eax, eax
je 0x54e4b3
mov byte [ebp + 0x410], 0
push 0x65722c
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov edi, eax
push 0x657220
push ebx
call esi
mov dword [ebp - 0x28], eax
push 0x657210
push ebx
call esi
mov dword [ebp - 0x2c], eax
push 0x6571fc
push ebx
call esi
mov ebx, eax
push 0x6571e8
mov eax, dword [ebp - 0x1c]
push eax
call esi
mov dword [ebp - 0x30], eax
test edi, edi
je 0x54e5ea
cmp dword [ebp - 0x28], 0
je 0x54e5ea
cmp dword [ebp - 0x2c], 0
je 0x54e5ea
test ebx, ebx
je 0x54e5ea
test eax, eax
je 0x54e5ea
call edi
cmp eax, 1
je 0x54e53a
push 0x657198
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004f0f30
add esp, 8
jmp 0x54e625
call ebx
mov esi, eax
call dword [ebp - 0x30]
mov edi, eax
push esi
push 0x657174
lea edx, [ebp + 0x208]
push edx
call fcn.005dfb23
lea eax, [ebp + 0x208]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004f0f30
add esp, 0x14
cmp dword [0x75ec58], 0
je 0x54e582
push edi
push esi
push 0x65714c
push 0
call fcn.004f0f30
add esp, 0x10
push edi
push esi
call dword [ebp - 0x2c]
add esp, 8
mov esi, eax
mov dword [ebp - 0x24], esi
cmp dword [0x75ec58], 0
je 0x54e5af
lea edx, [ebp + 0x410]
push edx
push esi
push 0x657120
push 0
call fcn.004f0f30
add esp, 0x10
test esi, esi
jne 0x54e5e5
cmp byte [ebp + 0x410], 0
je 0x54e5e5
lea eax, [ebp + 0x410]
push eax
push 0x65710c
lea ecx, [ebp]
push ecx
call fcn.005dfb23
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
push 1
lea edx, [ebp]
push edx
call fcn.00506de0
add esp, 0x28
call dword [ebp - 0x28]
jmp 0x54e625
push 0x6570c8
mov eax, dword [ebp - 0x20]
push eax
call fcn.004f0f30
add esp, 8
jmp 0x54e625
lea ecx, [ebp + 0x514]
push ecx
push 0x6570a0
lea edx, [ebp + 0x208]
push edx
call fcn.005dfb23
lea eax, [ebp + 0x208]
push eax
push edi
call fcn.004f0f30
add esp, 0x14
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x54e654
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x1c], 0
jmp 0x54e654
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x61c
mov esp, ebp
pop ebp
ret