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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x88]
mov dword [esp], ecx
mov esi, edx
mov ecx, 0x10
mov edx, dword [ebp + 0xc]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
movsd xmm0, qword [ebx]
test ecx, ecx
mov dword [eax + 0x48], ecx
movsd qword [eax + 0x40], xmm0
mov dword [eax + 0x4c], edx
mov dword [esp + 4], ecx
je 0x4d9d9e
mov esi, dword [esp + 0xc8]
test byte [esi + 0x20], 0x3f
je 0x4d9e45
add esi, 0x20
lea eax, [esp + 0x34]
mov ebx, 2
xor ecx, ecx
lea edi, [esp + 0x68]
mov dword [eax], esi
lea esi, [esp + 0x50]
mov dword [eax + 4], fcn.004abe80
mov dword [eax + 8], 0x762c20
mov dword [eax + 0xc], fcn.004a3a90
mov dword [esi], 0x762c10
mov dword [esi + 4], ebx
mov dword [esi + 0x10], ecx
mov ecx, edi
mov edx, esi
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
call fcn.00499020
lea eax, [esp + 0x24]
xor ecx, ecx
mov dword [esi], 0x762aac
mov dword [esi + 4], ebx
lea edx, [esp + 0x50]
xor ebx, ebx
mov dword [esi + 0x10], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 1
lea esi, [esp + 0x34]
mov dword [eax], edi
mov dword [eax + 4], 0x4761f0
mov ecx, esi
call fcn.00499020
cmp dword [edi + 4], ebx
je 0x4d9d92
push dword [esp + 0x68]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [esp + 8]
mov edx, 0x15
push esi
jmp 0x4d9dd6
mov ecx, 0x2b
mov ebx, 0x2b
call fcn.0059c336
mov esi, eax
mov edi, edx
push ebx
push str.Malformed_directory__root_entry_is_missing_
push eax
call fcn.0064a810
add esp, 0xc
lea eax, [esp + 0x50]
lea ecx, [esp + 8]
mov edx, 0x15
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
push eax
call fcn.004a353b
add esp, 4
mov edi, dword [esp]
cmp byte [esp + 8], 4
je 0x4d9df0
mov eax, dword [esp + 8]
cmp al, 4
jne 0x4d9e06
lea esi, [esp + 0x88]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov byte [edi + 0x14], 2
lea edi, [esp + 0x88]
mov ecx, edi
call fcn.004dac23
mov esi, dword [edi + 0x40]
mov edx, dword [edi + 0x48]
mov ecx, esi
call fcn.004a3603
cmp dword [edi + 0x44], 0
je 0x4d9dfe
push esi
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x4d9dfe
movsd xmm0, qword [0x7f5258]
movsd xmm1, qword [0x7f5250]
mov ecx, 4
mov edx, 4
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x68], xmm1
mov al, byte [0x803894]
call fcn.004889b0
test eax, eax
je 0x4da357
mov ecx, eax
mov dword [eax], 0
lea eax, [esp + 0x10]
lea ebx, [esp + 0x68]
mov dword [esp + 0x1c], esi
mov dword [eax], ecx
mov dword [eax + 4], 1
lea eax, [esi + 0x48]
mov dword [esp + 0x4c], eax
xor eax, eax
inc eax
lea edi, [eax - 1]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x18], edi
mov esi, dword [ecx + eax*4 - 4]
mov ecx, ebx
mov edx, esi
call fcn.004a3633
test al, al
jne 0x4da066
mov ecx, ebx
mov edx, esi
call fcn.004a36fb
cmp dword [esp + 4], esi
jbe 0x4da342
test esi, esi
je 0x4d9ef9
mov edx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
shl eax, 4
mov cl, byte [edx + eax + 0x48]
dec cl
cmp cl, 2
jb 0x4d9f0a
jmp 0x4da0a3
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
cmp byte [eax], 3
jne 0x4da27c
lea eax, [esi + esi*4]
mov ecx, dword [esp + 0x30]
mov esi, edx
shl eax, 4
mov ebx, dword [edx + eax + 0x28]
mov dword [esp + 0x20], eax
cmp ebx, 0xffffffff
mov dword [esp + 0x7c], ebx
je 0x4d9f70
cmp ebx, dword [esp + 4]
jae 0x4da0d1
lea edi, [ebx + ebx*4]
shl edi, 4
mov ecx, dword [esi + edi + 0x3c]
mov edx, dword [esi + edi + 0x44]
push dword [esi + eax + 0x44]
push dword [esi + eax + 0x3c]
call fcn.004a3852
add esp, 8
cmp al, 0xff
jne 0x4da100
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x78]
mov dword [ecx + eax*4 - 4], ebx
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x18], edi
mov ebx, dword [esi + eax + 0x2c]
cmp ebx, 0xffffffff
mov dword [esp + 0x80], ebx
je 0x4d9fed
cmp ebx, dword [esp + 4]
jae 0x4da11f
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + eax + 0x3c]
mov edx, dword [esi + eax + 0x44]
mov eax, esi
lea esi, [ebx + ebx*4]
shl esi, 4
push dword [eax + esi + 0x44]
push dword [eax + esi + 0x3c]
call fcn.004a3852
add esp, 8
cmp al, 0xff
jne 0x4da151
cmp edi, dword [esp + 0x14]
jne 0x4d9fd5
lea ecx, [esp + 0x10]
mov edx, edi
call fcn.00489c4e
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x4d9fdd
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov dword [ecx + edi*4], ebx
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x18], edi
mov esi, dword [esi + eax + 0x30]
lea ebx, [esp + 0x68]
cmp esi, 0xffffffff
mov dword [esp + 0x84], esi
je 0x4da02c
cmp esi, dword [esp + 4]
jae 0x4da1e3
cmp edi, dword [esp + 0x14]
jne 0x4da020
lea ecx, [esp + 0x10]
mov edx, edi
call fcn.00489c4e
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ecx + edi*4], esi
inc edi
mov dword [esp + 0x18], edi
test edi, edi
mov eax, edi
jne 0x4d9ea4
cmp dword [esp + 0x14], 0
mov byte [esp + 8], 4
je 0x4da054
push dword [esp + 0x10]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
call fcn.005c4ff8
jmp 0x4d9dde
mov ecx, 0x22
mov ebx, 0x22
call fcn.0059c336
mov esi, eax
mov edi, edx
push ebx
push str.Malformed_directory__loop_in_tree_root_stream_len_is___but_should_be_multiple_of
push eax
call fcn.0064a810
add esp, 0xc
lea eax, [esp + 0x50]
lea ecx, [esp + 8]
mov edx, 0x15
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
push eax
jmp 0x4da30c
xor ebx, ebx
lea eax, [edx + eax + 0x48]
lea ecx, [esp + 0x24]
lea esi, [esp + 0x50]
mov dword [ecx], eax
inc ebx
xor eax, eax
mov dword [esi], str.non_root_entry_with_object_type
mov dword [ecx + 4], 0x4db07d
mov dword [esi + 4], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 8], ecx
jmp 0x4da2a5
mov eax, dword [esp + 4]
lea esi, [esp + 0x7c]
lea ecx, [esp + 0x34]
lea ebx, [esp + 0x44]
mov edx, fcn.004a3a90
mov dword [ecx], esi
lea esi, [esp + 0x50]
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
mov dword [esi], str.left_sibling_index_is
jmp 0x4da210
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x34]
lea eax, [esi + edi + 0x3c]
lea ecx, [esi + ecx + 0x3c]
mov esi, 0x4367c0
mov dword [edx], ecx
mov dword [edx + 4], esi
mov dword [edx + 8], eax
jmp 0x4da172
mov eax, dword [esp + 4]
lea esi, [esp + 0x80]
lea ecx, [esp + 0x34]
lea ebx, [esp + 0x44]
mov edx, fcn.004a3a90
mov dword [ecx], esi
lea esi, [esp + 0x50]
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
mov dword [esi], str.right_sibling_index_is
jmp 0x4da210
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x34]
lea eax, [ecx + eax + 0x3c]
lea ecx, [ecx + esi + 0x3c]
mov esi, 0x4367c0
mov dword [edx], eax
mov dword [edx + 4], esi
mov dword [edx + 8], ecx
mov dword [edx + 0xc], esi
lea esi, [esp + 0x50]
lea edi, [esp + 0x24]
mov ebx, 2
xor eax, eax
mov dword [esi], str.name_ordering___vs
mov dword [esi + 4], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 8], edx
mov ecx, edi
mov edx, esi
mov dword [esi + 0xc], ebx
call fcn.00499020
lea eax, [esp + 0x44]
xor ecx, ecx
mov dword [esi], 0x762aac
mov dword [esi + 4], ebx
lea edx, [esp + 0x50]
xor ebx, ebx
mov dword [esi + 0x10], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 1
lea esi, [esp + 0x34]
mov dword [eax], edi
mov dword [eax + 4], 0x4761f0
mov ecx, esi
call fcn.00499020
cmp dword [edi + 4], ebx
jne 0x4da276
jmp 0x4da302
mov eax, dword [esp + 4]
lea esi, [esp + 0x84]
lea ecx, [esp + 0x34]
lea ebx, [esp + 0x44]
mov edx, fcn.004a3a90
mov dword [ecx], esi
lea esi, [esp + 0x50]
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
mov dword [esi], str.child_index_is___but_directory_entry_count_is
mov dword [ebx], eax
mov edx, 2
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, edi
mov edx, esi
call fcn.00499020
mov eax, 2
mov dword [esi], 0x762aac
lea edx, [esp + 0x50]
mov dword [ebx], edi
mov dword [ebx + 4], 0x4761f0
xor edi, edi
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 1
lea esi, [esp + 0x34]
mov ecx, esi
call fcn.00499020
lea eax, [esp + 0x24]
cmp dword [eax + 4], edi
je 0x4da302
push dword [esp + 0x24]
jmp 0x4da2f4
mov ecx, dword [esp + 0x4c]
xor ebx, ebx
lea eax, [esp + 0x24]
lea esi, [esp + 0x50]
inc ebx
mov dword [esi], str.root_entry_has_object_type
mov dword [esi + 4], ebx
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], 0x4db07d
mov dword [esi + 0x10], ecx
mov dword [esi + 8], eax
lea edi, [esp + 0x34]
mov edx, esi
mov dword [esi + 0xc], ebx
mov ecx, edi
call fcn.00499020
lea eax, [esp + 0x44]
xor ecx, ecx
mov dword [esi], 0x762aac
mov dword [esi + 4], 2
lea edx, [esp + 0x50]
mov dword [esi + 0x10], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
lea esi, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], 0x4761f0
mov ecx, esi
call fcn.00499020
xor eax, eax
cmp dword [edi + 4], eax
je 0x4da302
push dword [esp + 0x34]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [esp + 8]
mov edx, 0x15
push esi
call fcn.004a353b
add esp, 4
mov edi, dword [esp]
cmp dword [esp + 0x14], 0
je 0x4da330
push dword [esp + 0x10]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
call fcn.005c4ff8
jmp 0x4d9de1
mov edx, dword [esp + 4]
mov ecx, esi
push 0x762c50
call fcn.006521f0
add esp, 4
ud2
mov ecx, 4
mov edx, 4
call fcn.00651860
ud2