Function at 0x4101e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f806b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov al, byte [esp + 0x70]
test al, al
push ebx
push edi
mov edi, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov ebx, 1
je 0x410278
cmp dword [edi + 8], ebx
jne 0x410278
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x410278
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [esp + 0x74]
test ecx, ecx
mov dword [esp + 0x68], 0
je 0x410240
cmp dword [ecx + 0x14], ebx
jne 0x410240
mov edx, ecx
jmp 0x410242
xor edx, edx
lea ecx, [edi + 0x28]
push edx
mov ebx, eax
call fcn.0040e2a0
cmp dword [esp + 0x24], 0x10
jb 0x4103e3
mov edx, dword [esp + 0x10]
push edx
call fcn.004c2c15
add esp, 4
pop edi
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 0xc
push 0x98
call fcn.004c14e8
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov dword [esp + 0x68], ebx
je 0x41029d
lea ecx, [edi + 0xc]
push ecx
push eax
call fcn.004383a0
jmp 0x41029f
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x68], 0xffffffff
mov dword [eax + 0x10], ecx
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], 0
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x4102c7
mov dword [edx + 0x40], eax
jmp 0x4102ca
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
push ebp
mov ebp, dword [eax + 0x14]
xor ecx, ecx
cmp ebp, ebx
setne cl
push esi
mov esi, 0xf
dec ecx
and ecx, eax
mov eax, dword [edi + 0x3c]
test eax, eax
mov ebp, ecx
jbe 0x410355
test ebp, ebp
je 0x410355
cmp dword [ebp + 0x14], ebx
jne 0x410355
push 2
push 0x51f52c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00401eb0
xor eax, eax
mov dword [esp + 0x70], 2
cmp dword [ebp + 0x14], ebx
setne al
lea ebx, [edi + 0x28]
lea ecx, [esp + 0x14]
dec eax
and eax, ebp
push eax
call fcn.0040e2a0
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x410350
mov edx, dword [esp + 0x18]
push edx
call fcn.004c2c15
add esp, 4
mov ebx, 1
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x4103f6
push 5
push str.value
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.00401eb0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x70], 3
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
push ebp
mov ebx, eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 4
call fcn.0040e2a0
mov eax, dword [esp + 0x64]
mov edi, 0x10
cmp eax, edi
jb 0x4103c0
mov edx, dword [esp + 0x50]
push edx
call fcn.004c2c15
add esp, 4
xor eax, eax
mov dword [esp + 0x60], eax
mov byte [esp + 0x50], al
cmp dword [esp + 0x48], edi
mov dword [esp + 0x64], esi
jb 0x4103e1
mov eax, dword [esp + 0x34]
push eax
call fcn.004c2c15
add esp, 4
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 0xc
cmp eax, 2
jne 0x410430
mov eax, dword [edi + 0x4c]
mov esi, dword [eax]
cmp esi, eax
je 0x4103e1
mov ecx, dword [esi + 0x28]
push 1
push ebp
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004101e0
mov esi, dword [esi]
cmp esi, dword [edi + 0x4c]
jne 0x410404
mov ecx, dword [esp + 0x68]
pop esi
pop ebp
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0xc
cmp eax, 3
jne 0x4103e1
xor ebx, ebx
mov edx, dword [edi + 8]
cmp edx, 3
mov eax, edi
je 0x410446
mov eax, 0x54ca10
mov ecx, dword [eax + 0x48]
test ecx, ecx
jne 0x410451
xor eax, eax
jmp 0x410459
mov eax, dword [eax + 0x4c]
sub eax, ecx
sar eax, 3
cmp ebx, eax
jge 0x4103e1
cmp edx, 3
mov eax, edi
je 0x410469
mov eax, 0x54ca10
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 0x10]
lea eax, [edx + ebx*8]
mov eax, dword [eax + 4]
push 0
push ebp
push eax
call fcn.004101e0
inc ebx
jmp 0x410437