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

Disassembly:
sub esp, 0xc8
mov eax, dword [0x13c7f300]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push esi
mov esi, dword [esp + 0xd4]
xor ebx, ebx
push edi
cmp dword [esi + 0x30], ebx
jne 0x4d3ec1
mov eax, dword [esi + 0x3c]
push eax
call fcn.004cae60
add esp, 4
mov ecx, dword [esi]
mov eax, dword [esi + 0x40]
mov ecx, dword [ecx + 0x1a]
lea edx, [esp + 0x10]
push edx
push eax
call ecx
add esp, 8
mov edi, eax
cmp dword [esi + 0x30], ebx
jne 0x4d3ee7
mov edx, dword [esi + 0x3c]
push edx
call fcn.004cae80
add esp, 4
cmp edi, ebx
je 0x4d3f15
push edi
call fcn.004d98c0
push eax
call fcn.004d58f0
add esp, 8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call 0xad47ad
add esp, 0xc8
ret
mov eax, dword [esp + 0x70]
inc word [esi + 0x80]
mov ecx, eax
shr ecx, 2
and ecx, 1
mov edx, eax
mov dword [esi + 0x24], ecx
mov ecx, eax
mov dword [esi + 0x34], eax
shr edx, 1
shr eax, 8
and edx, 1
and ecx, 1
and eax, 1
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x12c], eax
mov dword [esi + 0x134], ebx
mov dword [esi + 0x138], ebx
cmp dword [esi + 0x130], ebx
je 0x4d3f66
mov dword [esi + 0x12c], ebx
push ebp
lea ebp, [esi + 0xf9]
mov edi, 0x1f
cmp byte [esp + edi + 0x14], 0x20
jne 0x4d3fa0
cmp byte [esp + edi + 0x13], 0x20
jne 0x4d3f95
cmp byte [esp + edi + 0x12], 0x20
jne 0x4d3f98
cmp byte [esp + edi + 0x11], 0x20
jne 0x4d3f9d
sub edi, 4
jns 0x4d3f72
jmp 0x4d3fa0
dec edi
jmp 0x4d3fa0
sub edi, 2
jmp 0x4d3fa0
sub edi, 3
inc edi
cmp ebp, ebx
jne 0x4d3fb7
lea edx, [edi + 1]
push edx
call fcn.004d5ea0
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x4d3fcd
cmp edi, ebx
je 0x4d3fca
push edi
lea eax, [esp + 0x18]
push eax
push ebp
call 0xad60c0
add esp, 0xc
mov byte [edi + ebp], bl
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x88]
mov dword [esi + 0x78], ecx
mov ecx, dword [esp + 0x68]
mov dword [esi + 0xa8], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0xac], ecx
mov ecx, dword [esi + 0x13c]
mov dword [esi + 0x7c], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xb0], edx
push ecx
mov dword [esi + 0xb4], eax
call fcn.004db800
add esp, 4
cmp dword [esi + 0x20], ebx
jne 0x4d4028
mov eax, 1
cmp dword [esp + 0x78], eax
je 0x4d402a
xor eax, eax
push esi
mov dword [esi + 0x2c], eax
call fcn.004d34e0
add esp, 4
cmp eax, ebx
jne 0x4d430a
mov eax, dword [esp + 0x78]
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
cmp eax, ebx
jne 0x4d405b
mov dword [esi + 0x5c], 0x320
jmp 0x4d406a
cmp eax, 0x14
jae 0x4d4065
mov dword [esi + 0x5c], ebx
jmp 0x4d406a
shr eax, 1
mov dword [esi + 0x5c], eax
cmp dword [esi + 0x38], ebx
lea ebp, [esi + 0x38]
jne 0x4d40e4
cmp dword [esi + 0x30], ebx
jne 0x4d4083
mov edx, dword [esi + 0x3c]
push edx
call fcn.004cae60
add esp, 4
mov edx, dword [esi + 0x2c]
mov eax, dword [esi]
neg edx
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x40]
sbb edx, edx
push 0x12c7e8e0
and edx, 2
or edx, 4
push esi
push edx
mov edx, dword [eax + 0x32]
push ecx
call edx
add esp, 0x14
mov edi, eax
cmp dword [esi + 0x30], ebx
jne 0x4d40bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004cae80
add esp, 4
cmp edi, ebx
je 0x4d40d8
push edi
call fcn.004d98c0
push eax
call fcn.004d58f0
add esp, 8
or eax, 0xffffffff
jmp 0x4d430a
mov ecx, dword [esp + 0x10]
mov dword [ebp], ecx
jmp 0x4d4191
cmp dword [esi + 0x30], ebx
jne 0x4d40f5
mov edx, dword [esi + 0x3c]
push edx
call fcn.004cae60
add esp, 4
mov eax, dword [esi]
mov edx, dword [ebp]
mov eax, dword [eax + 0x3e]
lea ecx, [esp + 0xb4]
push ecx
push edx
call eax
add esp, 8
cmp eax, 0x30
jne 0x4d4120
mov ecx, dword [esi]
mov edx, dword [ebp]
mov eax, dword [ecx + 0x36]
push edx
call eax
add esp, 4
jmp 0x4d412e
cmp eax, 0xb0
je 0x4d412e
cmp eax, 0xb3
jne 0x4d4180
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi]
mov eax, dword [esi + 0x40]
mov ecx, dword [ecx + 0x32]
neg edx
push ebp
sbb edx, edx
push 0x12c7e8e0
and edx, 2
push esi
or edx, 4
push edx
push eax
call ecx
add esp, 0x14
cmp eax, ebx
je 0x4d4180
push eax
call fcn.004d98c0
push eax
call fcn.004d58f0
add esp, 8
mov dword [ebp], ebx
cmp dword [esi + 0x30], ebx
jne 0x4d4178
mov edx, dword [esi + 0x3c]
push edx
call fcn.004cae80
add esp, 4
or eax, 0xffffffff
jmp 0x4d430a
cmp dword [esi + 0x30], ebx
jne 0x4d4191
mov eax, dword [esi + 0x3c]
push eax
call fcn.004cae80
add esp, 4
mov ecx, dword [esi + 0x13c]
push ecx
call fcn.004db850
add esp, 4
test eax, eax
jne 0x4d4178
cmp dword [esi + 0x14], ebx
jne 0x4d4295
cmp dword [esi + 0x28], ebx
je 0x4d4290
call fcn.004d3960
mov edi, eax
cmp edi, ebx
je 0x4d4290
mov edx, dword [esi + 0x3c]
push edx
call fcn.004cae60
mov eax, dword [esi]
mov edx, dword [ebp]
mov eax, dword [eax + 0x102]
push 0x20
lea ecx, [esp + 0xbc]
push ecx
push edx
call eax
mov ecx, dword [esi + 0x3c]
push ecx
mov ebx, eax
call fcn.004cae80
add esp, 0x14
test ebx, ebx
jne 0x4d4225
mov edx, dword [edi + 0x3c]
push edx
call fcn.004cae60
mov eax, dword [edi]
mov edx, dword [edi + 0x38]
mov eax, dword [eax + 0xfe]
push 0x20
lea ecx, [esp + 0xbc]
push ecx
push edx
call eax
mov ecx, dword [edi + 0x3c]
push ecx
call fcn.004cae80
add esp, 0x14
mov edx, dword [edi + 0x3c]
push edx
call fcn.004cae60
mov eax, dword [edi]
mov edx, dword [edi + 0x38]
mov eax, dword [eax + 0x102]
push 0x20
lea ecx, [esp + 0xbc]
push ecx
push edx
call eax
mov ecx, dword [edi + 0x3c]
push ecx
mov ebx, eax
call fcn.004cae80
add esp, 0x14
test ebx, ebx
jne 0x4d4285
mov edx, dword [esi + 0x3c]
push edx
call fcn.004cae60
mov eax, dword [esi]
mov edx, dword [ebp]
mov eax, dword [eax + 0xfe]
push 0x20
lea ecx, [esp + 0xbc]
push ecx
push edx
call eax
mov ecx, dword [esi + 0x3c]
push ecx
call fcn.004cae80
add esp, 0x14
push edi
call fcn.004d2e10
add esp, 4
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x4d4308
cmp dword [esi + 0x20], ebx
jne 0x4d4308
mov edx, dword [esi]
mov ecx, dword [esi + 0x40]
lea eax, [esp + 0x10]
push eax
push 0x12c7e8e0
push esi
mov dword [esp + 0x1c], ebx
mov edx, dword [edx + 0x32]
push 6
push ecx
call edx
add esp, 0x14
cmp eax, 0xe2
jne 0x4d42c9
mov dword [esi + 0x20], 1
jmp 0x4d4308
cmp eax, ebx
jne 0x4d4308
mov eax, dword [esi]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x3e]
lea ecx, [esp + 0xb4]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x4d42f9
test byte [esp + 0xbc], 2
jne 0x4d42f9
mov dword [esi + 0x20], 1
mov ecx, dword [esi]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + 0x36]
push edx
call eax
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xd4]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call 0xad47ad
add esp, 0xc8
ret