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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov edi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4d294c
mov al, byte [edx]
xor esi, esi
add ecx, edx
mov dword [esp + 0x28], edi
xor ebx, ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
inc esi
mov ecx, edx
mov dword [esp + 0x18], esi
mov byte [esp + 1], al
movzx eax, al
mov edi, eax
test bl, 1
je 0x4d28f8
cmp ecx, dword [esp + 8]
jne 0x4d2904
jmp 0x4d291b
mov ebx, dword [esp + 8]
sub ebx, ecx
cmp ebx, esi
jbe 0x4d291b
add ecx, esi
mov ebx, dword [esp + 0x18]
movzx edx, byte [ecx]
inc ecx
xor esi, esi
add ebx, ebx
lea edi, [edx + edi*2]
mov dword [esp + 0x18], ebx
mov bl, 1
jmp 0x4d28eb
mov ecx, dword [ebp + 8]
cmp ecx, 2
jae 0x4d2966
mov al, byte [esp + 1]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x78], 0x45bd3a
mov byte [esp + 0x48], al
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edx
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 4]
jmp 0x4d2bc9
mov dword [esp + 0x78], 0x4272f6
and dword [esp + 0x70], 0
mov dword [esp + 0x74], 1
jmp 0x4d2bc9
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + 1]
mov dl, byte [ecx + str.743210_._g]
cmp dl, byte [eax + str.743210_._g]
jae 0x4d298e
mov al, byte [esp + 1]
mov bl, 1
xor edx, edx
mov dword [esp + 0x14], 0
jmp 0x4d29a0
mov eax, ecx
mov cl, byte [esp + 1]
mov dword [esp + 0x14], 0
mov dl, 1
xor ebx, ebx
mov dword [esp + 0x38], edi
push 2
pop esi
mov dword [esp + 0xc], esi
mov esi, dword [esp + 4]
mov dword [esp + 0x24], 0xff
mov dword [esp + 0x10], 0
mov byte [esp + 2], dl
mov edx, ebx
mov byte [esp + 1], cl
movzx ecx, cl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x14]
movzx eax, al
mov dword [esp + 0x3c], eax
mov eax, esi
test byte [esp + 0x10], 1
mov ebx, ecx
je 0x4d2a0f
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4d2b14
xor edx, edx
cmp eax, dword [esp + 8]
setne cl
je 0x4d2b14
mov dl, cl
dec esi
lea ecx, [eax + edx]
add edx, ebx
jmp 0x4d2a41
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
cmp esi, edx
jbe 0x4d2b14
mov ecx, dword [esp + 8]
sub ecx, eax
cmp ecx, edx
jbe 0x4d2b14
mov ecx, edx
mov edi, ebx
add ebx, edx
not ecx
add esi, ecx
lea ecx, [eax + edx + 1]
add eax, edx
lea edx, [edx + edi + 1]
mov dword [esp + 0x20], ecx
test eax, eax
je 0x4d2b14
mov dword [esp + 0x14], edx
movzx edx, byte [eax]
mov edi, ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], esi
mov bl, byte [edx + str.743210_._g]
cmp bl, byte [eax + str.743210_._g]
jb 0x4d2ada
mov dword [esp + 0x40], edx
cmp dl, al
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov cl, 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ecx
mov eax, esi
mov ecx, edx
je 0x4d29e1
mov eax, dword [esp + 0x3c]
mov ecx, edx
cmp bl, byte [eax + str.743210_._g]
mov eax, esi
jae 0x4d29e1
xor ecx, ecx
cmp edi, 0x100
mov edx, 0x645a10
mov ebx, edi
setae cl
call fcn.0048e5b0
mov al, 1
mov dword [esp + 0xc], 0
mov byte [esp + 2], bl
mov dword [esp + 0x10], eax
mov eax, ebx
mov eax, dword [esp + 0x40]
jmp 0x4d29d4
xor ecx, ecx
cmp edi, 0x100
mov esi, edx
mov edx, 0x645a20
setae cl
call fcn.0048e5b0
mov al, 1
mov ecx, esi
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0xc], 0
mov ebx, edi
mov dword [esp + 0x10], eax
mov al, byte [esp + 1]
jmp 0x4d29bf
mov cl, byte [esp + 2]
mov eax, dword [esp + 0x1c]
cmp al, cl
mov byte [esp + 0x2c], cl
mov byte [esp + 3], al
je 0x4d2bfd
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x38]
movzx ecx, al
cmp ecx, edx
jae 0x4d2be4
mov eax, dword [esp + 4]
mov al, byte [eax + ecx]
movzx ebx, al
cmp byte [ebx + str.743210_._g], 0xfa
jbe 0x4d2b5c
and dword [esp + 0x2c], 0
mov ebx, dword [esp + 4]
jmp 0x4d2ba5
movzx edx, byte [esp + 2]
mov byte [esp + 8], al
cmp edx, dword [ebp + 8]
jae 0x4d2bee
mov edi, dword [esp + 4]
mov eax, edx
shl ebx, 0x10
mov dword [esp + 0x2c], 0x45c591
shl eax, 8
or ebx, eax
movzx eax, byte [edi + edx]
shl eax, 0x18
or eax, ebx
mov ebx, edi
or eax, ecx
mov dword [esp + 0x30], eax
mov al, byte [esp + 8]
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x35], al
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x48]
mov edx, ebx
push eax
push dword [esp + 0x1c]
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0042724d
mov ecx, esi
add esp, 0x10
mov edi, dword [esp + 0x28]
mov edx, ebx
and dword [edi + 0x38], 0
mov dword [edi + 0x3c], edx
mov dword [edi + 0x40], ecx
push 0xe
pop ecx
lea esi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x645aa8
call fcn.0043a050
mov ecx, edx
mov edx, dword [ebp + 8]
push 0x645a30
call fcn.0043a050
lea eax, [esp + 0x48]
lea esi, [esp + 0x2c]
lea edx, [esp + 3]
and dword [eax], 0
xor ecx, ecx
inc ecx
push 0x645a00
push eax
push esi
call fcn.004269d9