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

Disassembly:
push 0xffffffffffffffff
push 0x10245898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
mov eax, dword [0x102fef40]
xor eax, esp
push ebp
push esi
mov esi, dword [esp + 0x108]
push edi
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x114]
mov edi, ecx
push 0x102768f0
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
call dword [0x1027639c]
mov ebp, dword [esp + 0x110]
mov edx, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
push ebp
push edx
mov ecx, edi
mov dword [esp + 0x110], 0
call fcn.004d2209
or edi, 0xffffffff
cmp eax, edi
je 0x4d2cfd
cmp ebp, eax
jl 0x4d2cfd
mov ecx, dword [esi]
push ebx
add ecx, eax
lea ebx, [eax + 2]
cmp ebp, ebx
mov dword [esi], ecx
mov edx, ecx
jae 0x4d2add
lea ecx, [esp + 0x40]
mov dword [esp + 0x108], edi
call dword [0x102763d4]
mov eax, edi
pop ebx
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xf0]
pop ebp
xor ecx, esp
call fcn.0049cbf9
add esp, 0xfc
ret 0xc
movsx eax, byte [edx]
movsx ecx, byte [edx + 1]
shl eax, 8
add ecx, eax
lea eax, [edx + 2]
lea edx, [ebx + 2]
cmp ebp, edx
mov dword [esi], eax
mov dword [esp + 0x10], ecx
jb 0x4d2aa1
movsx ecx, byte [eax]
movsx ebx, byte [eax + 1]
shl ecx, 8
add ecx, ebx
mov dword [esp + 0x1c], ecx
add eax, 2
lea ecx, [edx + 4]
cmp ebp, ecx
mov dword [esi], eax
jb 0x4d2aa1
movsx edx, byte [eax]
movsx ebx, byte [eax + 1]
shl edx, 8
add ebx, edx
movsx edx, byte [eax + 2]
shl ebx, 8
add ebx, edx
movsx edx, byte [eax + 3]
shl ebx, 8
add eax, 4
add ecx, 2
add ebx, edx
cmp ebp, ecx
mov dword [esi], eax
jb 0x4d2aa1
movsx edi, byte [eax]
movsx edx, byte [eax + 1]
shl edi, 8
add edi, edx
add ecx, edi
add eax, 2
cmp ebp, ecx
mov dword [esi], eax
mov dword [esp + 0x14], ecx
jb 0x4d2beb
xor ebp, ebp
test edi, edi
jle 0x4d2b6a
mov ebp, eax
add eax, edi
lea ecx, [esp + 0x78]
mov dword [esi], eax
call dword [0x102763d0]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x108], 1
call dword [0x102763d0]
test ebp, ebp
mov byte [esp + 0x108], 2
je 0x4d2cbb
cmp dword [esp + 0x1c], 1
jne 0x4d2cbb
mov esi, dword [esp + 0x10]
cmp esi, 5
jne 0x4d2c08
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
push edi
push ebp
call fcn.004d2209
cmp eax, 0xffffffff
jne 0x4d2c6f
lea ecx, [esp + 0x5c]
mov byte [esp + 0x108], 1
call dword [0x102763d4]
lea ecx, [esp + 0x78]
mov byte [esp + 0x108], 0
call dword [0x102763d4]
lea ecx, [esp + 0x40]
mov dword [esp + 0x108], 0xffffffff
call dword [0x102763d4]
or eax, 0xffffffff
jmp 0x4d2ab4
cmp esi, 1
jne 0x4d2c6f
cmp edi, 4
jne 0x4d2c6f
xor esi, esi
jmp 0x4d2c19
xor ecx, ecx
mov cl, byte [esi + ebp]
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.004872a9
add esp, 8
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x10c], 3
call dword [0x102763a4]
lea ecx, [esp + 0x24]
mov byte [esp + 0x108], 2
call dword [0x102763d4]
cmp esi, 3
jge 0x4d2c65
push 0x10277abc
lea ecx, [esp + 0x60]
call dword [0x10276394]
inc esi
cmp esi, 4
jl 0x4d2c19
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x60]
push ecx
push ebx
push 1
push esi
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0xac]
call fcn.004d1f19
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x10c], 4
call fcn.004d2909
lea ecx, [esp + 0x94]
mov byte [esp + 0x108], 2
call fcn.004d1fa9
lea ecx, [esp + 0x5c]
mov byte [esp + 0x108], 1
call dword [0x102763d4]
lea ecx, [esp + 0x78]
mov byte [esp + 0x108], 0
call dword [0x102763d4]
lea ecx, [esp + 0x40]
mov dword [esp + 0x108], 0xffffffff
call dword [0x102763d4]
mov eax, dword [esp + 0x14]
jmp 0x4d2ab4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x104], edi
call dword [0x102763d4]
mov eax, edi
jmp 0x4d2ab5