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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543c39
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x58ec74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], eax
mov esi, dword [edi + 0x3c]
cmp dword [esi + 0x40], ebx
jne 0x4aede4
cmp dword [edi + 0x24], 3
jne 0x4aede4
cmp dword [esi + 0x38], ebx
jne 0x4aede4
cmp dword [esi + 0x28], ebx
jne 0x4aede4
cmp dword [esi + 0x30], ebx
jne 0x4aede4
cmp dword [esi + 0x18], 2
jne 0x4aede4
push ebx
push dword [edi]
lea eax, [ebp - 0x40]
push eax
call fcn.004ad770
push str.Entry
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x50], 1
call fcn.00473220
push eax
push dword [esi]
mov ebx, 3
call fcn.00491990
add esp, 0x20
test al, al
jne 0x4aede4
mov eax, dword [edi + 0x30]
mov byte [ebp - 0x41], 0
cmp eax, dword [esi + 0xc]
je 0x4aede8
mov byte [ebp - 0x41], 1
test bl, 2
je 0x4aee36
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x4aee24
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aee1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aef8f
push edx
push ecx
call fcn.004f8f7d
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4aee88
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4aee76
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aee6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aef94
push edx
push ecx
call fcn.004f8f7d
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp byte [ebp - 0x41], 0
jne 0x4aef6f
mov esi, dword [esi + 0x1c]
cmp dword [esi + 0x24], 1
jne 0x4aef6f
cmp dword [esi + 0x1c], 1
jne 0x4aef6f
mov eax, dword [esi]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4aeeb5
mov ecx, dword [eax]
push 3
push 0x54d2f8
push dword [eax + 0x10]
push ecx
call fcn.0041a180
add esp, 0x10
test al, al
je 0x4aef6f
cmp dword [esi + 0x7c], 1
jne 0x4aef6f
cmp dword [esi + 0x74], 2
jne 0x4aef6f
mov eax, dword [esi + 0x58]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4aeef1
mov ecx, dword [eax]
push 5
push 0x557c1c
push dword [eax + 0x10]
push ecx
call fcn.0041a180
add esp, 0x10
test al, al
je 0x4aef6f
mov eax, dword [esi + 0x20]
dec eax
cmp eax, 0xd
ja case.0x4aef18.3
movzx eax, byte [eax + 0x4aefa8]
jmp dword [eax*4 + 0x4aef9c]
push str.Key_in_map_fields_cannot_be_enum_types.
mov ebx, dword [ebp - 0x48]
mov ecx, ebx
push 2
push dword [ebp - 0x4c]
push dword [edi + 4]
call fcn.00499660
jmp 0x4aef42
push str.Key_in_map_fields_cannot_be_float_double__bytes_or_message_types.
jmp 0x4aef24
mov ebx, dword [ebp - 0x48]
cmp dword [esi + 0x78], 0xe
jne 0x4aef6b
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 8], 0
je 0x4aef6b
push str.Enum_value_in_map_must_define_0_as_the_first_value.
push 2
push dword [ebp - 0x4c]
mov ecx, ebx
push dword [edi + 4]
call fcn.00499660
mov al, 1
jmp 0x4aef71
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8f3c
mov esp, ebp
pop ebp
ret 8
call fcn.00514793
call fcn.00514793
nop dword [eax]
cmp bh, ch
dec edx
add byte [edi], bl
out dx, eax
dec edx
add byte [edi], bh
out dx, eax
dec edx
add byte [eax], al
add byte [edx], al
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add byte [eax], al
add byte [edx], al
add esp, ecx
int3