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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
mov ecx, dword [edx + 0xcc]
test ecx, ecx
je 0x4ca0aa
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
js 0x4ca0a9
movsx eax, word [edx + 0x2a]
cmp ebx, eax
jge 0x4ca0a9
imul ebx, ebx, 0xf0
add ebx, ecx
cmp dword [ebx + 0xcc], 0
je 0x4ca0a9
cmp dword [edx + 0xc8], 0
je 0x4ca0a9
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
js 0x4ca0a8
movsx eax, word [edx + 0x24]
cmp esi, eax
jge 0x4ca0a8
xor ecx, ecx
mov dword [ebp - 4], ecx
test eax, eax
jle 0x4ca0a8
xor eax, eax
push edi
mov di, word [ebp + 0x14]
mov dword [ebp - 8], eax
mov edx, dword [edx + 0xc8]
add edx, eax
movzx eax, byte [edx + 1]
cmp eax, esi
jne 0x4ca08a
movsx esi, word [ebx + 0x18]
xor eax, eax
test esi, esi
jle 0x4ca087
mov ecx, dword [ebx + 0xcc]
cmp byte [ecx], 0
je 0x4c9f13
cmp word [ecx + 4], di
je 0x4c9f13
inc eax
add ecx, 0x94
cmp eax, esi
jl 0x4c9ef8
jmp 0x4ca084
mov byte [ecx], 1
mov word [ecx + 4], di
movzx eax, byte [edx + 1]
mov byte [ecx + 1], al
movzx eax, byte [edx + 2]
mov byte [ecx + 2], al
movzx eax, word [edx + 6]
mov word [ecx + 6], ax
movzx eax, byte [edx + 8]
mov byte [ecx + 8], al
movzx eax, byte [edx + 9]
mov byte [ecx + 9], al
movzx eax, byte [edx + 0xa]
mov byte [ecx + 0xa], al
movzx eax, byte [edx + 0xb]
mov byte [ecx + 0xb], al
movzx eax, byte [ecx + 8]
mov byte [ecx + 0xc], al
movzx eax, byte [ecx + 9]
mov byte [ecx + 0xd], al
movzx eax, byte [ecx + 0xa]
mov byte [ecx + 0xe], al
movzx eax, byte [ecx + 0xb]
mov byte [ecx + 0xf], al
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
movzx eax, word [edx + 0x24]
mov word [ecx + 0x24], ax
movzx eax, word [edx + 0x26]
mov word [ecx + 0x26], ax
movzx eax, word [edx + 0x20]
mov word [ecx + 0x20], ax
movzx eax, word [edx + 0x22]
mov word [ecx + 0x22], ax
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [ecx + 0x30]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x34]
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [edx + 0x44]
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x38], 0x3f800000
mov dword [ecx + 0x3c], 0x3f800000
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x54], 0x3f800000
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0x3f800000
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0x3f800000
movzx eax, word [edx + 0x4c]
mov word [ecx + 0x4c], ax
movzx eax, word [edx + 0x4e]
mov word [ecx + 0x4e], ax
movzx eax, word [edx + 0x50]
mov word [ecx + 0x50], ax
movzx eax, word [edx + 0x52]
mov word [ecx + 0x52], ax
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x78], eax
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x7c], eax
mov eax, dword [edx + 0x80]
mov dword [ecx + 0x80], eax
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x84], eax
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x88], eax
mov eax, dword [edx + 0x8c]
mov dword [ecx + 0x8c], eax
mov eax, dword [edx + 0x90]
mov dword [ecx + 0x90], eax
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
add dword [ebp - 8], 0x94
movsx eax, word [edx + 0x24]
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
jl 0x4c9ed0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret