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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x40]
push 0
push 0x526be0
push 0x526eb0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x8c]
push 0
push edi
mov dword [esp + 0x50], eax
mov dword [esp + 0xdc], 5
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x4d38b1
mov edi, dword [eax + 0x30]
mov dword [ebp + 8], edi
mov eax, dword [edi]
mov ecx, edi
mov esi, str.Object
call dword [eax + 0x20]
nop dword [eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4d38e6
test cx, cx
je 0x4d38e2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4d38e6
add eax, 4
add esi, 4
test cx, cx
jne 0x4d38c0
xor eax, eax
jmp 0x4d38eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d3a71
mov eax, dword [edi]
mov ecx, edi
mov esi, str.Array
call dword [eax + 0x20]
nop
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4d3926
test cx, cx
je 0x4d3922
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4d3926
add eax, 4
add esi, 4
test cx, cx
jne 0x4d3900
xor eax, eax
jmp 0x4d392b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d3a71
mov eax, dword [edi]
mov ecx, edi
mov esi, 0x5067ac
call dword [eax + 0x20]
nop
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4d3966
test cx, cx
je 0x4d3962
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4d3966
add eax, 4
add esi, 4
test cx, cx
jne 0x4d3940
xor eax, eax
jmp 0x4d396b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d3a71
mov eax, dword [edi]
mov ecx, edi
mov esi, str.Buffer
call dword [eax + 0x20]
nop
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4d39a6
test cx, cx
je 0x4d39a2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4d39a6
add eax, 4
add esi, 4
test cx, cx
jne 0x4d3980
xor eax, eax
jmp 0x4d39ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d3a71
mov eax, dword [edi]
mov ecx, edi
mov esi, str.Struct
call dword [eax + 0x20]
nop
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4d39e6
test cx, cx
je 0x4d39e2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4d39e6
add eax, 4
add esi, 4
test cx, cx
jne 0x4d39c0
xor eax, eax
jmp 0x4d39eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d3a71
mov eax, dword [edi]
mov ecx, edi
mov esi, str.ComValue
call dword [eax + 0x20]
nop
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4d3a26
test cx, cx
je 0x4d3a22
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4d3a26
add eax, 4
add esi, 4
test cx, cx
jne 0x4d3a00
xor eax, eax
jmp 0x4d3a2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d3a71
mov ecx, dword fs:[0x2c]
mov ebx, dword [0x62271c]
mov eax, dword [ecx + ebx*4]
cmp byte [eax + 0x2198], 0
jne 0x4d3a54
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + ebx*4]
mov ecx, edi
mov esi, dword [eax + 0x298]
mov eax, dword [edi]
call dword [eax + 0x20]
push eax
push str.Type_mismatch.
mov ecx, esi
call fcn.0046cf30
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov edi, 9
mov dword [esp + 0x18], 0x4f5b70
mov esi, str.Buffer
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x28], 0x4f5b70
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], 1
mov eax, dword [ecx]
call dword [eax + 0x20]
nop dword [eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4d3ad6
test cx, cx
je 0x4d3ad2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4d3ad6
add eax, 4
add esi, 4
test cx, cx
jne 0x4d3ab0
xor eax, eax
jmp 0x4d3adb
sbb eax, eax
or eax, 1
mov ecx, dword [ebp + 8]
test eax, eax
jne 0x4d3b19
push 0
push 0
lea edx, [esp + 0xc8]
mov dword [esp + 0xc8], ecx
mov eax, dword [ecx]
push edx
push str.size
push 0
lea edx, [esp + 0x2c]
push edx
call dword [eax + 0x1c]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add edi, 9
adc ebx, 0
jmp 0x4d3be7
mov eax, dword [ecx]
mov esi, str.ComValue
call dword [eax + 0x20]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4d3b49
test cx, cx
je 0x4d3b45
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4d3b49
add eax, 4
add esi, 4
test cx, cx
jne 0x4d3b23
xor eax, eax
jmp 0x4d3b4e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4d3be7
push eax
push 0x526f48
push 0x526eb0
push eax
push dword [ebp + 8]
call sub.VCRUNTIME140.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4d3b83
movzx eax, word [esi + 0x14]
mov ecx, eax
cmp eax, 9
jb 0x4d3bc4
cmp eax, 0x18
jb 0x4d3bd8
mov ecx, dword fs:[0x2c]
mov ebx, dword [0x62271c]
mov eax, dword [ecx + ebx*4]
cmp byte [eax + 0x2198], 0
jne 0x4d3ba8
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + ebx*4]
push str.Only_following_values_are_supported_VT_EMPTY_NULL_BOOL_I2_I4_R4_R8_CY_DATE_BSTR_I1_UI1_UI2_UI4_I8_UI8_INT_UINT
push str.Type_mismatch.
mov ecx, dword [ecx + 0x298]
call fcn.0046cf30
movzx ecx, word [esi + 0x14]
cmp cx, 8
jne 0x4d3bd8
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
add eax, 2
jmp 0x4d3bdd
mov eax, 8
lea edi, [eax + 1]
xor ebx, ebx
add edi, 9
adc ebx, ebx
mov ecx, dword [ebp + 0xc]
mov esi, dword [0x62271c]
mov eax, dword [ebp + 8]
mov dword [esp + 0xc0], ecx
mov ecx, dword fs:[0x2c]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe8], 5
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x2198], 0
jne 0x4d3c2b
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + esi*4]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0x1000102
cmp byte [eax + 0x2198], 0
mov dword [esp + 0x7c], 0x4f5b70
mov dword [esp + 0x6c], 0x4f5b70
jne 0x4d3c64
call fcn.004ebad3
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x38]
mov esi, dword [ebp + 8]
push 1
push edx
mov eax, dword [ecx]
lea edx, [esp + 0xc8]
push edx
push 0x50616c
push 2
lea edx, [esp + 0x2c]
mov dword [esp + 0xc0], 0
push edx
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0x1000102
mov dword [esp + 0xd0], 0x4f5b70
mov dword [esp + 0xc0], 0x4f5b70
mov dword [esp + 0x60], 5
mov dword [esp + 0x58], esi
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0x4f5b70
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x40], 0x4f5b70
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 1
call dword [eax + 0x1c]
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
jne 0x4d3d7f
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x38]
push 2
push edx
lea edx, [esp + 0xc8]
mov dword [esp + 0x90], eax
push edx
push 0
mov dword [esp + 0x94], eax
lea edx, [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
push 1
push edx
mov dword [esp + 0x60], 5
mov dword [esp + 0x58], esi
mov dword [esp + 0x98], 0x4f5b70
mov dword [esp + 0x30], 0x4f5b70
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x40], 0x4f5b70
mov dword [esp + 0x4c], 1
call dword [eax + 0x1c]
mov ecx, dword [ebp + 8]
mov esi, str.ComValue
mov eax, dword [ecx]
call dword [eax + 0x20]
nop dword [eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4d3db6
test cx, cx
je 0x4d3db2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4d3db6
add eax, 4
add esi, 4
test cx, cx
jne 0x4d3d90
xor eax, eax
jmp 0x4d3dbb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d4608
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x64]
mov dword [esp + 0x40], eax
mov esi, str.Buffer
lea eax, [esp + 0xa0]
mov dword [esp + 0x48], 4
mov dword [esp + 0x44], 1
mov dword [esp + 0x88], 4
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 1
mov eax, dword [ecx]
call dword [eax + 0x20]
nop dword [eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4d3e36
test cx, cx
je 0x4d3e32
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4d3e36
add eax, 4
add esi, 4
test cx, cx
jne 0x4d3e10
xor eax, eax
jmp 0x4d3e3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d420a
mov ecx, dword [ebp + 8]
mov esi, str.Object
mov eax, dword [ecx]
call dword [eax + 0x20]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4d3e76
test cx, cx
je 0x4d3e72
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4d3e76
add eax, 4
add esi, 4
test cx, cx
jne 0x4d3e50
xor eax, eax
jmp 0x4d3e7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d420a
mov ecx, dword [ebp + 8]
mov esi, str.ComValue
mov eax, dword [ecx]
call dword [eax + 0x20]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x4d3eb6
test cx, cx
je 0x4d3eb2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x4d3eb6
add eax, 4
add esi, 4
test cx, cx
jne 0x4d3e90
xor eax, eax
jmp 0x4d3ebb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d420a
push 0
push 2
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004d0f70
add esp, 0x10
cmp eax, 1
je 0x4d3eec
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 2
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x1c]
call fcn.004cb930
add esp, 0x10
cmp eax, 3
jne 0x4d4200
nop word [eax + eax]
lea eax, [esp + 0x40]
push eax
call fcn.004a2dd0
mov esi, eax
add esp, 4
test esi, esi
je 0x4d3fa3
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x38]
push 1
push edx
lea edx, [esp + 0xc8]
mov dword [esp + 0xc8], ecx
mov eax, dword [ecx]
push edx
push 0x50616c
push 2
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], 0
push edx
mov dword [esp + 0x30], 0x4f5b70
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x40], 0x4f5b70
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 1
call dword [eax + 0x1c]
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
je 0x4d3f90
add edi, 9
jmp 0x4d3fd3
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call fcn.004d3860
add esp, 8
add edi, eax
adc ebx, edx
jmp 0x4d3fd6
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x68]
call fcn.00428610
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4d406c
mov eax, dword [esp + 0x44]
test eax, eax
lea eax, [eax*2 + 0xb]
jne 0x4d3fd1
mov eax, 9
add edi, eax
adc ebx, 0
lea eax, [esp + 0x80]
push eax
call fcn.004a2dd0
mov esi, eax
add esp, 4
test esi, esi
je 0x4d412e
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x38]
push 1
push edx
lea edx, [esp + 0xc8]
mov dword [esp + 0x50], 5
mov eax, dword [ecx]
push edx
push 0x50616c
push 2
lea edx, [esp + 0x2c]
mov dword [esp + 0x54], esi
push edx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0x4f5b70
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x40], 0x4f5b70
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 1
call dword [eax + 0x1c]
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
je 0x4d411b
add edi, 9
jmp 0x4d416a
cmp eax, 2
je 0x4d3fcc
lea eax, [esp + 0x40]
push eax
call fcn.004a2d80
add esp, 4
test edx, edx
jg 0x4d3fcc
jl 0x4d40c3
cmp eax, 0xffffffff
ja 0x4d3fcc
test edx, edx
jl 0x4d40c3
jg 0x4d4111
cmp eax, 0xffff
jbe 0x4d40ac
mov eax, 5
jmp 0x4d3fd1
test edx, edx
jl 0x4d40c3
jg 0x4d40f1
cmp eax, 0xff
jbe 0x4d40c3
mov eax, 3
jmp 0x4d3fd1
cmp edx, 0xffffffff
jl 0x4d3fcc
jg 0x4d40d5
cmp eax, 0xffffff7f
jbe 0x4d40df
mov eax, 2
jmp 0x4d3fd1
cmp edx, 0xffffffff
jl 0x4d3fcc
jg 0x4d40f1
cmp eax, 0xffff7fff
jbe 0x4d40fb
mov eax, 3
jmp 0x4d3fd1
cmp edx, 0xffffffff
jl 0x4d3fcc
jg 0x4d4111
cmp eax, 0x80000000
jb 0x4d3fcc
mov eax, 5
jmp 0x4d3fd1
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call fcn.004d3860
add esp, 8
add edi, eax
adc ebx, edx
jmp 0x4d416d
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x80]
push eax
call fcn.00428610
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x4d42ad
mov eax, dword [esp + 0x84]
test eax, eax
lea eax, [eax*2 + 0xb]
jne 0x4d4168
mov eax, 9
add edi, eax
adc ebx, 0
mov al, byte [esp + 0x79]
test al, 0x40
je 0x4d4185
and al, 0xb7
mov byte [esp + 0x79], al
mov eax, dword [esp + 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov al, byte [esp + 0xb5]
test al, 0x40
je 0x4d41a6
and al, 0xb7
mov byte [esp + 0xb5], al
mov eax, dword [esp + 0xa0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [esp + 0x64]
mov dword [esp + 0x48], 4
mov dword [esp + 0x40], eax
lea eax, [esp + 0xa0]
push 0
mov dword [esp + 0x84], eax
lea eax, [esp + 0x3c]
push 2
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x54], 1
mov dword [esp + 0x98], 4
mov dword [esp + 0x94], 1
call fcn.004cb930
add esp, 0x10
cmp eax, 3
je 0x4d3f10
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xc0]
push 0
push 0
push edx
push str.OwnProps
mov dword [esp + 0x30], 0
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0x4f5b70
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x38], 0x4f5b70
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 1
mov dword [esp + 0xd0], ecx
mov eax, dword [ecx]
push 2
push edx
call dword [eax + 0x1c]
cmp dword [esp + 0x20], 5
jne 0x4d45eb
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x38]
push 0
push 2
push eax
push esi
mov dword [esp + 0xcc], esi
call fcn.004cb930
add esp, 0x10
cmp eax, 3
jne 0x4d45e5
cmp byte [esp + 0x7b], 0
jne 0x4d435f
mov ecx, dword [esp + 0x70]
call fcn.00422af0
mov esi, eax
jmp 0x4d4363
cmp eax, 2
je 0x4d4163
lea eax, [esp + 0x80]
push eax
call fcn.004a2d80
add esp, 4
test edx, edx
jg 0x4d4163
jl 0x4d4307
cmp eax, 0xffffffff
ja 0x4d4163
test edx, edx
jl 0x4d4307
jg 0x4d4355
cmp eax, 0xffff
jbe 0x4d42f0
mov eax, 5
jmp 0x4d4168
test edx, edx
jl 0x4d4307
jg 0x4d4335
cmp eax, 0xff
jbe 0x4d4307
mov eax, 3
jmp 0x4d4168
cmp edx, 0xffffffff
jl 0x4d4163
jg 0x4d4319
cmp eax, 0xffffff7f
jbe 0x4d4323
mov eax, 2
jmp 0x4d4168
cmp edx, 0xffffffff
jl 0x4d4163
jg 0x4d4335
cmp eax, 0xffff7fff
jbe 0x4d433f
mov eax, 3
jmp 0x4d4168
cmp edx, 0xffffffff
jl 0x4d4163
jg 0x4d4355
cmp eax, 0x80000000
jb 0x4d4163
mov eax, 5
jmp 0x4d4168
lea esi, [esp + 0x64]
movzx eax, byte [esi + 0x15]
and eax, 0x70
cmp eax, 0x10
je 0x4d4443
cmp eax, 0x20
je 0x4d442b
cmp eax, 0x40
je 0x4d441b
mov cl, byte [esi + 0x17]
mov byte [esp + 0x17], cl
test cl, cl
jne 0x4d43a2
mov ecx, dword [esi + 0xc]
call fcn.00422af0
mov cl, byte [esp + 0x17]
mov dword [esp + 0x10], eax
jmp 0x4d43a8
mov eax, esi
mov dword [esp + 0x10], esi
test byte [eax + 0x15], 1
je 0x4d43bc
mov ecx, eax
call fcn.00422b10
mov cl, byte [esi + 0x17]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
shr eax, 1
mov dword [esp + 0x10], eax
test cl, cl
jne 0x4d43e4
mov ecx, dword [esi + 0xc]
push 1
call fcn.00422310
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], 0
jmp 0x4d4450
test byte [esi + 0x15], 1
je 0x4d43f4
mov ecx, esi
call fcn.00422b10
mov cl, byte [esi + 0x17]
cmp cl, 3
jne 0x4d440a
cmp byte [esi + 0x15], 0
jl 0x4d440a
mov ecx, esi
call fcn.004e7e30
and byte [esi + 0x15], 0x7f
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], 0
jmp 0x4d4450
mov eax, dword [esi]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x48], 5
jmp 0x4d4454
movsd xmm0, qword [esi]
movsd qword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x48], 2
jmp 0x4d4458
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x48], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
test ecx, ecx
lea ecx, [ecx*2 + 0xb]
jne 0x4d4468
mov ecx, 9
add edi, ecx
lea eax, [esp + 0x80]
push eax
adc ebx, 0
call fcn.004a2dd0
mov esi, eax
add esp, 4
test esi, esi
je 0x4d450f
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x38]
push 1
push edx
lea edx, [esp + 0xc8]
mov dword [esp + 0x50], 5
mov eax, dword [ecx]
push edx
push 0x50616c
push 2
lea edx, [esp + 0x2c]
mov dword [esp + 0x54], esi
push edx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0x4f5b70
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x40], 0x4f5b70
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 1
call dword [eax + 0x1c]
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
je 0x4d44fc
add edi, 9
jmp 0x4d454b
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call fcn.004d3860
add esp, 8
add edi, eax
adc ebx, edx
jmp 0x4d454e
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x80]
push eax
call fcn.00428610
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x4d4613
mov eax, dword [esp + 0x84]
test eax, eax
lea eax, [eax*2 + 0xb]
jne 0x4d4549
mov eax, 9
add edi, eax
adc ebx, 0
mov al, byte [esp + 0x79]
test al, 0x40
je 0x4d4566
and al, 0xb7
mov byte [esp + 0x79], al
mov eax, dword [esp + 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov al, byte [esp + 0xb5]
test al, 0x40
je 0x4d4587
and al, 0xb7
mov byte [esp + 0xb5], al
mov eax, dword [esp + 0xa0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [esp + 0xbc]
lea eax, [esp + 0x64]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xa0]
push 0
mov dword [esp + 0x84], eax
lea eax, [esp + 0x3c]
push 2
push eax
push esi
mov dword [esp + 0x58], 4
mov dword [esp + 0x54], 2
mov dword [esp + 0x98], 4
mov dword [esp + 0x94], 2
call fcn.004cb930
add esp, 0x10
cmp eax, 3
je 0x4d4292
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0
push 0
lea ecx, [esp + 0x6c]
call fcn.004e7620
push 0
push 0
lea ecx, [esp + 0xa8]
call fcn.004e7620
mov eax, edi
mov edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x4d4544
lea eax, [esp + 0x80]
push eax
call fcn.004a2d80
add esp, 4
test edx, edx
jg 0x4d4544
jl 0x4d466d
cmp eax, 0xffffffff
ja 0x4d4544
test edx, edx
jl 0x4d466d
jg 0x4d46bb
cmp eax, 0xffff
jbe 0x4d4656
mov eax, 5
jmp 0x4d4549
test edx, edx
jl 0x4d466d
jg 0x4d469b
cmp eax, 0xff
jbe 0x4d466d
mov eax, 3
jmp 0x4d4549
cmp edx, 0xffffffff
jl 0x4d4544
jg 0x4d467f
cmp eax, 0xffffff7f
jbe 0x4d4689
mov eax, 2
jmp 0x4d4549
cmp edx, 0xffffffff
jl 0x4d4544
jg 0x4d469b
cmp eax, 0xffff7fff
jbe 0x4d46a5
mov eax, 3
jmp 0x4d4549
cmp edx, 0xffffffff
jl 0x4d4544
jg 0x4d46bb
cmp eax, 0x80000000
jb 0x4d4544
mov eax, 5
jmp 0x4d4549