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

Disassembly:
sub esp, 0x54
mov al, byte [ecx + 3]
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x60]
push esi
push edi
mov edi, dword [esp + 0x74]
cmp al, 2
mov dword [esp + 0x10], ecx
jne 0x41a513
mov esi, dword [esp + 0x6c]
mov eax, dword [esi + 4]
test eax, eax
jne 0x41a4ce
mov eax, 0x42a10c
push eax
call fcn.0041a750
add esp, 4
test al, al
je 0x41a507
push edi
push ebx
lea ecx, [esp + 0x7c]
call fcn.00408060
push eax
push esi
lea ecx, [esp + 0x7c]
call fcn.00408060
push eax
lea ecx, [esp + 0x68]
call fcn.0040b6e0
push eax
mov ecx, ebp
call fcn.00413340
mov al, 1
jmp 0x41a509
xor al, al
test byte [esp + 0x78], al
jne 0x41a71b
test ebx, ebx
mov esi, ebx
je 0x41a71b
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
and eax, 0xf
movsx ecx, byte [edx + 3]
dec ecx
cmp ecx, 7
ja case.default.0x41a534
jmp dword [ecx*4 + 0x41a728]
cmp eax, 2
jne case.default.0x41a534
mov eax, dword [esi + 4]
test eax, eax
je case.default.0x41a534
mov ecx, dword [edx + 0x10]
push ecx
push eax
call fcn.004036a0
add esp, 8
test al, al
je case.default.0x41a534
push esi
lea ecx, [esp + 0x78]
call fcn.00408060
push eax
lea ecx, [esp + 0x28]
call fcn.0040b6c0
lea edx, [esp + 0x24]
push edi
push edx
mov ecx, ebp
call fcn.00413340
mov al, 1
jmp 0x41a708
push esi
lea ecx, [esp + 0x74]
call fcn.00408060
push eax
lea ecx, [esp + 0x30]
call fcn.0040b6c0
lea eax, [esp + 0x2c]
push edi
push eax
mov ecx, ebp
call fcn.00413340
mov al, 1
jmp 0x41a708
cmp eax, 5
jne case.default.0x41a534
push esi
lea ecx, [esp + 0x6c]
call fcn.00408060
push eax
lea ecx, [esp + 0x38]
call fcn.0040b6c0
lea ecx, [esp + 0x34]
push edi
push ecx
mov ecx, ebp
call fcn.00413340
mov al, 1
jmp 0x41a708
cmp eax, 3
je 0x41a5f3
cmp eax, 4
jne case.default.0x41a534
push esi
lea ecx, [esp + 0x70]
call fcn.00408060
push eax
lea ecx, [esp + 0x40]
call fcn.0040b6c0
lea edx, [esp + 0x3c]
push edi
push edx
mov ecx, ebp
call fcn.00413340
mov al, 1
jmp 0x41a708
cmp eax, 6
jne case.default.0x41a534
push esi
lea ecx, [esp + 0x18]
call fcn.00408060
push eax
lea ecx, [esp + 0x48]
call fcn.0040b6c0
lea eax, [esp + 0x44]
push edi
push eax
mov ecx, ebp
call fcn.00413340
mov al, 1
jmp 0x41a708
cmp eax, 6
jne case.default.0x41a534
mov eax, dword [esi + 4]
test eax, eax
je case.default.0x41a534
mov ecx, dword [edx + 0x10]
push ecx
push eax
call fcn.004036a0
add esp, 8
test al, al
je case.default.0x41a534
push esi
lea ecx, [esp + 0x1c]
call fcn.00408060
push eax
lea ecx, [esp + 0x50]
call fcn.0040b6c0
lea edx, [esp + 0x4c]
push edi
push edx
mov ecx, ebp
call fcn.00413340
mov al, 1
jmp 0x41a708
cmp eax, 2
jne case.default.0x41a534
push esi
lea ecx, [esp + 0x20]
call fcn.00408060
push eax
lea ecx, [esp + 0x58]
call fcn.0040b6c0
lea eax, [esp + 0x54]
push edi
push eax
mov ecx, ebp
call fcn.00413340
mov al, 1
jmp 0x41a708
cmp eax, 2
jne case.default.0x41a534
mov eax, dword [esi + 4]
test eax, eax
je case.default.0x41a534
mov ecx, dword [edx + 0x10]
push ecx
push eax
call fcn.004094f0
add esp, 8
test al, al
je case.default.0x41a534
push esi
lea ecx, [esp + 0x24]
call fcn.00408060
push eax
lea ecx, [esp + 0x60]
call fcn.0040b6c0
lea edx, [esp + 0x5c]
push edi
push edx
mov ecx, ebp
call fcn.00413340
mov al, 1
jmp 0x41a708
xor al, al
mov cl, byte [esp + 0x78]
test cl, al
jne 0x41a71b
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x41a51d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18