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

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
mov edx, ecx
mov ebp, dword [esp + 0x74]
mov ebx, dword [esp + 0x6c]
movsx ecx, byte [edx + 3]
mov eax, dword [edi]
mov dword [esp + 0x10], edx
and eax, 0xf
dec ecx
cmp ecx, 7
ja case.default.0x41aa7c
jmp dword [ecx*4 + 0x41aca4]
cmp eax, 2
jne case.default.0x41aa7c
mov eax, dword [edi + 4]
test eax, eax
je case.default.0x41aa7c
mov ecx, dword [edx + 0x10]
push ecx
push eax
call fcn.004036a0
add esp, 8
test al, al
je case.default.0x41aa7c
push edi
lea ecx, [esp + 0x74]
call fcn.00408060
push eax
lea ecx, [esp + 0x2c]
call fcn.0040b6c0
lea edx, [esp + 0x28]
push ebp
push edx
mov ecx, ebx
call fcn.00413340
mov al, 1
jmp 0x41ac50
push edi
lea ecx, [esp + 0x78]
call fcn.00408060
push eax
lea ecx, [esp + 0x34]
call fcn.0040b6c0
lea eax, [esp + 0x30]
push ebp
push eax
mov ecx, ebx
call fcn.00413340
mov al, 1
jmp 0x41ac50
cmp eax, 5
jne case.default.0x41aa7c
push edi
lea ecx, [esp + 0x70]
call fcn.00408060
push eax
lea ecx, [esp + 0x3c]
call fcn.0040b6c0
lea ecx, [esp + 0x38]
push ebp
push ecx
mov ecx, ebx
call fcn.00413340
mov al, 1
jmp 0x41ac50
cmp eax, 3
je 0x41ab3b
cmp eax, 4
jne case.default.0x41aa7c
push edi
lea ecx, [esp + 0x18]
call fcn.00408060
push eax
lea ecx, [esp + 0x44]
call fcn.0040b6c0
lea edx, [esp + 0x40]
push ebp
push edx
mov ecx, ebx
call fcn.00413340
mov al, 1
jmp 0x41ac50
cmp eax, 6
jne case.default.0x41aa7c
push edi
lea ecx, [esp + 0x1c]
call fcn.00408060
push eax
lea ecx, [esp + 0x4c]
call fcn.0040b6c0
lea eax, [esp + 0x48]
push ebp
push eax
mov ecx, ebx
call fcn.00413340
mov al, 1
jmp 0x41ac50
cmp eax, 6
jne case.default.0x41aa7c
mov eax, dword [edi + 4]
test eax, eax
je case.default.0x41aa7c
mov ecx, dword [edx + 0x10]
push ecx
push eax
call fcn.004036a0
add esp, 8
test al, al
je case.default.0x41aa7c
push edi
lea ecx, [esp + 0x20]
call fcn.00408060
push eax
lea ecx, [esp + 0x54]
call fcn.0040b6c0
lea edx, [esp + 0x50]
push ebp
push edx
mov ecx, ebx
call fcn.00413340
mov al, 1
jmp 0x41ac50
cmp eax, 2
jne case.default.0x41aa7c
push edi
lea ecx, [esp + 0x24]
call fcn.00408060
push eax
lea ecx, [esp + 0x5c]
call fcn.0040b6c0
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, ebx
call fcn.00413340
mov al, 1
jmp 0x41ac50
cmp eax, 2
jne case.default.0x41aa7c
mov eax, dword [edi + 4]
test eax, eax
je case.default.0x41aa7c
mov ecx, dword [edx + 0x10]
push ecx
push eax
call fcn.004094f0
add esp, 8
test al, al
je case.default.0x41aa7c
push edi
lea ecx, [esp + 0x28]
call fcn.00408060
push eax
lea ecx, [esp + 0x64]
call fcn.0040b6c0
lea edx, [esp + 0x60]
push ebp
push edx
mov ecx, ebx
call fcn.00413340
mov al, 1
jmp 0x41ac50
xor al, al
mov cl, byte [esp + 0x78]
test cl, al
jne 0x41ac9a
mov esi, dword [edi + 0x10]
test esi, esi
je 0x41ac9a
mov ecx, dword [esp + 0x10]
push ebp
push esi
push ebx
call fcn.00419b30
mov dl, byte [esp + 0x78]
test dl, al
jne 0x41ac9a
mov eax, dword [esi + 0x10]
test eax, eax
je 0x41ac7e
mov esi, eax
jmp 0x41ac96
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x41ac93
mov esi, dword [esi + 0xc]
cmp esi, edi
je 0x41ac9a
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41ac85
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x41ac5f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14