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

Disassembly:
sub esp, 0x1c
push esi
mov esi, eax
mov dword [esp + 4], 0x80
mov dword [esp + 8], 8
mov dword [esp + 0xc], 0x88
mov dword [esp + 0x10], 0x22
mov dword [esp + 0x14], 0xaa
mov dword [esp + 0x18], 0x55
mov dword [esp + 0x1c], 0xff
test esi, esi
je 0x41ce9f
test byte [esi + 0x1c], 0x40
jne 0x41cbf1
call fcn.0041f890
cmp byte [esi + 0xd3], 0
je case.default.0x41cc18
test byte [esi + 0x20], 2
je case.default.0x41cc18
movzx eax, byte [esi + 0xd4]
cmp eax, 6
ja case.default.0x41cc18
jmp dword [eax*4 + 0x41cea4]
test byte [esi + 0x94], 7
je case.default.0x41cc18
mov eax, esi
pop esi
add esp, 0x1c
jmp fcn.0041f5a0
test byte [esi + 0x94], 7
jne 0x41cc4a
cmp dword [esi + 0x78], 5
jae case.default.0x41cc18
mov eax, esi
pop esi
add esp, 0x1c
jmp fcn.0041f5a0
mov eax, dword [esi + 0x94]
and al, 7
cmp al, 4
je case.default.0x41cc18
mov eax, esi
pop esi
add esp, 0x1c
jmp fcn.0041f5a0
mov eax, 3
test byte [esi + 0x94], al
jne 0x41cc7e
cmp dword [esi + 0x78], eax
jae case.default.0x41cc18
mov eax, esi
pop esi
add esp, 0x1c
jmp fcn.0041f5a0
mov ecx, dword [esi + 0x94]
and cl, 3
cmp cl, 2
je case.default.0x41cc18
mov eax, esi
pop esi
add esp, 0x1c
jmp fcn.0041f5a0
test byte [esi + 0x94], 1
jne 0x41ccb1
cmp dword [esi + 0x78], 2
jae case.default.0x41cc18
mov eax, esi
pop esi
add esp, 0x1c
jmp fcn.0041f5a0
test byte [esi + 0x94], 1
jne case.default.0x41cc18
mov eax, esi
pop esi
add esp, 0x1c
jmp fcn.0041f5a0
mov edx, dword [esi + 0x9c]
mov eax, dword [esi + 0x8c]
push ebx
push ebp
push edi
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
lea ebp, [esi + 0x24]
cmp dword [esi + 0x28], 0
jne 0x41cd4e
cmp dword [esi + 0xbc], 0
jne 0x41cd11
xor eax, eax
mov ecx, esi
call fcn.0041e620
mov eax, esi
call fcn.0041e570
mov dword [esi + 0xbc], eax
test eax, eax
je 0x41ccf7
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0xbc]
mov ebx, dword [esi + 0x5c]
mov dword [esi + 0x28], eax
mov dword [ebp], ebx
cmp eax, ecx
jbe 0x41cd2a
mov dword [esi + 0x28], ecx
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
test eax, eax
je 0x41cd3c
push edi
push ebx
push esi
call eax
add esp, 0xc
push edi
call fcn.0041e410
mov ecx, dword [esi + 0x28]
add esp, 4
sub dword [esi + 0xbc], ecx
push ebp
call fcn.004200e0
add esp, 4
cmp eax, 1
je 0x41cd64
cmp dword [esi + 0x34], 0
jne 0x41cce8
jmp 0x41cd6c
or dword [esi + 0x18], 8
or dword [esi + 0x1c], 0x20
movzx eax, byte [esi + 0xda]
mov dl, byte [esi + 0xd6]
mov ecx, dword [esi + 0x90]
mov byte [esi + 0xba], al
movzx eax, byte [esi + 0xd7]
mov byte [esi + 0xb9], al
mov al, byte [esi + 0xd9]
mov byte [esi + 0xb8], dl
lea edx, [esi + 0xb0]
mov byte [esi + 0xbb], al
cmp al, 8
mov dword [edx], ecx
movzx eax, al
jb 0x41cdbb
shr eax, 3
imul eax, ecx
jmp 0x41cdc4
imul eax, ecx
add eax, 7
shr eax, 3
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0x9c]
mov bl, byte [eax]
test bl, bl
je 0x41cdf6
lea ecx, [eax + 1]
movzx eax, bl
cmp eax, 4
ja 0x41cdf3
mov edi, dword [esi + 0x98]
inc edi
push edi
call fcn.0041f410
add esp, 4
jmp 0x41cdf6
mov byte [ecx], 0
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x9c]
mov eax, dword [esi + 0x98]
inc ecx
push ecx
push edx
push eax
call fcn.004272c0
add esp, 0xc
cmp dword [esi + 0x20], 0
jne 0x41ce23
test dword [esi + 0x1c], 0x400000
je 0x41ce2a
mov ebx, esi
call fcn.0041d260
cmp byte [esi + 0xd3], 0
pop edi
pop ebp
pop ebx
je 0x41ce62
test byte [esi + 0x20], 2
je 0x41ce62
cmp byte [esi + 0xd4], 6
jae 0x41ce4c
mov eax, esi
call fcn.0041efc0
mov edx, dword [esp + 0x24]
test edx, edx
je 0x41ce79
movzx ecx, byte [esi + 0xd4]
mov eax, dword [esp + ecx*4 + 4]
push eax
jmp 0x41ce6f
mov edx, dword [esp + 0x24]
test edx, edx
je 0x41ce79
push 0xff
mov eax, esi
call fcn.0041ecd0
add esp, 4
mov eax, esi
call fcn.0041f5a0
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x41ce9f
movzx ecx, byte [esi + 0xd4]
mov edx, dword [esi + 0x94]
push ecx
push edx
push esi
call eax
add esp, 0xc
pop esi
add esp, 0x1c
ret